Vivek S
Vivek S

Reputation: 5540

automatic transalation of django.po files using google translator

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?

Upvotes: 3

Views: 4925

Answers (3)

VictorIsaac
VictorIsaac

Reputation: 1

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.

Upvotes: -1

Ankit Popli
Ankit Popli

Reputation: 2837

It's late but it might help someone else :)

You can try the module django-autotranslate.

Hope this helps :)

Upvotes: 4

Aidas Bendoraitis
Aidas Bendoraitis

Reputation: 4003

You can try django-rosetta app. It has automatic ajax-based bing translation as an option.

https://github.com/mbi/django-rosetta

Upvotes: 0

Related Questions