photoprism/assets/locales
Michael Mayer 4e981536c9 Translations: Add Vietnamese (Tiếng Việt) #4004 #4007
Signed-off-by: Michael Mayer <michael@photoprism.app>
2024-01-16 12:51:20 +01:00
..
af Translations: Add Euskara (Basque) 2023-04-02 14:00:27 +02:00
ar Translations: Add Euskara (Basque) 2023-04-02 14:00:27 +02:00
be Translations: Add Euskara (Basque) 2023-04-02 14:00:27 +02:00
bg Translations: Add Euskara (Basque) 2023-04-02 14:00:27 +02:00
ca Translations: Add Euskara (Basque) 2023-04-02 14:00:27 +02:00
cs Translations: Add Euskara (Basque) 2023-04-02 14:00:27 +02:00
da Translations: Add Euskara (Basque) 2023-04-02 14:00:27 +02:00
de Frontend: Update text on about.vue page and add missing translations 2023-03-29 15:17:11 +02:00
el Backend: Regenerate assets/locales/el/default.po 2023-10-20 12:56:49 +02:00
en Translations: Add Euskara (Basque) 2023-04-02 14:00:27 +02:00
es Translations: Add Euskara (Basque) 2023-04-02 14:00:27 +02:00
et Translations: Add Euskara (Basque) 2023-04-02 14:00:27 +02:00
eu Translations: Add Euskara (Basque) 2023-04-02 14:00:27 +02:00
fa Translations: Add Euskara (Basque) 2023-04-02 14:00:27 +02:00
fi Translations: Add Euskara (Basque) 2023-04-02 14:00:27 +02:00
fr Translations: Add Euskara (Basque) 2023-04-02 14:00:27 +02:00
he Translations: Add Euskara (Basque) 2023-04-02 14:00:27 +02:00
hi Translations: Add Euskara (Basque) 2023-04-02 14:00:27 +02:00
hr Translations: Add Euskara (Basque) 2023-04-02 14:00:27 +02:00
hu Translations: Add Euskara (Basque) 2023-04-02 14:00:27 +02:00
id Translations: Add Euskara (Basque) 2023-04-02 14:00:27 +02:00
it Video: Add transcoding libs and improve error handling #3466 2023-07-15 15:17:41 +02:00
ja_JP Translations: Add Euskara (Basque) 2023-04-02 14:00:27 +02:00
ko Translations: Add Euskara (Basque) 2023-04-02 14:00:27 +02:00
ku Translations: Add Euskara (Basque) 2023-04-02 14:00:27 +02:00
lt Translations: Add Euskara (Basque) 2023-04-02 14:00:27 +02:00
ms Translations: Add Euskara (Basque) 2023-04-02 14:00:27 +02:00
nb Translations: Add Euskara (Basque) 2023-04-02 14:00:27 +02:00
nl Search: Fix "unknown country" filter #3412 2023-05-17 20:33:24 +02:00
pl Translations: Add Euskara (Basque) 2023-04-02 14:00:27 +02:00
pt Frontend: Update membership email and wording on info page 2023-04-04 16:28:49 +02:00
pt_BR Translations: Add Euskara (Basque) 2023-04-02 14:00:27 +02:00
ro Translations: Add Euskara (Basque) 2023-04-02 14:00:27 +02:00
ru Translations: Add Euskara (Basque) 2023-04-02 14:00:27 +02:00
sk Video: Add transcoding libs and improve error handling #3466 2023-07-15 15:17:41 +02:00
sl Translations: Add Euskara (Basque) 2023-04-02 14:00:27 +02:00
sv Translations: Add Euskara (Basque) 2023-04-02 14:00:27 +02:00
th Translations: Add Euskara (Basque) 2023-04-02 14:00:27 +02:00
tr Translations: Add Euskara (Basque) 2023-04-02 14:00:27 +02:00
uk Translations: Add Euskara (Basque) 2023-04-02 14:00:27 +02:00
vi Translations: Add Vietnamese (Tiếng Việt) #4004 #4007 2024-01-16 12:51:20 +01:00
zh Translations: Add Euskara (Basque) 2023-04-02 14:00:27 +02:00
zh_TW Frontend: Change default theme 2023-05-14 13:04:55 +02:00
messages.pot Translations: Add Euskara (Basque) 2023-04-02 14:00:27 +02: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.