Commit 1ece8f78 by Sarina Canelake

Merge pull request #2896 from edx/sarina/LMS-2302

Put language modal in alphabetical order LMS-2302
parents adb7fbcb 5c1c9692
......@@ -490,6 +490,8 @@ def dashboard(request):
# add in the default language if it's not in the list of released languages
if settings.LANGUAGE_CODE not in language_options:
language_options.append(settings.LANGUAGE_CODE)
# Re-alphabetize language options
language_options.sort()
# try to get the prefered language for the user
cur_lang_code = UserPreference.get_preference(request.user, LANGUAGE_KEY)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment