timezones editing

This is a place to discuss how to adapt mojoPortal to the needs of different cultures. Before asking questions here please first review the localization documentation.

This thread is closed to new posts. You must sign in to post in the forums.
10/15/2009 11:39:19 AM
Gravatar
Total Posts 116
http://www.zoomicon.com http://birbilis.spaces.live.com http://www.delicious.com/birbilis http://twitter.com/Zoomicon

timezones editing

are the timezones editable somehow at the db or elsewhere?

e.g. I'd like

EET(Eastern Europe Time), Kaliningrad, South Africa

to say

EET(Eastern Europe Time), Athens, Bucharest, Istanbul

similar to how it shows in Windows (since our users are mostly in

Greece)

10/15/2009 11:40:35 AM
Gravatar
Total Posts 116
http://www.zoomicon.com http://birbilis.spaces.live.com http://www.delicious.com/birbilis http://twitter.com/Zoomicon

Re: timezones editing

Joe's reply for your reference:

The data comes from App_GlobalResources/TimeZoneResources.resx



10/16/2009 7:12:25 AM
Gravatar
Total Posts 18439

Re: timezones editing

Hi George,

Those .resx files are really for localization not customization, whenever you upgrade they will be overwritten and customizations will be lost.

I've made the same change you requested to my copy though as I agree with you if that is a windows default string you sent me.

For example to translate strings (for buttons and labels etc) for Greek language you could make resource files name *.el.resx and translate the English string to Greek. If you send me the resulting files I will include them in mojoPortal. By default mojoPortal will localize built in string according to your browser language preference, but you can also force a specific language as specified on the bottom of this page.

Best,

Joe

10/16/2009 8:03:26 AM
Gravatar
Total Posts 116
http://www.zoomicon.com http://birbilis.spaces.live.com http://www.delicious.com/birbilis http://twitter.com/Zoomicon

Re: timezones editing

I wonder if there's some .NET API to give timezone names (however I assume it would give them only on the OS locale [or if MUIs are installed on more locales if requested somehow maybe])

When I find some time I'll look into providing a Greek localization for mojoPortal to support its community (for our robotics lab's research portal it's not needed, so it's not highest priority)

If one wanted to make customizations to english strings that wouldn't be replaced by new versions of mojoPortal would they need to define a custom language? (like en-custom or en-nv [nv=neverland :)]). I guess they could only add the strings they need and the rest would fallback to the normal english ones? Just an idea, wonder if there's better way

10/16/2009 8:09:44 AM
Gravatar
Total Posts 18439

Re: timezones editing

Hi George,

There is a new class as of .NET 3.5 named TimeZoneInfo that is much better than what we have right now in mojoPortal. For example once we implement this users will be able to select their time zone on the profile page, as they can now, but we will be able to automatically adjust for daylight savings time.

The only reason I have not yet changed to this yet is because last time I checked it was not supported in Mono and I don't want to break compatibility. It may be implemented now, I will check again soon. However I think there will be a downside to this in that the Time Zone names will no longer be easily localizable.

Best,

Joe

You must sign in to post in the forums. This thread is closed to new posts.