Is there inbuild support for languages? For example if I set the simulator to French I still see "Mon" for Monday. Whats the best way to add language support for the inbuild text like months, days etc
var day = Calendar.info(now, Time.FORMAT_MEDIUM).day_of_week;
var month = Calendar.info(now, Time.FORMAT_MEDIUM).month;
var dateString = Lang.format("$1$ $2$ $3$", [day, info.day.format("%02d"), month]);
Shows English version of month despite the simulator language setting.
The Calendar values are not translated in the simulator, except of Chinese, Japanese, and Thai. I've created a task to add support for all the languages to this module.