diff --git a/app/assets/javascripts/app/lib/app_post/i18n.js.coffee b/app/assets/javascripts/app/lib/app_post/i18n.js.coffee index 5f3fe4bc4..b19e5e23e 100644 --- a/app/assets/javascripts/app/lib/app_post/i18n.js.coffee +++ b/app/assets/javascripts/app/lib/app_post/i18n.js.coffee @@ -99,6 +99,9 @@ class _i18nSingleton extends Spine.Module locale = 'en' @locale = locale + # set lang attribute of html tag + $('html').prop( 'lang', locale.substr(0, 2) ) + @map = {} App.Ajax.request( id: 'i18n-set-' + locale,