Your resource file is correctly named, however, you're not setting the full and correct CultureInfo
.
It needs to be the full name I.E de-DE
The full code breaks down as the language (de
) part and country (DE
) part, separated by the -
hyphen.
ci = new System.Globalization.CultureInfo("de");
Should be
ci = new System.Globalization.CultureInfo("de-DE");
Other examples would be:
en-US
= English USen-CA
= English Canadaen-GB
= English Great Britainfr-CA
= French Canadafr-FR
= French France
More info on the CultureInfo.