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?

To enter a block of code:

  • enter empty line after your previous text
  • paste or type the code
  • select the code and press the button above
Preview: (hide)
odyssey's avatar
48
odyssey
asked 11 years ago

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 (11 years ago)
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.

To enter a block of code:

  • enter empty line after your previous text
  • paste or type the code
  • select the code and press the button above
Preview: (hide)
Evgeny's avatar
13.2k
Evgeny
answered 11 years ago
link

Comments

Arghh, thats right, thanks a lot.

odyssey's avatar odyssey (11 years ago)
see more comments