OneMoreGres / ScreenTranslator

Screen capture, OCR and translation tool.
MIT License
913 stars 118 forks source link

Translation of the software into Hebrew #133

Open Y-PLONI opened 1 year ago

Y-PLONI commented 1 year ago

Interested in helping translate the software into Hebrew. Really enjoyed it I would be happy if you send me the language files by email, in TXT format, and I will return it to you by email as well. The email is: 7353755@GMAIL.COM Thank you!

OneMoreGres commented 1 year ago

Hi! It's easier to attach language files here. I add them in two formats (ts (xml) to open in Qt Linguist or po (txt) to open in something else) lang.zip

Y-PLONI commented 1 year ago

Hi! I translating, I'm not available for it much... I am supposed to translate the lines that begin with: msgctxt or msgid ? (I previously worked on a translation within DLL files, where the form of translation was different)

OneMoreGres commented 1 year ago

"msgstr" :D You can use poedit or something similar for convenience

Y-PLONI commented 1 year ago

I really wasn't familiar with this software before, and it's really convenient (it's even more convenient, for those who pay money...) I'm done translating, and thanks for the wonderful software! I've been looking for such a thing for a long time! I would love for you to guide me on what to do with these files and where to copy them, so that I can examine the translation before publishing, in Hebrew translation sometimes things go wrong... Just a few improvements I'd love to suggest:

  1. Instead of OCR, the text displayed to the screen itself can be captured, similar to Microsoft's "Narrator" software, which is able to read any text on the screen.
  2. Following the previous improvement, it will be possible to switch the text on the screen, to the translated text, without a separate window at all!
  3. Enable offline translation by downloading translation files. Thank you lang.zip
OneMoreGres commented 1 year ago

Thanks for the willingness to contribute! To test the translation you need compile the translation via Qt Linguist (open .po file in it and choose compile in the menu). Then place the resulted .qm file into the translations folder next to the screen-translator.exe. Then start the app. If your system's language is Hebrew then the app should load the translation.

There is the compiled .qm file screentranslator_he.zip

About improvements:

  1. Haven't seen the Narrator, but I'll think about the idea. Though I don't plan working on this app anysoon
  2. I'm not sure how it works, but I suppose these texts are read-only and can't be changed
  3. Offline translation is in future plans (see 1. though)
Y-PLONI commented 1 year ago

First of all thank you, really I see that there is something to improve, and hope soon. You are available fast, and I appreciate you very much! It's not obvious! Regarding improvement 1, I misspelled, see here: https://support.microsoft.com/en-us/windows/complete-guide-to-narrator-e4397a0d-ef4f-b386-d8ae-c172f109bdb1 By the way, Android has several applications for translation on the screen itself, there's no reason why Windows shouldn't have the option, right?

Y-PLONI commented 1 year ago

How do you convert a PO file to QM and vice versa? I just don't know...

OneMoreGres commented 1 year ago

There is only one way conversion (from po to qm). To convert it you need to compile the translation via Qt Linguist (open .po file in it and choose compile in the menu)

Y-PLONI commented 1 year ago

Thank you! Here is the updated file. How are you going to post this? As a separate file, or within the software? screentranslator_he.zip

OneMoreGres commented 1 year ago

Thank you too! For now I'll add it as a separate file with a link from the readme. I'll add it to the app in the next release

Y-PLONI commented 1 year ago

Hope another edition will be released soon. In my community there are many who avoid using the Internet, for religious reasons. I'm not a programmer, and I have no idea how to do it. Can you do that? I will try to help as much as possible! Required files, links and things like that. I also have a community that I can consult with. But of course, in the end this is something you will have to work on, and I will understand you if you cannot.

OneMoreGres commented 1 year ago

As I said before, I don't work on this app for now. So I don't know when the next release will be. If you want to bundle the translation into the app archive, you can do it by yourself (just unpack, add file and pack again) and share with ones you want. Or I can do the same and place the new archives next to the old ones. If you mean to add the offline translation, then it will be really someday.