feat(i18n): add Brazilian Portuguese (pt-BR) translations (#6840)
Updated TranslationStore to include support for Brazilian Portuguese by importing the corresponding translations file. Extended TLanguage type to include "pt-BR" as a valid language option.
This commit is contained in:
parent
921dfe3222
commit
9279b5f1fb
4 changed files with 2204 additions and 0 deletions
|
|
@ -17,6 +17,7 @@ export const SUPPORTED_LANGUAGES: ILanguageOption[] = [
|
|||
{ label: "Українська", value: "ua" },
|
||||
{ label: "Polski", value: "pl" },
|
||||
{ label: "한국어", value: "ko" },
|
||||
{ label: "Português Brasil", value: "pt-BR" },
|
||||
{ label: "Indonesian", value: "id" },
|
||||
{ label: "Română", value: "ro" },
|
||||
];
|
||||
|
|
|
|||
2200
packages/i18n/src/locales/pt-BR/translations.json
Normal file
2200
packages/i18n/src/locales/pt-BR/translations.json
Normal file
File diff suppressed because it is too large
Load diff
|
|
@ -165,6 +165,8 @@ export class TranslationStore {
|
|||
return import("../locales/pl/translations.json");
|
||||
case "ko":
|
||||
return import("../locales/ko/translations.json");
|
||||
case "pt-BR":
|
||||
return import("../locales/pt-BR/translations.json");
|
||||
case "id":
|
||||
return import("../locales/id/translations.json");
|
||||
case "ro":
|
||||
|
|
|
|||
|
|
@ -13,6 +13,7 @@ export type TLanguage =
|
|||
| "ua"
|
||||
| "pl"
|
||||
| "ko"
|
||||
| "pt-BR"
|
||||
| "id"
|
||||
| "ro";
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue