about summary refs log tree commit diff
path: root/app/javascript/locales/index.js
blob: 421cb7fab01b965ae4a1cd2eceae97eb6608f290 (plain) (blame)
1
2
3
4
5
6
7
8
9
let theLocale;

export function setLocale(locale) {
  theLocale = locale;
}

export function getLocale() {
  return theLocale;
}