systray-x icon indicating copy to clipboard operation
systray-x copied to clipboard

Help wanted with translations !

Open Ximi1970 opened this issue 4 years ago • 0 comments

Hi all,

I really would like some help with the translations!

Please have a look at the english (or dutch) locale as example and post the messages file in this thread.

https://github.com/Ximi1970/systray-x/blob/develop/webext/_locales

https://github.com/Ximi1970/systray-x/blob/develop/webext/_locales/en_US/messages.json

Even better, Clone the project and add the locale for your language directly into the code. You need to add a locale in the "webext/_locales" directory and "app/SysTray-X/SysTray-X-app/languages" directory.

For the Qt part add the locale first to the SysTray-X-app.pro file at the TRANSLATIONS var. Then run

lupdate-qt5 SysTray-X-app.pro

to generate the .ts file in the languages directory.

Now you can run

linguist-qt5

Find and load your .ts file and fill in the blanks. Save and Release the file and add then to the repo using

git add app/SysTray-X/SysTray-X-app/languages/SysTray-X.<your locale>.*
git add webext/_locales/<your locale>

And do not forget to add your name to the "Contributers" list in the README.md :smiley:

Thank you!

Ximi1970 avatar Jun 15 '20 07:06 Ximi1970