photoprism/assets/locales
Michael Mayer 8a324318c6 Auth: Add new error message to translations.pot #808
Signed-off-by: Michael Mayer <michael@photoprism.app>
2024-04-18 16:56:16 +02:00
..
af Auth: Add new error message to translations.pot #808 2024-04-18 16:56:16 +02:00
ar Auth: Add new error message to translations.pot #808 2024-04-18 16:56:16 +02:00
be Auth: Add new error message to translations.pot #808 2024-04-18 16:56:16 +02:00
bg Auth: Add new error message to translations.pot #808 2024-04-18 16:56:16 +02:00
ca Auth: Add new error message to translations.pot #808 2024-04-18 16:56:16 +02:00
cs Auth: Add new error message to translations.pot #808 2024-04-18 16:56:16 +02:00
da Auth: Add new error message to translations.pot #808 2024-04-18 16:56:16 +02:00
de Account: Refactor access token API and request forms #808 #4114 2024-04-05 14:46:11 +02:00
el Auth: Add new error message to translations.pot #808 2024-04-18 16:56:16 +02:00
en Account: Update 2FA info texts and translations.pot #808 2024-03-21 16:22:30 +01:00
es Auth: Add new error message to translations.pot #808 2024-04-18 16:56:16 +02:00
et Auth: Add new error message to translations.pot #808 2024-04-18 16:56:16 +02:00
eu Auth: Add new error message to translations.pot #808 2024-04-18 16:56:16 +02:00
fa Auth: Add new error message to translations.pot #808 2024-04-18 16:56:16 +02:00
fi Auth: Add new error message to translations.pot #808 2024-04-18 16:56:16 +02:00
fr Backend: Update assets/locales/messages.pot after merging PR #808 2024-03-22 15:51:07 +01:00
he Auth: Add new error message to translations.pot #808 2024-04-18 16:56:16 +02:00
hi Auth: Add new error message to translations.pot #808 2024-04-18 16:56:16 +02:00
hr Auth: Add new error message to translations.pot #808 2024-04-18 16:56:16 +02:00
hu Auth: Add new error message to translations.pot #808 2024-04-18 16:56:16 +02:00
id Auth: Add new error message to translations.pot #808 2024-04-18 16:56:16 +02:00
it Frontend: Update dialog/account/apps.vue and translation.pot #808 #4114 2024-04-03 10:34:14 +02:00
ja_JP Auth: Add new error message to translations.pot #808 2024-04-18 16:56:16 +02:00
ko Auth: Add new error message to translations.pot #808 2024-04-18 16:56:16 +02:00
ku Auth: Add new error message to translations.pot #808 2024-04-18 16:56:16 +02:00
lt Auth: Add new error message to translations.pot #808 2024-04-18 16:56:16 +02:00
ms Auth: Add new error message to translations.pot #808 2024-04-18 16:56:16 +02:00
nb Auth: Add new error message to translations.pot #808 2024-04-18 16:56:16 +02:00
nl Auth: Add new error message to translations.pot #808 2024-04-18 16:56:16 +02:00
pl Auth: Add new error message to translations.pot #808 2024-04-18 16:56:16 +02:00
pt Auth: Add new error message to translations.pot #808 2024-04-18 16:56:16 +02:00
pt_BR Auth: Add new error message to translations.pot #808 2024-04-18 16:56:16 +02:00
ro Auth: Add new error message to translations.pot #808 2024-04-18 16:56:16 +02:00
ru Auth: Add new error message to translations.pot #808 2024-04-18 16:56:16 +02:00
sk Auth: Add new error message to translations.pot #808 2024-04-18 16:56:16 +02:00
sl Auth: Add new error message to translations.pot #808 2024-04-18 16:56:16 +02:00
sv Auth: Add new error message to translations.pot #808 2024-04-18 16:56:16 +02:00
th Auth: Add new error message to translations.pot #808 2024-04-18 16:56:16 +02:00
tr Auth: Add new error message to translations.pot #808 2024-04-18 16:56:16 +02:00
uk Auth: Add new error message to translations.pot #808 2024-04-18 16:56:16 +02:00
vi Auth: Add new error message to translations.pot #808 2024-04-18 16:56:16 +02:00
zh Auth: Add new error message to translations.pot #808 2024-04-18 16:56:16 +02:00
zh_TW Auth: Add new error message to translations.pot #808 2024-04-18 16:56:16 +02:00
README.md Docs: Update translation README.md files 2021-10-10 10:20:50 +02:00
messages.pot Backend: Update assets/locales/messages.pot after merging PR #808 2024-03-22 15:51:07 +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.