We decided today that we are not going to fix this as lang files are now often in sections which would make the alphabetization harder. Furthermore, it's easy to search in files to find the value.
Instead, Rebecca is going to look into consolidating lang strings and removing duplicates. See bug # 1742304 for more information. ** Changed in: mahara Status: Triaged => Won't Fix -- You received this bug notification because you are a member of Mahara Contributors, which is subscribed to Mahara. Matching subscriptions: Subscription for all Mahara Contributors -- please ask on #mahara-dev or mahara.org forum before editing or unsubscribing it! https://bugs.launchpad.net/bugs/1197235 Title: Alphabetize the lang files! Status in Mahara: Won't Fix Bug description: The best way to organize the lang strings in a lang file is to alphabetize all of them. Many lang files have attempts to sort the strings by category, but this never works in the long run because it quickly becomes unclear which category new strings should go in. So I've found that the most convenient way to sort them in the long run is just to alphabetize them. If anyone has some free time, it'd be good to go through all the lang files and alphabetize them. At least, the ones in the core Mahara download. We'd probably need a different process to handle the ones in the translation langpacks. And of course it wouldn't make sense to do this by hand. You'd want to write a script that identifies the lang files and alphabetizes only the $string['name'] lines. It should be robust enough that it can handle multi-line strings. Comments interspersed amongst the strings should probably be discarded, because these usually refer to the string categories. To manage notifications about this bug go to: https://bugs.launchpad.net/mahara/+bug/1197235/+subscriptions _______________________________________________ Mailing list: https://launchpad.net/~mahara-contributors Post to : mahara-contributors@lists.launchpad.net Unsubscribe : https://launchpad.net/~mahara-contributors More help : https://help.launchpad.net/ListHelp