about summary refs log tree commit diff
path: root/app/javascript/locales
diff options
context:
space:
mode:
Diffstat (limited to 'app/javascript/locales')
-rw-r--r--app/javascript/locales/index.js9
1 files changed, 9 insertions, 0 deletions
diff --git a/app/javascript/locales/index.js b/app/javascript/locales/index.js
new file mode 100644
index 000000000..421cb7fab
--- /dev/null
+++ b/app/javascript/locales/index.js
@@ -0,0 +1,9 @@
+let theLocale;
+
+export function setLocale(locale) {
+  theLocale = locale;
+}
+
+export function getLocale() {
+  return theLocale;
+}