-
Notifications
You must be signed in to change notification settings - Fork 7
Locale switcher for interface and all translated contents. #11
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
Conversation
Get the default locale from the Omeka site settings, not Zend_Locale::getDefault(), which always returns 'en'. Added upgrade hook to change all instances of the default locale code 'en' to the real default locale. This required a version bump to version 1.1.
This is no longer necessary now that the ExperimentalBeijing plugin adds translations to the search texts and can use those to do searches for items/browse as well. This will reduce the maintenance burden of the fork, as all it needs to handle is getting the lang parameter from $_GET and properly get the default locale. We may want to see if we can at least get the latter merged upstream.
This reverts commits back through "Note that this is a fork in README" 33fa1b6.
|
The main issue is for the elements of the contents (Dublin Core title, etc.) still don't have a language value, like in Omeka S. It may be a future improvement. |
|
Many thanks, and sorry for the delay in merging. It's worth noting that I'm moving on to a new gig, and so I'm not sure how much time I'll be able to devote to my Omeka side-projects. If it makes sense to you to work from your fork, that makes sense to me. |
|
I don't develop anymore on Omeka Classic, but somebody asked me to improve the plugin for an old project. There are still one or two commits to do, then I won't develop any fork. |
This is a merge of previous pull requests, with a full integration, so the visitor can choose the language he wants for any pages.