mirror of
https://github.com/immich-app/immich.git
synced 2025-07-01 21:40:10 +02:00
fix(web): language setting (#10024)
This commit is contained in:
parent
9ac2ac2fcb
commit
def5f59242
4 changed files with 20 additions and 19 deletions
web/src/lib
|
@ -244,7 +244,7 @@ export const locales = [
|
|||
{ code: 'zu-ZA', name: 'Zulu (South Africa)' },
|
||||
];
|
||||
|
||||
export const fallbackLang = 'en-US';
|
||||
export const defaultLang = { name: 'English', code: 'en', loader: () => import('$lib/i18n/en.json') };
|
||||
|
||||
export const langs = [
|
||||
{ name: 'Arabic', code: 'ar', loader: () => import('$lib/i18n/ar.json') },
|
||||
|
@ -252,7 +252,7 @@ export const langs = [
|
|||
{ name: 'Czech', code: 'cs', loader: () => import('$lib/i18n/cs.json') },
|
||||
{ name: 'Danish', code: 'da', loader: () => import('$lib/i18n/da.json') },
|
||||
{ name: 'German', code: 'de', loader: () => import('$lib/i18n/de.json') },
|
||||
{ name: 'English', code: 'en', loader: () => import('$lib/i18n/en.json') },
|
||||
defaultLang,
|
||||
{ name: 'Spanish', code: 'es', loader: () => import('$lib/i18n/es.json') },
|
||||
{ name: 'Finnish', code: 'fi', loader: () => import('$lib/i18n/fi.json') },
|
||||
{ name: 'French', code: 'fr', loader: () => import('$lib/i18n/fr.json') },
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue