问题
I am having a very big django.po file with all msgids populated. Now i need to substitute msgstr with the equivalent translated string.Every time i need to copy the string to google translator get the translated string and paste it to the file. Is there any too that can get the target language and populate all the msgstr's with the translated string?
回答1:
You can try django-rosetta app. It has automatic ajax-based bing translation as an option.
https://github.com/mbi/django-rosetta
回答2:
It's late but it might help someone else :)
You can try the module django-autotranslate.
Hope this helps :)
回答3:
Use hirak.cc/translate alernative google translation toolkit ( auto translation of po files )
回答4:
I had the same issue, and I'd already started doing it manually, I searched and found django-autotranslate check it out here https://pypi.org/project/django-autotranslate/ Its usage is explained in the same webpage. It worked for me, and I believe it'll work for you.
来源:https://stackoverflow.com/questions/11541541/automatic-transalation-of-django-po-files-using-google-translator