diff --git a/lib/assets/javascripts/gettext/all.js b/lib/assets/javascripts/gettext/all.js index b92c477..4982736 100644 --- a/lib/assets/javascripts/gettext/all.js +++ b/lib/assets/javascripts/gettext/all.js @@ -34,6 +34,8 @@ return; } + locale = locale.replace(/-/g, "_"); + var i18n = new Jed(locales[locale] || {}); window.__ = function() {