mirror of
https://github.com/photoprism/photoprism.git
synced 2025-12-11 16:24:11 +01:00
Created Add translations (markdown)
6
Add-translations.md
Normal file
6
Add-translations.md
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
## How to add translations
|
||||||
|
|
||||||
|
1. Go to `/frontend` run `npm run gettext-extract`
|
||||||
|
This will create a translations.pot file in `frontend/src/resources`
|
||||||
|
2. Open this file in a translation editor (e.g. https://poedit.net/) and create a .po file in `frontend/src/resources`
|
||||||
|
3. To compile the .po file into our translations.json run `npm run gettext-compile`
|
||||||
Reference in New Issue
Block a user