Description
Issue by alexcrichton
Wednesday May 28, 2014 at 18:15 GMT
For earlier discussion, see rust-lang/rust#14495
This issue was labelled with: A-libs, P-high in the Rust repository
Part of this issue is only actionable depending on the outcome of #93.
Localization is a very important feature for a language and is often a very difficult system to get right. Previous attempts with format!
do not look like they're going to pan out, and it looks like it's possible to implement a high quality localization system purely in a library implementation.
The most likely candidate for being implemented is the l20n spec. This is a new standard coming out of Mozilla for the web which is still in some development, but it has seen deployment on Firefox OS and is planned to be deployed in Firefox. Other projects such as django are also looking into implementing this spec, so there's certainly precedent.
A rust implementation of the l20n spec would be a good solution for our localization efforts, but some finesse would be required to ensure that the library is as easily usable as the JS api itself.
Nominating, but I believe that this is not necessary for 1.0
cc @zbraniecki