photoprism/assets/locales
2022-07-18 13:31:05 +02:00
..
ar Weblate: Update backend translations 2022-06-23 16:24:06 +02:00
bg Translations: Update assets/locales 2022-05-17 21:49:36 +02:00
cs Translations: Update assets/locales (#2284) 2022-04-27 14:47:32 +02:00
da Weblate: Update backend translations 2022-06-12 00:36:22 +02:00
de Backend: Update translations based on locales/messages.pot 2022-06-16 19:33:15 +02:00
el Weblate: Update backend translations 2022-07-18 13:31:05 +02:00
en Docs: Update URL 2021-12-12 20:14:07 +01:00
es Backend: Update translations based on locales/messages.pot 2022-06-16 19:33:15 +02:00
fr Backend: Update translations based on locales/messages.pot 2022-06-16 19:33:15 +02:00
he Translations: Update assets/locales 2022-05-04 23:26:54 +02:00
hi Weblate: Update translations (#2137) 2022-03-11 14:17:19 +01:00
hr Weblate: Update backend translations 2022-05-27 15:25:33 +02:00
hu Weblate: Update translations (#2137) 2022-03-11 14:17:19 +01:00
id Weblate: Update translations (#2137) 2022-03-11 14:17:19 +01:00
it Update translation files 2022-03-21 17:35:12 +01:00
ja_JP Backend: Update translations based on locales/messages.pot 2022-06-16 19:33:15 +02:00
ko Backend: Update translations based on locales/messages.pot 2022-06-16 19:33:15 +02:00
ku Weblate: Update translations (#2137) 2022-03-11 14:17:19 +01:00
lt Translations: Update assets/locales (#2284) 2022-04-27 14:47:32 +02:00
ms Weblate: Update backend translations 2022-05-27 15:25:33 +02:00
nb Translations: Update assets/locales (#2284) 2022-04-27 14:47:32 +02:00
nl Translations: Update assets/locales 2022-05-23 12:57:28 +02:00
pl Weblate: Update backend translations 2022-06-12 00:36:22 +02:00
pt Backend: Update translations based on locales/messages.pot 2022-06-16 19:33:15 +02:00
pt_BR Weblate: Update translations (#2137) 2022-03-11 14:17:19 +01:00
ro Translations: Update assets/locales (#2284) 2022-04-27 14:47:32 +02:00
ru Translations: Update assets/locales (#2284) 2022-04-27 14:47:32 +02:00
sk Weblate: Update translations (#2137) 2022-03-11 14:17:19 +01:00
sv Translations: Update assets/locales 2022-05-17 21:49:36 +02:00
th Translations: Update assets/locales (#2361) 2022-05-27 14:34:25 +02:00
tr Translations: Update assets/locales (#2284) 2022-04-27 14:47:32 +02:00
zh Weblate: Update backend translations 2022-07-03 22:31:01 +02:00
zh_TW Backend: Update translations based on locales/messages.pot 2022-06-16 19:33:15 +02:00
messages.pot Albums: Restore deleted album when trying to create it again #2429 2022-06-16 18:59:03 +02:00
README.md Docs: Update translation README.md files 2021-10-10 10:20:50 +02:00

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.