开发者

Django localize built-in widgets

I use Django built-in开发者_运维技巧 widgets like AdminSplitDateTime. However, strings used in this widget aren't localized as they're in JavaScript. How to correct that?


Did you taked a look the Django documentation about that subject? Or maybe it's something else that you want?

The main idea is that JS does not have a native implementation of gettext, so you need to use an special catalog.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜