Internationalizing .NET Applications

We have just begun to learn what is needed to internationalize our applications. One thing that I don’t quite understand about is how the .NET Framework decides which language / culture to use when displaying messages to users, etc. Does it based on the installed version of Windows (French, German, etc.) And / or region / location selected in any version of Windows?

Many thanks.

+3
source share
3 answers

It uses both pieces of information.

Two main properties: Thread.CurrentCulture and Thread.CurrentUICulture

  • CurrentCulture is used to determine the default formatting (i.e. 12/31/2009 or 12/31/2009).
  • CurrentUICulture , .

, Framework .

+1

It uses the culture and culture that you configured in the regional settings from the control panel. If an application does not have internationalized resources for this culture, it uses standard ones.

0
source

Source: https://habr.com/ru/post/1764749/


All Articles