Updated spanish language string label to avoid confusion

Fixed bug where if no locale was set, it would *not* default to English
pull/36/head
Isaac Grynsztein 6 years ago
parent ce2f294a3d
commit 0ac87fe86d

@ -594,7 +594,7 @@ export const isoLangs = {
},
'es': {
'name': 'Spanish; Castilian',
'nativeName': 'español, castellano'
'nativeName': 'español'
},
'su': {
'name': 'Sundanese',

@ -13,6 +13,9 @@ if (environment.production) {
}
const locale = localStorage.getItem('locale');
if (!locale) {
localStorage.setItem('locale', 'en');
}
if (locale && locale !== 'en') {
getTranslations(`./assets/i18n/messages.${locale}.json`).then(
(data: ParsedTranslationBundle) => {

Loading…
Cancel
Save