File tree Expand file tree Collapse file tree 4 files changed +851
-0
lines changed
Expand file tree Collapse file tree 4 files changed +851
-0
lines changed Original file line number Diff line number Diff line change 2525! /frontends /web /src /locales /ja /
2626! /frontends /web /src /locales /ru /
2727! /frontends /web /src /locales /ms /
28+ ! /frontends /web /src /locales /pt /
Original file line number Diff line number Diff line change @@ -31,6 +31,7 @@ export default class LanguageSwitcher extends Component {
3131 { code : 'en' , display : 'English' } ,
3232 { code : 'ja' , display : '日本語' } ,
3333 { code : 'ms' , display : 'Bahasa Melayu' } ,
34+ { code : 'pt' , display : 'Português' } ,
3435 { code : 'ru' , display : 'Русский' } ,
3536 ] ;
3637 if ( extraLanguages ) {
Original file line number Diff line number Diff line change @@ -20,6 +20,7 @@ import appTranslationsEN from '../locales/en/app.json';
2020import appTranslationsJA from '../locales/ja/app.json' ;
2121import appTranslationsRU from '../locales/ru/app.json' ;
2222import appTranslationsMS from '../locales/ms/app.json' ;
23+ import appTranslationsPT from '../locales/pt/app.json' ;
2324import { apiGet , apiPost } from '../utils/request' ;
2425import languageFromConfig from './config' ;
2526import Backend from 'i18next-locize-backend' ;
@@ -81,6 +82,7 @@ if (!i18nEditorActive) {
8182 i18n . addResourceBundle ( 'ja' , 'app' , appTranslationsJA ) ;
8283 i18n . addResourceBundle ( 'ms' , 'app' , appTranslationsMS ) ;
8384 i18n . addResourceBundle ( 'ru' , 'app' , appTranslationsRU ) ;
85+ i18n . addResourceBundle ( 'pt' , 'app' , appTranslationsPT ) ;
8486}
8587
8688i18n . on ( 'languageChanged' , ( lng ) => {
You can’t perform that action at this time.
0 commit comments