diff --git a/Change-Language.md b/Change-Language.md new file mode 100644 index 0000000..21b2cb4 --- /dev/null +++ b/Change-Language.md @@ -0,0 +1,29 @@ +## Change language for all users + +Using MongoDB Shell with WeKan Snap Candidate, to change English date format to `DD/MM/YY`. + +MongoDB Shell Download: https://www.mongodb.com/try/download/shell + +language.sh: +``` +mongosh --quiet \ +--host 127.0.0.1 \ +--port 27019 \ +--eval 'use wekan' \ +--eval 'db.users.updateMany({}, { $set: {"profile.language": "en-GB" }});' +``` +Set script as executeable: +``` +chmod +x language.sh +``` +Running script: +``` +$ ./language.sh +{ + acknowledged: true, + insertedId: null, + matchedCount: 20, + modifiedCount: 0, + upsertedCount: 0 +} +``` \ No newline at end of file