Add webapp_switch_locale.py script

This commit is contained in:
Mark de Bruijn
2016-11-10 11:29:45 +01:00
parent 04bfd40c11
commit def3c0edfa
2 changed files with 55 additions and 1 deletions

View File

@@ -57,6 +57,25 @@ Dumps all the signatures in a users Webapp to seperate files, meant as companion
The files will be written in the current directory.
#### Usage:
```python
```
python dump_webapp_signatures.py --user user
```
webapp_switch_locale.py
=========================
List or change the locale currently set in the user's WebApp settings.
#### Usage:
###### List locale
```
python switchlocale.py --user user1
Original locale: nl_NL.UTF-8
```
###### Change locale
```
python switchlocale.py --user user1 --locale de_DE.UTF-8
Original locale: nl_NL.UTF-8
Setting locale to: de_DE.UTF-8
```