Skip to content

Commit

Permalink
update translations, add faq section on how to update translations
Browse files Browse the repository at this point in the history
  • Loading branch information
stitch committed Feb 18, 2025
1 parent 0ad7d0d commit 41427d1
Show file tree
Hide file tree
Showing 6 changed files with 1,045 additions and 671 deletions.
27 changes: 27 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -244,6 +244,33 @@ The dependency on Web Security Map is version pinned by a Git SHA in the Websecm

## FAQ / Troubleshooting


### Updating translations
Works best on a clean commit.

```python
dashboard update_translations_from_internet_nl
```

This will update two PO files and Three JS files, the following:
```sh
git status
```

```text
Changes not staged for commit:
(use "git add <file>..." to update what will be committed)
(use "git restore <file>..." to discard changes in working directory)
modified: dashboard/internet_nl_dashboard/locale/en/LC_MESSAGES/django.po
modified: dashboard/internet_nl_dashboard/locale/nl/LC_MESSAGES/django.po
modified: dashboard/internet_nl_dashboard/static/js/translations/internet_nl.en.js
modified: dashboard/internet_nl_dashboard/static/js/translations/internet_nl.js
modified: dashboard/internet_nl_dashboard/static/js/translations/internet_nl.nl.js
```

The .js files can be used for inspiration in the internet.nl dashboard.


### Missing xcode (mac users)
During installation mac users might get the following error, due to not having xcode installed or updated.

Expand Down
Loading

0 comments on commit 41427d1

Please sign in to comment.