Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Czech translations #902

Closed
graciousgrey opened this issue Jan 15, 2021 · 3 comments
Closed

Add Czech translations #902

graciousgrey opened this issue Jan 15, 2021 · 3 comments
Assignees
Labels
enhancement Optimization, improvement or maintenance task released Available in the stable release

Comments

@graciousgrey
Copy link
Member

The scope of this issue is to add translations for a new language:

Acceptance Criteria:

Add frontend translations

  • In /frontend run npm run gettext-extract
  • Install a translation tool e.g. Poedit
  • Open the /frontend/src/locales/translations.pot file with Poedit
  • In Poedit click on "Create New Translation" at the bottom --> select the language, and start translating
  • When done, save your translation as *.po file using the two-letter language locale as name
  • Add the new language in /frontend/src/options/options.js
  • Run npm run gettext-compile
  • To test your translations you need to build the frontend again using npm run build or npm run watch

Add backend translations

  • Run make generate
  • Open the /assets/locales/messages.pot file with Poedit
  • In Poedit click on "Create New Translation" at the bottom --> select the language, and start translating
  • When done, create a new directory (using the locale as name) and save your translation there as default.po

If you need help setting up the development environment read our setup guide --> https://docs.photoprism.org/developer-guide/setup/.
We also provide some more information on translations in our docs -->
https://docs.photoprism.org/developer-guide/translations/

@Shamshala
Copy link
Contributor

Thanks! Assign please.

@lastzero lastzero added the enhancement Optimization, improvement or maintenance task label Jan 15, 2021
@lastzero lastzero added this to Development 🐝 in Roadmap 🚀✨ Jan 15, 2021
@lastzero lastzero moved this from Development 🐝 to Testing 🐳 in Roadmap 🚀✨ Jan 16, 2021
@lastzero lastzero added the please-test Ready for acceptance test label Jan 16, 2021
Roadmap 🚀✨ automation moved this from Testing 🐳 to Done 🌈 Jan 17, 2021
@lastzero lastzero added released Available in the stable release and removed please-test Ready for acceptance test labels Jan 17, 2021
@Shamshala
Copy link
Contributor

Ok, now i noticed "fuzzy" flag causes that the translation won't apply those lines at all, dang it. 😄

And one thing i want to make sure, what "Checked" in the photo editor means? I thought it has something to do with Review but after an inspection in the GUI it doesn't look like so.

@lastzero
Copy link
Member

Automatically checked / metadata optimized if needed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Optimization, improvement or maintenance task released Available in the stable release
Projects
Roadmap 🚀✨
Released 🌈
Development

No branches or pull requests

3 participants