Open nchapman opened 9 years ago
Here are some pointers to how Firefox Accounts is doing it:
Here is the imitable fxa-content-server repo:
https://github.com/mozilla/fxa-content-server
Here is the repo with the actual localization strings:
https://github.com/mozilla/fxa-content-server-l10n
These are included with bower:
https://github.com/mozilla/fxa-content-server/blob/master/bower.json#L11
Here are some l10n-*
tasks:
https://github.com/mozilla/fxa-content-server/tree/master/grunttasks
Here's an example from Find My Device which is based on FxA but is slightly simpler:
Find My Device front-end
https://github.com/mozilla-services/FindMyDevice/tree/dev/static
Here are notes about localization from the README:
https://github.com/mozilla-services/FindMyDevice/tree/dev/static#localization
Here's the repo with the strings:
https://github.com/mozilla-services/FindMyDevice-l10n
The server actually serves the correct strings as a json file:
https://github.com/l20n/l20n.js looks pretty interesting, and is developed by us (see http://l20n.org/). Devs were also pretty responsive on #l20n IRC channel when I was asking questions.
There are probably many different patterns internally for how we can do localization. Let's discuss how we want to do this in Idea Town.