Separate client and server codes. Keep everything in one git repo for simplicity
[vchess.git] / client / src / utils / language.js
similarity index 82%
rename from utils/language.js
rename to client/src/utils/language.js
index 52c3842..cff89ae 100644 (file)
@@ -1,3 +1,7 @@
+// TODO: adapt for client side https://stackoverflow.com/a/4079798
+// ==> Each translation file should be loaded dynamically
+// (each rules definition too, + modal welcome)
+
 // Select a language based on browser preferences, or cookie
 module.exports = function(req, res)
 {