Skip to content

Commit

Permalink
fix(localization): fix default locale issue for non en-US (#2622 by @…
Browse files Browse the repository at this point in the history
  • Loading branch information
bi3ri authored Feb 5, 2024
1 parent 75cc751 commit 6789ae2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion boilerplate/app/i18n/i18n.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import fr from "./fr"
i18n.fallbacks = true

// to use regional locales use { "en-US": enUS } etc
i18n.translations = { ar, "en-US": en, ko, fr }
i18n.translations = { ar, en, "en-US": en, ko, fr }

const fallbackLocale = "en"
const systemLocale = Localization.getLocales()[0]
Expand Down

0 comments on commit 6789ae2

Please sign in to comment.