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

Translation #196

Open
artpoli opened this issue Oct 6, 2020 · 3 comments
Open

Translation #196

artpoli opened this issue Oct 6, 2020 · 3 comments

Comments

@artpoli
Copy link

artpoli commented Oct 6, 2020

Hi,
I see there is a file Strings.resx in the Localization folder.
Is it possible to translate the plugin? What is the path structure and file name format for the language files?

Thanks!

@dannoe
Copy link
Contributor

dannoe commented Oct 6, 2020

So I looked into this a little bit.
I would be possible to translate the plugin by adding the corresponding .resx files. The only bad thing at the moment would be that there is no way to select the language. Currently the displayed language is set via Windows.
E.g. I have a German Windows, but an English KeePass. KeeTrayTOTP would be displayed in German, but the rest of KeePass would be in English.

If you are willing to translate KeeTrayTOTP into another language and make a pull request, I would add the ability to change the language, either through the KeeTrayTOTP settings or through the language set in KeePass.

@dannoe
Copy link
Contributor

dannoe commented Oct 6, 2020

I'm sorry, but I have to revert my previous answer after testing it with a PLGX build.
It looks like it's not that easy to include different languages via the resx system while using the plgx file.

I myself do not plan to add a translation system in the near future, but we would appreciate a contribution 😃

@artpoli
Copy link
Author

artpoli commented Oct 7, 2020

Thanks for reviewing my request and taking time to investigate the issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants