Translating a Django website

66 views
Skip to first unread message

אורי

unread,
Jun 12, 2023, 5:06:57 AM6/12/23
to django...@googlegroups.com
Hi,

I have a website in English and Hebrew which I want to translate into French. The website has about 3 or 4 .po files in each language, which should be translated. But the translators I talked to want to have it in a Word or Excel format. Is it possible to export .po files into Excel formats or CSV? Notice that some translations include context (for example male or female), and the context itself should be used too. I think it's better to send them the Hebrew .po files which contain English and Hebrew, and then they will translate it to French. So is it possible to convert it into CSV format?

Thanks,
Uri Rodberg, Speedy Net.

Vishesh Mangla

unread,
Jun 12, 2023, 5:22:55 AM6/12/23
to django...@googlegroups.com
Why don't you use Google translate api?

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CABD5YeE06_ZTLvJPZU-Y4RqoF3jpKBQN4cWad8tybZwEUsk_zA%40mail.gmail.com.

Vishesh Mangla

unread,
Jun 12, 2023, 5:26:18 AM6/12/23
to django...@googlegroups.com
Use a function translate(text) which should include pass it through the Google api, you would need to cache the response too to avoid multiple api calls

Sebastian Jung

unread,
Jun 12, 2023, 5:54:37 AM6/12/23
to django...@googlegroups.com
Because for professionel website no one use automatic translation...

אורי

unread,
Jun 12, 2023, 7:19:22 AM6/12/23
to django...@googlegroups.com
Hi,

I found https://pypi.org/project/translate-toolkit/ but it's po2csv ignores the context - I filed an issue with GitHub: https://github.com/translate/translate/issues/4932

Any ideas on how to add context there?

Thanks,
Uri Rodberg, Speedy Net.

Комил Туев

unread,
Jun 12, 2023, 9:10:49 AM6/12/23
to django...@googlegroups.com
Hello dear

пн, 12 июн. 2023 г., 14:06 אורי <u...@speedy.net>:
--

MominTechPro

unread,
Jun 13, 2023, 2:47:35 PM6/13/23
to django...@googlegroups.com
hi sorry i am busy so i dont see your email
may i help you  

ivan harold

unread,
Aug 9, 2023, 11:25:40 AM8/9/23
to Django users
Reply all
Reply to author
Forward
0 new messages