gab-social/app/javascript/gabsocial/locales/index.js

10 lines
129 B
JavaScript

let theLocale;
export function setLocale(locale) {
theLocale = locale;
}
export function getLocale() {
return theLocale;
}