automeris-io / WebPlotDigitizer

Computer vision assisted tool to extract numerical data from plot images.
https://automeris.io
GNU Affero General Public License v3.0
2.58k stars 354 forks source link

Feature Request: i18n Support #319

Open Social-Mean opened 4 months ago

Social-Mean commented 4 months ago

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 commented 4 months ago

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 commented 4 months ago

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

ankitrohatgi commented 4 months ago

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 commented 4 months ago

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 commented 4 months ago

@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 commented 4 months ago

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

(reopening this issue for now)

nbehrnd commented 4 months ago

@ankitrohatgi Maybe

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

501586528 commented 1 week ago

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 commented 1 week ago

@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 commented 1 week ago

@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 commented 1 week ago

@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 commented 1 day ago

@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 commented 16 hours ago

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 :)