Django: Only a single element gets translated

前端 未结 2 1027
你的背包
你的背包 2021-01-07 01:35

Porting a Django site from 1.2 to 1.5 on Python 2.6 i ran into problems with internationalization.

The wierd thing is that only one string gets translated in the en

2条回答
  •  天涯浪人
    2021-01-07 01:45

    Gah! I got bit by the same issue as this guy : https://code.djangoproject.com/ticket/18492

    Namely that a trailing comma was missing in the LOCALE_PATHS tuple. Too bad Django doesn't raise an error for that.

提交回复
热议问题