po-translator
Moderator: Forum Moderators
- hermestrismi
- Posts: 737
- Joined: February 6th, 2016, 11:28 pm
- Location: Tunisia
- Contact:
po-translator
I know how hard is it to translate a long campaign line by line so I created this po manager to make it possible to extract all msgids, copy them into a .txt file, translate them with any translator then upload them back to po file.
note that this not meant to replace poEditor and it is not fully working (working and tested but limited especially for multi lines) but to help and facilitate the job.
Steps are explained and comments especially bug reports are welcome .
note that this not meant to replace poEditor and it is not fully working (working and tested but limited especially for multi lines) but to help and facilitate the job.
Steps are explained and comments especially bug reports are welcome .
- Attachments
-
po-translator.rar
- (8.91 KiB) Downloaded 16 times
-
translated_strings 28.txt
- sample of translated strings ready to upload back
- (1.49 KiB) Downloaded 17 times
The Dark Master, The Dark Hordes (Unofficial version), Return of the Legion , Eternal Kingdom, An Elvish Scout,Unrest in Elfland , Hidden War ...
The Dark Master Project, Arabic tra. maintainer
"But he loves you" G. Carlin
The Dark Master Project, Arabic tra. maintainer
"But he loves you" G. Carlin
Re: po-translator
Hi, hermestrismi,
first, I have been following your work on the Wesnoth translation, and find you efforts admirable.
Second, I have put together some pieces and would like to share the result:
The chain comprise of DeepL API (free for up to 500k chars/month), gettext utils and potrans. If you want further details, just let me know.
first, I have been following your work on the Wesnoth translation, and find you efforts admirable.
Second, I have put together some pieces and would like to share the result:
Code: Select all
michal@ryzetka:~/tbfw/wesnoth-cs$ LANG=C w.sh deepl help
./wesnoth-help.po: 769 translated messages, 2 untranslated messages.
------------------------------
PO trans translator
------------------------------
Input: /tmp/tmp.72nbEJRlI9
Translate: from en to cs
Output dir: /tmp/tmp.DZ2AfMDL9U/
Translating progress:
2/2 [============================] 100%
Translated : 2 sentences
DONE!
/home/michal/tbfw/wesnoth-cs
......................................................................................................... done.
./wesnoth-help.po: 769 translated messages, 2 fuzzy translations.
- hermestrismi
- Posts: 737
- Joined: February 6th, 2016, 11:28 pm
- Location: Tunisia
- Contact:
Re: po-translator
thank you for sharing .
unfortunately , I can't get an API key. my purpose is to help not to replace . of course, there better solutions but not with all features combined .
unfortunately , I can't get an API key. my purpose is to help not to replace . of course, there better solutions but not with all features combined .
The Dark Master, The Dark Hordes (Unofficial version), Return of the Legion , Eternal Kingdom, An Elvish Scout,Unrest in Elfland , Hidden War ...
The Dark Master Project, Arabic tra. maintainer
"But he loves you" G. Carlin
The Dark Master Project, Arabic tra. maintainer
"But he loves you" G. Carlin
- hermestrismi
- Posts: 737
- Joined: February 6th, 2016, 11:28 pm
- Location: Tunisia
- Contact:
Re: po-translator
version 0.0.2
notable improvements :
- better handling of multi-line sentences
- handle plural form.
- display fuzzy sentences
notable improvements :
- better handling of multi-line sentences
- handle plural form.
- display fuzzy sentences
- Attachments
-
po-translator2.rar
- (107.76 KiB) Downloaded 11 times
The Dark Master, The Dark Hordes (Unofficial version), Return of the Legion , Eternal Kingdom, An Elvish Scout,Unrest in Elfland , Hidden War ...
The Dark Master Project, Arabic tra. maintainer
"But he loves you" G. Carlin
The Dark Master Project, Arabic tra. maintainer
"But he loves you" G. Carlin
- hermestrismi
- Posts: 737
- Joined: February 6th, 2016, 11:28 pm
- Location: Tunisia
- Contact:
Re: po-translator
the new version , tested heavily.
link: https://github.com/nadhem000/Wesnoth-Toolkit-Hub
1. Download file as .zip,
2. un-zip it,
3. open 'Wesnoth Tools Hub',
4. open '/po-translator.html' or 'po_File_Dictionary_Extractor.html' in a browser,
5. follow 'how to use' instructions.
link: https://github.com/nadhem000/Wesnoth-Toolkit-Hub
1. Download file as .zip,
2. un-zip it,
3. open 'Wesnoth Tools Hub',
4. open '/po-translator.html' or 'po_File_Dictionary_Extractor.html' in a browser,
5. follow 'how to use' instructions.
The Dark Master, The Dark Hordes (Unofficial version), Return of the Legion , Eternal Kingdom, An Elvish Scout,Unrest in Elfland , Hidden War ...
The Dark Master Project, Arabic tra. maintainer
"But he loves you" G. Carlin
The Dark Master Project, Arabic tra. maintainer
"But he loves you" G. Carlin