Updated: l10n_addTranslations() function for auto detection (browser language detection)
(cherry picked from commit 57b4887)