Code can not find resources for Serbian language

advertisements

I have app writen in c#, and that app have multiple languages en-US fr-FR...etc.

My language files is .resx. So i try to add new language Serbian and i got exception

{"Could not find any resources appropriate for the specified culture or the neutral culture. Make sure \"Vim.lang.language.resources\" was correctly embedded or linked into assembly \"AVIM\" at compile time, or that all the satellite assemblies required are loadable and fully signed."}

All other languages work good.

 this.culture = new CultureInfo("sr-SP-Latin", false);
 this.resourceManager = new ResourceManager(this.resourceFile, typeof(Program).Assembly);

How to slove this problem?


You're using the incorrect value, use sr-Latn-RS

MSDN