-
Notifications
You must be signed in to change notification settings - Fork 103
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
i18n #138
Comments
I'm not an experienced Python programmer but it looks like I can solve this myself. I see two possible solutions:
The language code (like 'de') is set in the plugin settings. What would you prefer? |
I think client-side makes the most sense. Each client can chose the language they want and perhaps persist the selection via a browser cookie. |
https://docs.python.org/2/library/gettext.html and/or http://tornadokevinlee.readthedocs.org/en/latest/locale.html#tornado.locale.load_gettext_translations might also make sense. But it might be better to at least have this eventually happen in Mopidy itself so directory names and other things backends expose can be translated as well. |
The labels are hard coded into the HTML. It would be great to have some kind of internationalization (i18n).
The text was updated successfully, but these errors were encountered: