First time here? Check out the FAQ!
0

How to localize month names?

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

odyssey's avatar
48
odyssey
asked 2013-12-08 16:01:19 -0500
edit flag offensive 0 remove flag 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's avatar odyssey (2013-12-09 05:49:10 -0500) edit
add a comment see more comments

1 Answer

0

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.

Evgeny's avatar
13.2k
Evgeny
answered 2013-12-09 12:41:14 -0500
edit flag offensive 0 remove flag delete link

Comments

Arghh, thats right, thanks a lot.

odyssey's avatar odyssey (2013-12-09 13:00:07 -0500) edit
add a comment see more comments