Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What is the Neutral Language setting used for?

You can find the setting accessing:

WinForms Application Properties->Application->Assembly Information->Neutral Language

like image 491
tzup Avatar asked Jun 23 '09 08:06

tzup


People also ask

What neutral language means?

The "neutral language" has a totally regular grammar that does not favor anyone, a limited a-priori basic vocabulary, word-building by compounding, and phonetic spelling.

What is gender-neutral language and why is it important?

“It's important to use gender-neutral terms whenever you are referring to something that includes both men and women or could be done by either a man or a woman because it is the most accurate description of reality."

Is there such a thing as neutral language?

English is considered to be a neutral language, which is different to other gendered languages spoken around the world like French, Spanish, Arabic and Hindi, where traditionally everything is either masculine or feminine, including objects.


2 Answers

The neutral language is used for determining which language resource that will be used when no resources are found for the language in which the application is currently run. This is called the "resource fallback process" (scroll down a bit on the page for more info).

like image 130
Fredrik Mörk Avatar answered Oct 12 '22 01:10

Fredrik Mörk


I believe it sets the NeutralResourcesLanguageAttribute for the assembly. From the docs:

The NeutralResourcesLanguageAttribute informs the ResourceManager of the language used to write the neutral culture's resources for an assembly, and can also inform the ResourceManager of the assembly to use (either the main assembly or a satellite assembly) to retrieve neutral resources using the resource fallback process. When looking up resources in the same culture as the neutral resources language, the ResourceManager automatically uses the resources located in the main assembly, instead of searching for a satellite assembly with the current user interface culture for the current thread. This will improve lookup performance for the first resource you load, and can reduce your working set.

Does that help? You might also want to look at Kim Hamilton's blog post on the topic.

like image 23
Jon Skeet Avatar answered Oct 12 '22 00:10

Jon Skeet