We have developed an application using Outsystems platform. Now we are looking for it to support Internationalization.
How can I show the date time in particular format based on browser culture. In my application I'm having default calendar widget provided out of the box by platform which shows date also I am using expressions to show date time information.
Can you please suggest what should be the best way to achieve this simple requirement.
Proper localization is far from a "simple requirement", unfortunately. For one, OutSystems applications generate the content server side, so it's difficult to get the browser's culture. Apart from that, you'll need to use SetCurrentLocale() to set the locale, and manually (unfortunately) format all the dates according to that locale (we've created an extension that does that).