Ask Your Question

How to localize month names?

asked 2013-12-08 16:01:19 -0500

odyssey's avatar

setting LANGUAGE_CODE to the correct locale does not seem to change the month names. I'm running it on ubuntu. Any suggestions?

edit retag flag offensive close merge delete


Update: When I change LANGUAGE_CODE to de, the month names change accordingly to german, but not with 'tr', turkish language, Can this be related to some issue with django's own po files?

odyssey's avatar odyssey  ( 2013-12-09 05:49:10 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted

answered 2013-12-09 12:41:14 -0500

Evgeny's avatar

The abbreviated month names are set by javascript, because the human readable timestamps are periodically updated within the browser, so the localization should go to the djangojs.po file within your locale.

edit flag offensive delete link more


Arghh, thats right, thanks a lot.

odyssey's avatar odyssey  ( 2013-12-09 13:00:07 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools


Asked: 2013-12-08 16:01:19 -0500

Seen: 282 times

Last updated: Dec 09 '13