i18n doesn't work at production environment on heroku

前端 未结 7 1524
陌清茗
陌清茗 2021-01-05 02:30

I have seen more than one hundred posts about i18n issues and no solution seems to solve my problem.

I have an app running with Django 1.3.1 and it works Fine at my

7条回答
  •  予麋鹿
    予麋鹿 (楼主)
    2021-01-05 02:59

    By default, compiled translation files (*.mo) are ignored by git. Verify that you have this exception removed from your .gitignore file.

    If that is the case, remove this exception, add these files to git, commit and push to Heroku to have them available to the app in Heroku.

提交回复
热议问题