How to localize Content of a Django application

后端 未结 9 1666
暖寄归人
暖寄归人 2020-12-24 09:16

Hey, i am currently working on a django app for my studies, and came to the point of l18n. Localizing the site itself was very easy, but now i have to allow users, to transl

9条回答
  •  有刺的猬
    2020-12-24 10:19

    I would suggest checking out django-multilingual. It is a third party app that lets you define translation fields on your models.

    Of course, you still have to type in the actual translations, but they are stored transparently in the database (as opposed to in static PO files), which is what I believe you are asking about.

提交回复
热议问题