Multilingual Locales - name of the months

Multilingual Locales - name of the months

  

Hi all !


It's the first time I have to "translate" the name of the months from English (using FormatDateTime with "MMMM" format) to Italian.


Is there a fast way (maybe with Multilingual Locales) to do that ?


Thanks


LUCA

Hi Luca,

Are you creating a Web App or a Mobile App?

Web App

Ok. I'm not sure whether the FormatDateTime responds to the current locale. You can set the locale via the SetCurrentLocale() System Action and try out. If that doesn't work, you could check this post. It involves creating an Eextension though...

Finally ... I solved creating a "stupid" function (with 12 switch cases) with the english text as input and "transalted" text in italian as output

Yeah, that's one solution :).