Amr Ellafy
Amr Ellafy

Reputation: 740

Localization in ASP.NET never worked for me !

I'm facing a strange issue, I'm trying to localize a website, so i converted it to a web application and generated resx file for each aspx and ascx file i have ( pagename.en.resx ..etc)

however the localization never worked with me. one thing to mention that when i open the resx files in the designer mode i find "Access Modifier" dropdown enabled on the upper right, on sample projects that works successfully i find the "Access Modifier" dropdown disable ?

Your suggestions are very much appreciated !

Upvotes: 1

Views: 387

Answers (2)

Amr Ellafy
Amr Ellafy

Reputation: 740

Resolved ! the issue was as follows : I defined resources files with language prefix : resourcefile.en.resx , resourcefile.jp.resx however ASP.NET requires a generic resource file like resourcefile.resx

Thank you all !

Upvotes: 1

Stefan
Stefan

Reputation: 1739

  • Try also declaring the culture:

  • Make sure that your browser settings include English as a language.

If that doesn't help, can you post some of the code of your aspx/ascx file in which you use localization?

Upvotes: 0

Related Questions