LuizStSantos 3df75889e6
Translation into pt-BR "Brazilian Portuguese" (#111)
* pt-BR translation

* Update pt-BR.js

* Update pt-BR.js

* Update pt-BR.js

Translation into pt-BR "Brazilian Portuguese"

* Update pt-BR.js

* Update nuxt.config.ts

Addiction pt-BR

* Update nuxt.config.ts

* Update nuxt.config.ts

* Update pt-BR.js
2024-04-17 12:10:23 +02:00
..
2024-04-16 14:07:50 +02:00
2024-04-11 21:34:03 +02:00

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>,
        },

    ...