Skip to content

Commit

Permalink
add translation help in README
Browse files Browse the repository at this point in the history
  • Loading branch information
CJGutz committed Aug 29, 2023
1 parent 09efced commit baf575b
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -110,3 +110,20 @@ python manage.py migrate
```

Follow the above step about fixtures if you want your test data back


## Translations

We have locality for Norwegian and English
To generate new translations in `.po` files run
```
python manage.py makemessages -l nb -l en
```

Add the correct translations in the `msgstr` quotes.
If a translation is not given and the `msgstr` quote is empty, the msgid will be used

To compile the translations and make the translations available run
```
python manage.py compilemessages
```

0 comments on commit baf575b

Please sign in to comment.