[Date Prev][Date Next] [Chronological] [Thread] [Top]

Language range 'lang-en-' should match 'lang-en'.

A search requesting 'cn;lang-en-' does not find 'cn;lang-en'.
It should, according to rfc3066 section 2.5:

   (...) a language-range has the same syntax as a language-tag, or
   is the single character "*".

   A language-range matches a language-tag if it exactly equals the tag,
   or if (...)

I'll commit a fix
unless someone protests.