Add a getter for current locale

parent ffae7874
......@@ -165,6 +165,10 @@ let i18n = (function(){
_locale = locale;
}
this.getLocale = function() {
return _locale;
}
return this;
})();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment