Files
kan/apps/web/src/locales/index.ts
Jovânio Júnior 94760f1e4c Add Brazilian Portuguese (pt-BR) translation support to Kan (#276)
* adding Brazilian Portuguese translation; added a repository on Docker Hub to use in Umbrel — version ptbr jovaniojunior/kan-ptbr:latest

* add notes to changelog.md

* adjust pt-BR date format in date-fns

* improve Portuguese integration across code functions and other small pt-BR tweaks

* chore: gen missing translations

---------

Co-authored-by: Henry <henry_ball@hotmail.co.uk>
2025-12-09 20:24:30 +00:00

28 lines
430 B
TypeScript

export const locales = [
"en",
"fr",
"de",
"es",
"it",
"nl",
"ru",
"pl",
"ptbr"
] as const;
export type Locale = (typeof locales)[number];
export const defaultLocale: Locale = "en";
export const localeNames: Record<Locale, string> = {
en: "English",
fr: "Français",
de: "Deutsch",
es: "Español",
it: "Italiano",
nl: "Nederlands",
ru: "Русский",
pl: "Polski",
ptbr: "Português",
};