Ask Your Question
0

How to localize month names?

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

odyssey gravatar image

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

Comments

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 gravatar imageodyssey ( 2013-12-09 05:49:10 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted
0

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

Evgeny gravatar image

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

Comments

Arghh, thats right, thanks a lot.

odyssey gravatar imageodyssey ( 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

Stats

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

Seen: 169 times

Last updated: Dec 09 '13