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

Help wanted with translations ! #31

Open
Ximi1970 opened this issue Jun 15, 2020 · 0 comments
Open

Help wanted with translations ! #31

Ximi1970 opened this issue Jun 15, 2020 · 0 comments
Labels
help wanted Extra attention is needed

Comments

@Ximi1970
Copy link
Owner

Ximi1970 commented Jun 15, 2020

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 😃

Thank you!

@Ximi1970 Ximi1970 added the help wanted Extra attention is needed label Jun 15, 2020
@Ximi1970 Ximi1970 self-assigned this Jun 15, 2020
@Ximi1970 Ximi1970 pinned this issue Jun 15, 2020
@Ximi1970 Ximi1970 removed their assignment Sep 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant