开发者

Django models and multilingual websites

I have a model that has multiple text properties - title, short 开发者_如何学Pythonand long description etc. I want to have multilanguage site so I need a way to easy by able to add new languages and translations for this field for every item. What is the best way to achieve this?


Django has built-in support for I18N (read internationalization):

  • http://docs.djangoproject.com/en/dev/topics/i18n/internationalization/

Some possible multilingual model candidates:

  • http://code.google.com/p/django-multilingual-model/
  • http://and-other-things.blogspot.com/2009/04/list-of-django-multilingual-model.html


I found that django transmeta, also listed by The Myyn is actually quite right for what llian is looking for. We have a very similar setup in production for some of our high traffic websites.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜