[SOLVED] How can I change the localization..

Answered Closed
0
0

 

 

Hi, I’m need to use the this format for double    (155.45) but Wisej put this variable as (155,45)..

I know, I can use a Replace() but i don’t like… I need to change the globalization maybe..

I tried (in Web.config):

<globalization uiCulture=”es” culture=”es-MX” />

 

But not work.

  • You must to post comments
Best Answer
0
0

 

 

Hi,

I have now the solution…

 

Public Sub setCulture(culture As String)
Thread.CurrentThread.CurrentCulture = New CultureInfo(culture, False)
Thread.CurrentThread.CurrentUICulture = New CultureInfo(culture, False)
End Sub

 

 

 

  • You must to post comments
Great Answer
0
0

Hi Michael,

You don’t need to change the locale on the thread. Wisej takes care of that, see:

https://docs.wisej.com/docs/concepts/localization

https://docs.wisej.com/docs/concepts/configuration

Best,

Luca

  • You must to post comments
Showing 2 results