How to localize static content in database with Django

Posted by man with python on Stack Overflow See other posts from Stack Overflow or by man with python
Published on 2010-04-07T07:21:31Z Indexed on 2010/04/07 7:23 UTC
Read the original article Hit count: 230

Filed under:
|
|

My app has tables for languages and countries (actually django-countries at the moment, but open for suggestions). The tables are populated when I initialize the database and remain static after that.

What would be the ideal localization mechanism for the contents of these tables, so that I can show the country and language names to users in their chosen site language?

I'm aware of projects like django-multilingual and transdb, but IMO they are more suitable for dynamic content, i.e. stuff that's supposed to be modified.

Please englighten me!

© Stack Overflow or respective owner

Related posts about python

Related posts about django