mirror of
https://github.com/wekan/wekan.git
synced 2026-02-22 07:54:06 +01:00
Reorganized Docs. In Progress.
This commit is contained in:
parent
1961e22cbd
commit
ce89ff4833
202 changed files with 0 additions and 0 deletions
32
docs/Translations/Change-Language.md
Normal file
32
docs/Translations/Change-Language.md
Normal file
|
|
@ -0,0 +1,32 @@
|
|||
## 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, when 5 new users of total 20 users did not have language set correctly yet:
|
||||
```
|
||||
$ ./language.sh
|
||||
{
|
||||
acknowledged: true,
|
||||
insertedId: null,
|
||||
matchedCount: 20,
|
||||
modifiedCount: 5,
|
||||
upsertedCount: 0
|
||||
}
|
||||
```
|
||||
## Language browser settings
|
||||
|
||||
https://github.com/wekan/wekan/issues/4518#issuecomment-1133763518
|
||||
Loading…
Add table
Add a link
Reference in a new issue