Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

User interface language Arabic not working #6

Open
asalthobaity opened this issue May 16, 2016 · 3 comments
Open

User interface language Arabic not working #6

asalthobaity opened this issue May 16, 2016 · 3 comments

Comments

@asalthobaity
Copy link

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 .

@asalthobaity asalthobaity changed the title User interface language Arabic not available User interface language Arabic not working May 16, 2016
@wwebfor
Copy link
Member

wwebfor commented May 17, 2016

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

@asalthobaity
Copy link
Author

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
Copy link
Member

wwebfor commented Jun 17, 2016

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants