Voting starts in March for the Drupal Association Board election.
When adding new languages, they do not get a weight assigned. Locked / built-in languages get explicit weights so they are always at the end of the list, but configured languages do not get weights. This means when displaying a language list, the displayed order is different based on translations of languages at the time. That is not expected because sites usually expect languages in a fixed order.
A workaround is to hit save the language admin page once all languages are added, so that each language gets a different weight.
Beta phase evaluation
|Issue category||Bug because saving should not reorder the order.|
|Issue priority||Normal because it effects just one piece of functionality: language orders. (not a whole system).|
|Unfrozen changes||Not unfrozen.|
|Disruption||Not disruptive for core/contributed and custom modules/themes because it will not require a BC break/deprecation/internal refactoring/widespread changes.|
Give a newly added language a weight. Set it higher than the previously added configured language. (Locked languages keep getting weights bigger than this newly added one based on pre-existing code). Add tests.
User interface changes
Languages have an expected order out of the box in the order they are added.
|#46||interdiff.txt||938 bytes||Gábor Hojtsy|
|#46||2350933.46.patch||6.43 KB||Gábor Hojtsy|
PASSED: [[SimpleTest]]: [PHP 5.4 MySQL] 87,175 pass(es). View
PASSED: [[SimpleTest]]: [PHP 5.4 MySQL] 86,008 pass(es). View