Bundle Lookup
Doug Ewell
doug at ewellic.org
Fri Dec 12 16:32:28 CST 2014
Rafael Xavier <rxaviers at gmail dot com> wrote:
> Giving an arbitrary locale ID, the recommended and only process to
> deduce its respective bundle (reliably) is through Language Matching.
>
> Is that true?
>
> Considering all bundles are always present, isn't there any less
> expensive algorithm that could be recommended?
If your locale IDs really are arbitrary, then the simpler your matching
algorithm is, the less reliable your results will be.
Language tag matching is just not as complicated or expensive as it is
made out to be, especially when compared to things like cryptography and
image processing that people deploy all the time. Lookup is simple
enough to be described in full in two pages of RFC 4647.
--
Doug Ewell | Thornton, CO, USA | http://ewellic.org
More information about the CLDR-Users
mailing list