diff --git a/app.config.js b/app.config.js index fd754a50f7..650191758f 100644 --- a/app.config.js +++ b/app.config.js @@ -95,27 +95,32 @@ module.exports = function (config) { CFBundleSpokenName: 'Blue Sky', CFBundleLocalizations: [ 'en', + 'an', + 'ast', 'ca', 'de', 'es', 'fi', 'fr', 'ga', + 'gl', 'hi', 'hu', 'id', 'it', 'ja', 'ko', + 'nl', 'pl', - 'pt', + 'pt-BR', 'ru', 'th', 'tr', 'uk', - 'zh_CN', - 'zh_HK', - 'zh_TW', + 'vi', + 'yue-Hant', + 'zh-Hans', + 'zh-Hant', ], }, associatedDomains: ASSOCIATED_DOMAINS, diff --git a/lingui.config.js b/lingui.config.js index 418a65ac43..cbf4d1b483 100644 --- a/lingui.config.js +++ b/lingui.config.js @@ -2,8 +2,8 @@ module.exports = { locales: [ 'en', - 'ast', 'an', + 'ast', 'ca', 'de', 'en-GB', diff --git a/src/components/hooks/dates.ts b/src/components/hooks/dates.ts index ac50769f9e..67283249ee 100644 --- a/src/components/hooks/dates.ts +++ b/src/components/hooks/dates.ts @@ -44,8 +44,8 @@ import {useLanguagePrefs} from '#/state/preferences' */ const locales: Record = { en: undefined, - ast: undefined, an: undefined, + ast: undefined, ca, de, ['en-GB']: enGB, diff --git a/src/locale/languages.ts b/src/locale/languages.ts index 8e3c02d378..63f7e3e64b 100644 --- a/src/locale/languages.ts +++ b/src/locale/languages.ts @@ -43,7 +43,7 @@ interface AppLanguageConfig { export const APP_LANGUAGES: AppLanguageConfig[] = [ {code2: AppLanguage.en, name: 'English'}, {code2: AppLanguage.an, name: 'Aragonés – Aragonese'}, - {code2: AppLanguage.ast, name: 'Asturianu - Asturian'}, + {code2: AppLanguage.ast, name: 'Asturianu – Asturian'}, {code2: AppLanguage.ca, name: 'Català – Catalan'}, {code2: AppLanguage.de, name: 'Deutsch – German'}, {code2: AppLanguage.en_GB, name: 'English (UK)'}, @@ -51,7 +51,7 @@ export const APP_LANGUAGES: AppLanguageConfig[] = [ {code2: AppLanguage.fi, name: 'Suomi – Finnish'}, {code2: AppLanguage.fr, name: 'Français – French'}, {code2: AppLanguage.ga, name: 'Gaeilge – Irish'}, - {code2: AppLanguage.gl, name: 'Galego - Galician'}, + {code2: AppLanguage.gl, name: 'Galego – Galician'}, {code2: AppLanguage.hi, name: 'हिंदी – Hindi'}, {code2: AppLanguage.hu, name: 'magyar – Hungarian'}, {code2: AppLanguage.id, name: 'Bahasa Indonesia – Indonesian'},