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

Feature Request: i18n Support #319

Open
Social-Mean opened this issue Mar 5, 2024 · 14 comments
Open

Feature Request: i18n Support #319

Social-Mean opened this issue Mar 5, 2024 · 14 comments

Comments

@Social-Mean
Copy link

Are developers interested in making their software support multiple languages? This would be beneficial for the spread of the software as well as its development. Users of each language can contribute their own translations to the project. 😃

@Social-Mean
Copy link
Author

It's my fault. This software will support i18n in 4.8. I did not find it because I am using old version. Sorry, I'll close this issue.

@Social-Mean Social-Mean closed this as not planned Won't fix, can't repro, duplicate, stale Mar 5, 2024
@Social-Mean
Copy link
Author

By the way, I don't know how to change the language. Where is the settings button?

@ankitrohatgi
Copy link
Member

Hi, i18n support has been part of WPD for years, but not advertised on the website much because the translations are not complete/verified. To access WPD in different languages, you can open the translated versions directly:

It's easy to add more languages if you are interested.

@Social-Mean
Copy link
Author

Thanks for your early reply. I am using the downloaded (offline) version, so I did not find the entrance of translated version before.
I have gone through the Simplified Chinese version, every thing is fine, and the translation is almost complete. I think we're ready to release a version that includes translations! Just add an option to switch languages in the settings.

@nbehrnd
Copy link
Contributor

nbehrnd commented Mar 6, 2024

@ankitrohatgi Avogadro manages translations with instances on weblate. (Because of the size of the project, it is organized in separate sub folders, hence there is avogadroapp about the core GUI, and avogadrolibs for some of the auxiliaries.) Whenever there are enough edits on weblate, weblate prepares a PR to the corresponding repositories on GitHub (app and libs). After manual approval and merge, the edits then enter the daily builds (this then equally runs automatically).

The Python editor thonny uses a slightly different route where translations can be prepared in an instance of poeditor. For this project, work on this platform enters GitHub whenever Aivar Annamaa compiles a new release of the program.

I consider these a useful complementary approach to amend translations managed with .po files: both developers and interested can recognize quickly for instance how much work is required to complete the work in one language, or if there are recent edits in the reference language not yet reflected in the other languages without need to fork and check-out the corresponding files. It is relatively easy to compare how a string was translated in an other language, or to help by a suggestion / discussion of a translation of a particular string with other translators -- all while the underlying syntax is managed e.g., by weblate (the files still can be fetched and edited "the standard way"). Hence this approach might be worth a consideration here.

@ankitrohatgi
Copy link
Member

@nbehrnd - thanks for the suggestions. I was using poedit for the po files until now.

(reopening this issue for now)

@nbehrnd
Copy link
Contributor

nbehrnd commented Mar 6, 2024

@ankitrohatgi Maybe

then can provide a source of inspiration how to attract contributors for this task with a brief paragraph.

@501586528
Copy link

By the way, I don't know how to change the language. Where is the settings button?

Hello, I also want to know how to change language

@Social-Mean
Copy link
Author

@501586528 Multi-language support is only available in online version by entering the website url mentioned by @ankitrohatgi

Hi, i18n support has been part of WPD for years, but not advertised on the website much because the translations are not complete/verified. To access WPD in different languages, you can open the translated versions directly:

https://apps.automeris.io/wpd/index.zh_CN.html for Simplified Chinese
https://apps.automeris.io/wpd/index.de_DE.html for German
https://apps.automeris.io/wpd/index.fr_FR.html for French

It's easy to add more languages if you are interested.

@Social-Mean
Copy link
Author

@501586528 Multi-language support is only available in online version by entering the website url mentioned by @ankitrohatgi

Hi, i18n support has been part of WPD for years, but not advertised on the website much because the translations are not complete/verified. To access WPD in different languages, you can open the translated versions directly:

https://apps.automeris.io/wpd/index.zh_CN.html for Simplified Chinese
https://apps.automeris.io/wpd/index.de_DE.html for German
https://apps.automeris.io/wpd/index.fr_FR.html for French

It's easy to add more languages if you are interested.

It is 404 now because the address has been changed, wpd -> wpd4, so the new urls are:

https://apps.automeris.io/wpd4/index.zh_CN.html for Simplified Chinese
https://apps.automeris.io/wpd4/index.de_DE.html for German
https://apps.automeris.io/wpd4/index.fr_FR.html for French

@501586528
Copy link

@501586528 Multi-language support is only available in online version by entering the website url mentioned by @ankitrohatgi

Hi, i18n support has been part of WPD for years, but not advertised on the website much because the translations are not complete/verified. To access WPD in different languages, you can open the translated versions directly:

https://apps.automeris.io/wpd/index.zh_CN.html for Simplified Chinese
https://apps.automeris.io/wpd/index.de_DE.html for German
https://apps.automeris.io/wpd/index.fr_FR.html for French

It's easy to add more languages if you are interested.

It is 404 now because the address has been changed, wpd -> wpd4, so the new urls are:

https://apps.automeris.io/wpd4/index.zh_CN.html for Simplified Chinese https://apps.automeris.io/wpd4/index.de_DE.html for German https://apps.automeris.io/wpd4/index.fr_FR.html for French

Thank you very much! So how can I build a offline win32 electron app with chinese ? I have tried to build following DEVELOPER_GUIDELINES.md in linux but failed.

@Social-Mean
Copy link
Author

@501586528

So how can I build a offline win32 electron app with chinese ?

Sorry, I'm not an electron developer. Maybe someone else can help you.

@ankitrohatgi
Copy link
Member

Hello, an electron version for v5 is being worked on and it should have an option to switch language. I am also hoping to add an option to switch languages in the online version. Just need 3-4 weeks :)

@ankitrohatgi
Copy link
Member

Hi, I just restored the chinese translation in v5 and you can either access it via this direct link (have to login): https://automeris.io/wpd/?lang=cn

or you can save the default language as a preference (see https://automeris.io/posts/ for details). You may need to hard reload WPD after changing this (e.g. pressing Ctrl and clicking reload on Windows/Linux)

The translation is missing is some parts of the UI. I will try to complete this at soon.

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

4 participants