Ask Your Question
2

Format Localization and Time Zone settings

asked 2012-05-01 08:26:12 -0500

zaf gravatar image zaf
554 8 8 26

Happy 1st May everyone!

I want to set up dates and times in askbot, so that they appear in a format/language familiar to my users. I see here how I can play with the formats. What I don't see is how to localize these formats? Most of my users will not be english people, so for example, when %b format used (like in Apr 30), I don't want the word Apr to appear, but Απρ, which is the greek translation.

Do you know if django has any solution to this?

Also, I was reading this and this django docs and I was wondering if Askbot's current version supports these, so that users are able to see the same data but in different format, according to their timezone and locale. And if it's not supported, is there any future plans about these?

delete close flag offensive retag edit

1 Answer

Sort by » oldest newest most voted
1

answered 2012-05-01 09:07:40 -0500

Evgeny gravatar image Evgeny flag of Chile
11009 50 84 182
http://askbot.org/

The date/time localization is a feature of Python. http://docs.python.org/library/locale.html

It has not yet been used in askbot.

link publish delete flag offensive edit

Your answer

Please start posting your answer anonymously - your answer will be saved within the current session and published after you log in or create a new account. Please try to give a substantial answer, for discussions, please use comments and please do remember to vote (after you log in)!

[hide preview]

Reliable Askbot Hosting

Create your Q&A site at askbot.com. Managed Askbot hosting at just $15/mo. Dedicated hosting, support contracts, consulting services.

create your Q&A site
30 days free trial

Question tools

Follow

subscribe to rss feed

Stats

Asked: 2012-05-01 08:26:12 -0500

Seen: 62 times

Last updated: May 01 '12