Laverna / static-laverna

Laverna - prebuilt
https://laverna.github.io/static-laverna
Mozilla Public License 2.0
39 stars 35 forks source link

User interface language Arabic not working #6

Open asalthobaity opened 8 years ago

asalthobaity commented 8 years ago

I added the Arabic resource ( ar folder under locales ) but Arabic didn't show in Settings > General > Language . Tried executing the setitem command, Google Chrome returned undefined .

wwebfor commented 8 years ago

It's because Arabic isn't present in this file https://github.com/Laverna/laverna/blob/master/app/locales/locales.json

asalthobaity commented 8 years ago

Added the following into locales.json of my static Laverna :

"ar": {
        "name": "Arabic",
        "nativeName": "العربيّة"
    },

Laverna settings still does not show menu item for Arabic. Executing the following command at the console returned "undefined" :


localStorage.setItem('vimarkable.configs-appLang', JSON.stringify({name: 'appLang', value: 'ar'}));
wwebfor commented 8 years ago

Please, check it. It should show Arabic language in the settings now.