We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3e3202e commit 1a36878Copy full SHA for 1a36878
app/services/l10n.js
@@ -72,6 +72,15 @@ export default class L10nService extends L10n {
72
73
this.setLocale(locale);
74
if (locale !== 'en') {
75
+
76
+ if(locale === 'zh_Hans') {
77
+ locale = 'zh-cn'
78
+ } else if(locale === 'zh_Hant') {
79
+ locale = 'zh-tw'
80
+ } else if(locale === 'nb_NO') {
81
+ locale = 'nb'
82
+ }
83
84
getScript(`/assets/moment-locales/${locale}.js`)
85
.then(() => {
86
moment.locale(locale);
0 commit comments