-
-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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
Fix issue #4679: Sorting Joomla! available languages #4690
Conversation
@Infograf I can't reproduce it either but as Daniel said it is specific to
|
@test |
I haven't yet check the changes but Travis complains for code style issues in this pull:
|
@ALL : Sorry, the code of my first commit is clearly wrong. It has no affect to the $languages array and doesn't solve the issue. @dkanchev: Your code should work as well. However, I think the code of my second commit is shorter and easier to read:
However, it still has problem with code style. Anyone here know how to correct it and can help me with this codestyle issue ? |
OK. I was able to fix the code style issue. Please help testing it again :). |
The proposed patch resolves the issue. Tested and works as expected :) |
Awesome On 16 October 2014 13:44, dkanchev notifications@github.com wrote:
Brian Teeman |
I think this PR can be merged now. Thanks All :). |
I wish I could first test this here locally. |
Thanks @infograf768. |
No unwanted effect here. Languages are still presented alpha by lang tag |
Fix issue #4679: Sorting Joomla! available languages
This PR fix the issue #4679 reported by @dkanchev. Basically, if your site has multiple languages installed, when you are on login page to login to administrator area of your site, the languages in languages dropdown might be displayed in random order (see #4679 for more detail).
I just added one line of code to make sure the languages are sorted based on locale code instead of random order before (although this is difficult to replicate this issue).
How to test