Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Create custom culture without registering it

Is it possible to create a custom culture without registering it in Windows? Every solution and documentation refers to CultureAndRegionInfoBuilder class with calling Register after new culture has been created. But registration of custom culture alters cultures visible in OS and besides it requires admin privileges.

If it's not possible there're two ways to avoid registering a new culture:

  1. avoid using custom culture as long as possible, i.e. stick to standard cultures. It can work for now, but I don't know for how long.
  2. register custom culture during application install. This is not the option since we can't guarantee admin privileges since we would like to update application remotely.

Are there any ways?

like image 895
Dmitrii Lobanov Avatar asked Mar 25 '13 04:03

Dmitrii Lobanov


1 Answers

You must register the custom culture in order to make use of it.

like image 55
Eric MSFT Avatar answered Sep 30 '22 18:09

Eric MSFT