From da1ec3f429a3d48e80aa3da9b24cc76abb3c23d9 Mon Sep 17 00:00:00 2001 From: MoltenCoffee <13321277+MoltenCoffee@users.noreply.github.com> Date: Tue, 8 Sep 2020 10:35:24 +0200 Subject: [PATCH] Added correct(??) BCP47 codes --- lib/lang.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/lang.js b/lib/lang.js index 0b4f3883..aafc08ec 100644 --- a/lib/lang.js +++ b/lib/lang.js @@ -6,19 +6,19 @@ import { enUS, nl, zhCN } from 'date-fns/locale'; export const messages = { en: enMessages, - nl: nlMessages, + 'nl-NL': nlMessages, 'zh-CN': zhCNMessages, }; export const dateLocales = { en: enUS, - nl: nl, + 'nl-NL': nl, 'zh-CN': zhCN, }; export const menuOptions = [ { label: 'English', value: 'en', display: 'EN' }, - { label: 'Nederlands', value: 'nl', display: 'NL' }, + { label: 'Nederlands', value: 'nl-NL', display: 'NL' }, { label: '中文 (Chinese Simplified)', value: 'zh-CN', display: '中文' }, ];