[Answered ]-Is there any helper modules for i18n using django?

2đź‘Ť

âś…

Well I am not aware of any “auto-translate” django apps for this. It would be an interesting though…

I know of a nifty Django App called – django-mothertongue. This app makes it very easy to detect and add support for a new language. This should be perfect for dealing with static text being shown in different languages. For example you have some static text X and what to show this in 20 different languages. Use Google Translate to manually translate X to these 20 languages and store it.

But the problem with this is that it does not do auto-translate.

Auto language translate is a complex feature involving deep language understanding and NLP techniques and for a django app to do it is impractical. What I would suggest you do it to take the help of Google Translate Developers API and plug it in to the either django-mothertongue or directly into django-i18. So with Google Translate you could theoretically do on the fly language detection and language translate from one language to another. If you are taking this approach beware that Google Translate is still leaning model and I have seen it goof up royally in more cases than one.

Leave a comment