Set Default Locale isn't work on production environment.

I have some trouble about setting default language. Our Outsystems version is 10.

I use SetCurrentLocale.
It works on Dev and QA but It's not work on production. Config checking is done.


If anyone has any input I would really appreciate it.

Buoy wrote:

I have some trouble about setting default language. Our Outsystems version is 10.

I use SetCurrentLocale.
It works on Dev and QA but It's not work on production. Config checking is done.


If anyone has any input I would really appreciate it.

Hi there,

Are you getting any error via service center? Where are you setting the Locale, at the system event "OnSessionStart" or via some common WB like header?


Kind regards,

Hugo


Hi,

What if you had a server action for example GetDefaultLocale that would choose Locale pt-PT from aggregate. Assuming that all your aggregates have the locale and that they are filtering through LocaleId.

 Would it work in production?

Hi Guys,
First of all Thanks for your help.

My team find the way out. It's because session in each dependency application is separated. So we need to create Public server action to get/set current local.

Thanks again :)