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