mirror of
https://github.com/pocket-id/pocket-id.git
synced 2026-02-16 18:10:18 +00:00
fix: fallback to primary language if no translation available for specific country
This commit is contained in:
@@ -8,15 +8,16 @@
|
||||
const currentLocale = getLocale();
|
||||
|
||||
const locales = {
|
||||
'cs-CZ': 'Čeština',
|
||||
'de-DE': 'Deutsch',
|
||||
'en-US': 'English',
|
||||
'fr-FR': 'Français',
|
||||
'nl-NL': 'Nederlands',
|
||||
'pl-PL': 'Polski',
|
||||
cs: 'Čeština',
|
||||
de: 'Deutsch',
|
||||
en: 'English',
|
||||
es: 'Español',
|
||||
fr: 'Français',
|
||||
it: 'Italiano',
|
||||
nl: 'Nederlands',
|
||||
pl: 'Polski',
|
||||
'pt-BR': 'Português brasileiro',
|
||||
'ru-RU': 'Русский',
|
||||
'it-IT': 'Italiano',
|
||||
ru: 'Русский',
|
||||
'zh-CN': '简体中文'
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user