veluca93/oii-web — pull request #9 by lucach (2014-01-17 16:45:46+00:00)
Title: Autodetect browser language

First attempt to fix #6. This commit:
- When the l10n.js page is loaded (i.e. only once), sets a field in localStorage with detected language in two characters (standard ISO 639)
- during l10n process, gets saved value and translates input according it. If any errors occurs, fallback to 'en'.