feat(client): add Portuguese language localization (#688)

Expose Portuguese through shared locale preferences and keep the catalog synchronized with current English messages. Use keyed interpolation so series headings follow each language’s natural word order.

Closes #673

Co-authored-by: neon <18559658+neonsolstice@users.noreply.github.com>
This commit is contained in:
zanivann
2026-07-14 14:53:16 -03:00
committed by GitHub
parent ec84703cef
commit 6544d23002
8 changed files with 6264 additions and 14 deletions
+3 -1
View File
@@ -1,4 +1,4 @@
export const SUPPORTED_LOCALES = ["en", "de", "nl", "sl"] as const;
export const SUPPORTED_LOCALES = ["en", "de", "nl", "pt", "sl"] as const;
export type Locale = (typeof SUPPORTED_LOCALES)[number];
export const DEFAULT_LOCALE: Locale = "en";
@@ -8,6 +8,7 @@ export const LOCALE_LABELS: Record<Locale, string> = {
en: "English",
de: "Deutsch",
nl: "Nederlands",
pt: "Português",
sl: "Slovenščina",
};
@@ -15,6 +16,7 @@ export const LOCALE_DIRECTIONS: Record<Locale, "ltr" | "rtl"> = {
en: "ltr",
de: "ltr",
nl: "ltr",
pt: "ltr",
sl: "ltr",
};