Add Aragonese language ('an') support and l10n (#6638)

* Update languages.ts

* Update i18n.web.ts

* Update i18n.ts

* Update helpers.ts

* Create messages.po

* Update lingui.config.js

* Update dates.ts

* Add files via upload

* Update src/components/hooks/dates.ts

Co-authored-by: surfdude29 <149612116+surfdude29@users.noreply.github.com>

* Update src/components/hooks/dates.ts

Co-authored-by: surfdude29 <149612116+surfdude29@users.noreply.github.com>

* Update i18n.ts

* Update messages.po

* Update src/locale/i18n.ts

Co-authored-by: surfdude29 <149612116+surfdude29@users.noreply.github.com>

---------

Co-authored-by: surfdude29 <149612116+surfdude29@users.noreply.github.com>
This commit is contained in:
Juan Pablo Martínez
2024-11-27 04:06:47 +01:00
committed by GitHub
parent 8cbe68306d
commit 5929c2678c
7 changed files with 8132 additions and 0 deletions
+4
View File
@@ -12,6 +12,10 @@ export async function dynamicActivate(locale: AppLanguage) {
let mod: any
switch (locale) {
case AppLanguage.an: {
mod = await import(`./locales/an/messages`)
break
}
case AppLanguage.ca: {
mod = await import(`./locales/ca/messages`)
break