Is starting a i18n project to translate only the dates ?

19 views
Skip to first unread message

Laurent Lyaudet

unread,
Sep 12, 2022, 12:22:28 PM9/12/22
to Django users
Hello,

Django defines some strings to translate even before any code is added in a django app.
Is there a default .po for these strings in various languages ?

I looked at the source code for date formating in Django on Github.
And it uses gettext to translate months for example :
It seems thus that a .po file is mandatory to have it in another language than English

Until now we formatted dates using python (and probably python uses system locales).
I wanted to use Django features instead but it seems to be quite cumbersome to start an i18n project just for dates translations.

Thanks, best regards,
     Laurent Lyaudet


Reply all
Reply to author
Forward
0 new messages