Documented general configuration and usage

This commit is contained in:
Philipp Wolfer 2023-12-09 17:41:38 +01:00
parent d6ca8d33f7
commit 0b1806367f
No known key found for this signature in database
GPG key ID: 8FDF744D4919943B
3 changed files with 87 additions and 14 deletions

View file

@ -18,15 +18,11 @@ After strings have been added or modified in the code or after changes have been
This requires the gotext tool to be installed:
```
go install golang.org/x/text/cmd/gotext@latest
```
go install golang.org/x/text/cmd/gotext@latest
The following command will extract all strings and merge the translations:
```
go generate ./internal/translations/translations.go
```
go generate ./internal/translations/translations.go
## License