photoprism/frontend/src/locales
Admin 3d24b37b76 Translated using Weblate (Hungarian)
Currently translated at 98.8% (520 of 526 strings)

Translation: PhotoPrism/Frontend
Translate-URL: https://translate.photoprism.app/projects/photoprism/frontend/hu/
2022-03-11 15:46:46 +01:00
..
bg.po Translated using Weblate (Bulgarian) 2022-03-11 13:54:06 +01:00
cs.po Translated using Weblate (Czech) 2022-03-11 15:46:43 +01:00
da.po Translated using Weblate (Danish) 2022-03-11 15:46:44 +01:00
de.po Translated using Weblate (German) 2022-03-11 15:46:44 +01:00
en.po Docs: Improve about page and early-access info dialog 2021-01-25 08:45:59 +01:00
es.po Translated using Weblate (Spanish) 2022-03-11 15:46:45 +01:00
fr.po Translated using Weblate (French) 2022-03-11 15:46:45 +01:00
he.po Translated using Weblate (Hebrew) 2022-03-11 15:46:46 +01:00
hi.po Translated using Weblate (Hindi) 2022-03-11 15:46:46 +01:00
hu.po Translated using Weblate (Hungarian) 2022-03-11 15:46:46 +01:00
id.po Translated using Weblate (Indonesian) 2022-03-11 13:53:56 +01:00
it.po Translated using Weblate (Italian) 2022-03-11 13:53:57 +01:00
ja.po Translated using Weblate (Japanese) 2022-03-11 13:54:08 +01:00
ko.po Translated using Weblate (Korean) 2022-03-11 13:54:05 +01:00
ku.po Translated using Weblate (Kurdish) 2022-03-11 13:53:57 +01:00
nb.po Translated using Weblate (Norwegian Bokmål) 2022-03-11 13:54:01 +01:00
nl.po Translated using Weblate (Dutch) 2022-03-11 13:53:56 +01:00
pl.po Translated using Weblate (Polish) 2022-03-11 13:54:02 +01:00
pt.po Translated using Weblate (Portuguese) 2022-03-11 13:54:03 +01:00
pt_BR.po Translated using Weblate (Portuguese (Brazil)) 2022-03-11 13:54:05 +01:00
README.md Docs: Update translation README.md files 2021-10-10 10:20:50 +02:00
ro.po Translated using Weblate (Romanian) 2022-03-11 15:23:36 +01:00
ru.po Translated using Weblate (Russian) 2022-03-11 13:54:04 +01:00
sk.po Translated using Weblate (Slovak) 2022-03-11 13:54:07 +01:00
tr.po Translated using Weblate (Turkish) 2022-03-11 13:53:58 +01:00
translations.json Frontend: Update translations.json #2083 2022-03-01 16:37:38 +01:00
translations.pot Frontend: Update toolbar icons, fix layout, and improve about 2022-03-02 09:04:28 +01:00
zh.po Translated using Weblate (Chinese (Simplified)) 2022-03-11 13:54:00 +01:00
zh_TW.po Translated using Weblate (Chinese (Traditional)) 2022-03-11 13:54:01 +01:00

Frontend 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 %{n} files found, 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.

*.po files contain localized messages for each language identified by their locale, for example de.po for German and pt_BR.po for Brazilian Portuguese. You can open, edit, and save them with Poedit to update existing translations.

To add a new translation, open translations.pot, click on "Create New Translation" at the bottom and select the language. Now you can start translating. When done, save your translation as *.po file using the locale as name. In addition, the new language needs to be added to the Languages function in /frontend/src/options/options.js.

A binary *.mo (machine object) file will be automatically saved along with every *.po file. You won't be able to open those in a text editor, but please include them in git commits or when sending translations via email. The compiled translations.json file is not required for pull requests and often causes merge conflicts.

If you have a working development environment in place:

Running npm run gettext-compile in the frontend directory compiles existing translations into a single translations.json file.

Now start a frontend build using npm run build or keep

npm run watch

running in the background to automatically recompile JS and CSS whenever there are changes. Lastly, make sure photoprism is running and open the Web UI in a supported browser. Changing the language in Settings automatically triggers a reload.

To extract new or changed text needing translation from *.js and *.vue source code, run

npm run gettext-extract

in the frontend directory. This updates the POT file translations.pot.

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