* Update pt-BR.js 2.0 Correction of grammatical errors, and adjustment of configuration help. * Update nuxt.config.ts 2.0 Correction of grammatical error and redefinition of Portuguese to Portuguese BR, to separate it from Portuguese Portugal in the future. * Update pt-BR.js 2.0 Grammatical error and correction * Update pt-BR.js * Update pt-BR.js * Update pt-BR.js
Add Language
You are very welcome to add more languages! Just copy en-US.js to the correct target Country code and modify the content.
When you are done with the translation add the filename to nuxt.config.ts, in section:
i18n: {
locales: [
{
code: 'de',
name: 'Deutsch',
file: 'de-DE.js',
},
{
code: 'en',
name: 'English',
file: 'en-US.js',
},
+ {
+ code: '<SHORT CODE>',
+ name: '<NAME>',
+ file: '<CODE>.js',
+ },
],
...
And also add the new link paths:
i18n: {
locales: [...],
...
pages: {
'player': {
de: '/wiedergabe',
en: '/player',
+ <CODE>: /<PATH>,
},
...