photoprism/assets/locales
Michael Mayer c57dd670d5 Upgrade: Update wording and icons in frontend templates
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-02-02 12:01:24 +01:00
..
af Backend: Update locales/*/default.po files 2022-12-28 18:37:02 +01:00
ar Backend: Remove translations *.mo files to prevent conflicts 2022-11-01 14:50:33 +01:00
bg Backend: Remove translations *.mo files to prevent conflicts 2022-11-01 14:50:33 +01:00
ca Backend: Remove translations *.mo files to prevent conflicts 2022-11-01 14:50:33 +01:00
cs Translations: Update gettext-merge.sh and translations.pot 2022-12-13 04:21:43 +01:00
da Backend: Update .po translation file headers 2023-01-17 13:40:40 +01:00
de Translations: Update gettext-merge.sh and translations.pot 2022-12-13 04:21:43 +01:00
el Backend: Remove translations *.mo files to prevent conflicts 2022-11-01 14:50:33 +01:00
en Backend: Remove translations *.mo files to prevent conflicts 2022-11-01 14:50:33 +01:00
es Translations: Update gettext-merge.sh and translations.pot 2022-12-13 04:21:43 +01:00
et Translations: Update gettext-merge.sh and translations.pot 2022-12-13 04:21:43 +01:00
fa Backend: Remove translations *.mo files to prevent conflicts 2022-11-01 14:50:33 +01:00
fi Backend: Remove translations *.mo files to prevent conflicts 2022-11-01 14:50:33 +01:00
fr Translations: Update gettext-merge.sh and translations.pot 2022-12-13 04:21:43 +01:00
he Backend: Remove translations *.mo files to prevent conflicts 2022-11-01 14:50:33 +01:00
hi Backend: Update locales/*/default.po files 2022-12-28 18:37:02 +01:00
hr Backend: Remove translations *.mo files to prevent conflicts 2022-11-01 14:50:33 +01:00
hu Translations: Update gettext-merge.sh and translations.pot 2022-12-13 04:21:43 +01:00
id Backend: Remove translations *.mo files to prevent conflicts 2022-11-01 14:50:33 +01:00
it Translations: Update gettext-merge.sh and translations.pot 2022-12-13 04:21:43 +01:00
ja_JP Backend: Remove translations *.mo files to prevent conflicts 2022-11-01 14:50:33 +01:00
ko Translations: Update gettext-merge.sh and translations.pot 2022-12-13 04:21:43 +01:00
ku Backend: Remove translations *.mo files to prevent conflicts 2022-11-01 14:50:33 +01:00
lt Backend: Remove translations *.mo files to prevent conflicts 2022-11-01 14:50:33 +01:00
ms Backend: Remove translations *.mo files to prevent conflicts 2022-11-01 14:50:33 +01:00
nb Backend: Remove translations *.mo files to prevent conflicts 2022-11-01 14:50:33 +01:00
nl Backend: Remove translations *.mo files to prevent conflicts 2022-11-01 14:50:33 +01:00
pl Translations: Update gettext-merge.sh and translations.pot 2022-12-13 04:21:43 +01:00
pt Backend: Remove translations *.mo files to prevent conflicts 2022-11-01 14:50:33 +01:00
pt_BR Backend: Remove translations *.mo files to prevent conflicts 2022-11-01 14:50:33 +01:00
ro Upgrade: Update wording and icons in frontend templates 2023-02-02 12:01:24 +01:00
ru Translations: Update gettext-merge.sh and translations.pot 2022-12-13 04:21:43 +01:00
sk Backend: Remove translations *.mo files to prevent conflicts 2022-11-01 14:50:33 +01:00
sl Backend: Remove translations *.mo files to prevent conflicts 2022-11-01 14:50:33 +01:00
sv Backend: Remove translations *.mo files to prevent conflicts 2022-11-01 14:50:33 +01:00
th Backend: Remove translations *.mo files to prevent conflicts 2022-11-01 14:50:33 +01:00
tr Backend: Remove translations *.mo files to prevent conflicts 2022-11-01 14:50:33 +01:00
uk Backend: Update .po translation file headers 2023-01-17 13:40:40 +01:00
zh Backend: Update locales/*/default.po files 2022-12-28 18:37:02 +01:00
zh_TW Backend: Update locales/*/default.po files 2022-12-28 18:37:02 +01:00
messages.pot Translations: Update English backend messages in default.po #2083 2022-10-31 16:48:55 +01:00
README.md

Backend Translations

PhotoPrism uses gettext for localizing frontend and backend. It's one of the most widely adopted standards for translating user interfaces.

Human-readable messages like File not found are used as ids for finding matching translations, and used as defaults whenever there is no translation available.

Messages may optionally contain placeholders, like Found %d files, for numbers and other variables.

We strongly recommend Poedit for creating and updating translations. Download is free for Mac, Windows, and Linux. It's source code can be obtained on GitHub.

Only asynchronous notifications and certain API responses need translation to provide a consistent user experience. Technical log messages should be in English to avoid ambiguities and (even slightly) wrong translations.

default.po files in subdirectories contain localized messages for each language identified by their locale, for example de/default.po for German and pt_BR/default.po for Brazilian Portuguese. You can open, edit, and save them with Poedit. Please also add and commit binary *.mo files, which will be automatically created by Poedit.

To add a new translation, open messages.pot, click on "Create New Translation" at the bottom and select the language. Now you can start translating. When done, create a new directory (using the locale as name) and save your translation there as default.po.

The POT file /assets/locales/messages.pot will be automatically updated when running go generate in /internal/i18n or make generate in the main project directory. Note that this will only work when you have gettext installed on your system. We recommend using our latest development image as described in the Developer Guide.

Apply changes to existing translations by clicking on "Catalogue" > "Update from POT File..." in the Poedit app menu.