in reply to Re: Relationship between timezone country and locale territory? (updated x3)
in thread Relationship between timezone country and locale territory?

Hi haukex,

thank you very much for your hints and code. Due to the different wording, I had been quite sure that the country code and the territory code could not be the same. So your hints regarding the structure of locales' codes have been very important for me, and your code shows how to solve the problem.

By the way, I have no idea if even one single user will sign up for the application. But in the unlikely case that it becomes successful, I actually will have to support several dozens or even hundreds of locales. The application, if successful, will be translated into at least 8 languages and addresses private persons as well as commercial and non-commercial organizations all over the world.

The application does a lot of input, output and calculations of dates, times, currencies and other numbers, and it is of utmost importance that every user (after having logged in) is working in the time zone he has chosen, gets output in the locale he has chosen, and can give input in the locale he has chosen. Due to the nature of the application, the user should consistently use always the same locale and time zone, regardless of the browser he uses and from where he works.

Thanks again,

Nocturnus

  • Comment on Re^2: Relationship between timezone country and locale territory? (updated x3)