Make sure that languages are sorted, regardless of the order of language...
Make sure that languages are sorted, regardless of the order of language additions. This fixes the problem that LANG-SCRIPT (e.g. ja-kana) is accidentally selected instead of LANG (e.g. ja), because itools gives the same score to both, and when multiple codes have the same score, itools just selects the first one of a language list. So, with this change, LANG is always defined before LANG-SCRIPT, thus LANG is selected. git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@36426 20353a03-c40f-0410-a6d1-a30d3c3de9de
Showing
Please register or sign in to comment