2023-03-24 12:45:03 +01:00
|
|
|
|
// When adding a new locale, check in date-fns (time/date i18n) if this locale
|
|
|
|
|
// is available or if an appropriate fallback is available.
|
2020-08-29 14:16:59 +02:00
|
|
|
|
// date-fns locales can be found here : https://github.com/date-fns/date-fns/tree/master/src/locale
|
2023-03-24 12:45:03 +01:00
|
|
|
|
// If a new locale or a new date-fns locale is added, add it to the supported
|
|
|
|
|
// locales list in `app/vue.config.js`
|
2020-08-29 14:16:59 +02:00
|
|
|
|
|
2020-08-28 18:54:18 +02:00
|
|
|
|
export default {
|
2020-08-29 14:16:59 +02:00
|
|
|
|
ar: {
|
|
|
|
|
name: 'عربي'
|
|
|
|
|
},
|
|
|
|
|
bn_BD: {
|
|
|
|
|
name: 'বাংলা',
|
|
|
|
|
dateFnsLocale: 'bn'
|
|
|
|
|
},
|
|
|
|
|
br: {
|
|
|
|
|
name: 'Brezhoneg',
|
|
|
|
|
dateFnsLocale: 'fr'
|
|
|
|
|
},
|
|
|
|
|
ca: {
|
|
|
|
|
name: 'Català'
|
|
|
|
|
},
|
2023-03-24 12:45:03 +01:00
|
|
|
|
ckb: {
|
|
|
|
|
name: 'کوردی',
|
|
|
|
|
dateFnsLocale: 'fa-IR'
|
|
|
|
|
// FIXME fallback to Farsi (`fa-IR`) is arbitrary, some would probably prefer Arabic (`ar`)...
|
|
|
|
|
},
|
2021-01-19 22:35:43 +01:00
|
|
|
|
cs: {
|
|
|
|
|
name: 'Čeština'
|
|
|
|
|
},
|
2023-03-24 12:45:03 +01:00
|
|
|
|
da: {
|
|
|
|
|
name: 'Dansk'
|
|
|
|
|
},
|
2020-08-29 14:16:59 +02:00
|
|
|
|
de: {
|
|
|
|
|
name: 'Deutsch'
|
|
|
|
|
},
|
|
|
|
|
el: {
|
|
|
|
|
name: 'Eλληνικά'
|
|
|
|
|
},
|
|
|
|
|
en: {
|
|
|
|
|
name: 'English',
|
|
|
|
|
dateFnsLocale: 'en-GB'
|
|
|
|
|
},
|
|
|
|
|
eo: {
|
|
|
|
|
name: 'Esperanto'
|
|
|
|
|
},
|
|
|
|
|
es: {
|
|
|
|
|
name: 'Español'
|
|
|
|
|
},
|
|
|
|
|
eu: {
|
|
|
|
|
name: 'Euskara'
|
|
|
|
|
},
|
2021-09-01 13:25:53 +02:00
|
|
|
|
fa: {
|
2021-09-06 23:30:12 +02:00
|
|
|
|
name: 'فارسی',
|
|
|
|
|
dateFnsLocale: 'fa-IR'
|
2021-09-01 13:25:53 +02:00
|
|
|
|
},
|
|
|
|
|
fi: {
|
|
|
|
|
name: 'Suomi'
|
|
|
|
|
},
|
2020-08-29 14:16:59 +02:00
|
|
|
|
fr: {
|
|
|
|
|
name: 'Français'
|
|
|
|
|
},
|
2021-09-01 13:25:53 +02:00
|
|
|
|
gl: {
|
|
|
|
|
name: 'Galego'
|
|
|
|
|
},
|
2023-03-24 12:45:03 +01:00
|
|
|
|
he: {
|
|
|
|
|
name: 'עברית'
|
|
|
|
|
},
|
2020-08-29 14:16:59 +02:00
|
|
|
|
hi: {
|
|
|
|
|
name: 'हिन्दी'
|
|
|
|
|
},
|
|
|
|
|
hu: {
|
|
|
|
|
name: 'Magyar'
|
|
|
|
|
},
|
2023-03-24 12:45:03 +01:00
|
|
|
|
id: {
|
|
|
|
|
name: 'Bahasa Indonesia'
|
|
|
|
|
},
|
2020-08-29 14:16:59 +02:00
|
|
|
|
it: {
|
|
|
|
|
name: 'Italiano'
|
|
|
|
|
},
|
2023-03-24 12:45:03 +01:00
|
|
|
|
kab: {
|
|
|
|
|
name: 'Taqbaylit',
|
|
|
|
|
dateFnsLocale: 'ar-DZ'
|
|
|
|
|
},
|
|
|
|
|
lt: {
|
|
|
|
|
name: 'Lietuvių'
|
|
|
|
|
},
|
|
|
|
|
mk: {
|
|
|
|
|
name: 'македонски'
|
|
|
|
|
},
|
2020-08-29 14:16:59 +02:00
|
|
|
|
nb_NO: {
|
|
|
|
|
name: 'Norsk bokmål',
|
|
|
|
|
dateFnsLocale: 'nb'
|
|
|
|
|
},
|
|
|
|
|
ne: {
|
|
|
|
|
name: 'नेपाली',
|
|
|
|
|
dateFnsLocale: 'en-GB'
|
|
|
|
|
},
|
|
|
|
|
nl: {
|
|
|
|
|
name: 'Nederlands'
|
|
|
|
|
},
|
|
|
|
|
oc: {
|
|
|
|
|
name: 'Occitan',
|
|
|
|
|
dateFnsLocale: 'ca'
|
|
|
|
|
},
|
|
|
|
|
pl: {
|
|
|
|
|
name: 'Polski'
|
|
|
|
|
},
|
|
|
|
|
pt: {
|
|
|
|
|
name: 'Português'
|
|
|
|
|
},
|
2023-03-24 12:45:03 +01:00
|
|
|
|
pt_BR: {
|
|
|
|
|
name: 'Português brasileiro',
|
|
|
|
|
dateFnsLocale: 'pt-BR'
|
|
|
|
|
},
|
2020-08-29 14:16:59 +02:00
|
|
|
|
ru: {
|
|
|
|
|
name: 'Русский'
|
|
|
|
|
},
|
2022-06-10 14:16:06 +02:00
|
|
|
|
sk: {
|
|
|
|
|
name: 'Slovak'
|
|
|
|
|
},
|
2023-03-24 12:45:03 +01:00
|
|
|
|
sl: {
|
|
|
|
|
name: 'Slovenščina'
|
|
|
|
|
},
|
2020-08-29 14:16:59 +02:00
|
|
|
|
sv: {
|
|
|
|
|
name: 'Svenska'
|
|
|
|
|
},
|
2022-06-10 14:16:06 +02:00
|
|
|
|
te: {
|
|
|
|
|
name: 'Telugu'
|
|
|
|
|
},
|
2020-08-29 14:16:59 +02:00
|
|
|
|
tr: {
|
|
|
|
|
name: 'Türkçe'
|
|
|
|
|
},
|
2021-09-01 13:25:53 +02:00
|
|
|
|
uk: {
|
|
|
|
|
name: 'Українська'
|
|
|
|
|
},
|
2020-08-29 14:16:59 +02:00
|
|
|
|
zh_Hans: {
|
|
|
|
|
name: '简化字',
|
|
|
|
|
dateFnsLocale: 'zh-CN'
|
|
|
|
|
}
|
2020-08-28 18:54:18 +02:00
|
|
|
|
}
|