Client - init Dutch (nl) translation files
This commit is contained in:
@ -98,6 +98,7 @@ const dateStringFormats: Record<string, string> = {
|
||||
en: 'MMM. do, yyyy',
|
||||
fr: 'd MMM yyyy',
|
||||
// nb: 'do MMM yyyy',
|
||||
// nl: 'd MMM yyyy',
|
||||
}
|
||||
|
||||
export const getDateFormat = (dateFormat: string, language: string): string => {
|
||||
|
@ -9,6 +9,7 @@ export const localeFromLanguage: Record<string, Locale> = {
|
||||
en: enUS,
|
||||
fr: fr,
|
||||
// nb: nb, // disabled for now
|
||||
// nl: nl, // disabled for now
|
||||
}
|
||||
|
||||
export const languageLabels: Record<string, string> = {
|
||||
@ -16,6 +17,7 @@ export const languageLabels: Record<string, string> = {
|
||||
en: 'English',
|
||||
fr: 'Français',
|
||||
// nb: 'Norsk bokmål', // disabled for now
|
||||
// nl: 'Nederlands', // disabled for now
|
||||
}
|
||||
|
||||
const { availableLocales } = createI18n.global
|
||||
|
@ -19,6 +19,8 @@ export const setZxcvbnOptions = async (language: string) => {
|
||||
fr: zxcvbnFrPackage,
|
||||
// no package available for norwegian bokmal, fallback on english
|
||||
nb: zxcvbnEnPackage,
|
||||
// no package available for dutch (Nederlands), fallback on english
|
||||
nl: zxcvbnEnPackage,
|
||||
}
|
||||
const zxcvbnPackage = zxcvbnLangPackages[language]
|
||||
const options = {
|
||||
|
Reference in New Issue
Block a user