Questions tagged [app-globalresources]
42 questions
0
votes
1 answer
How to check if WebResource exists for a specific language?
I have an App_GlobalResources folder populated with .resx files, e.g. WebResources.de.resx, WebResources.fr.resx.
How can I programatically check using C# that a specific WebResource file exists (or not) for a particular language (e.g. en, fr, de)?

Liron Harel
- 10,819
- 26
- 118
- 217
0
votes
0 answers
Getting an error when compiling after Web resource change
I am getting this error when trying to run my ASP.NET 4.6.1 C# web project:
The namespace 'Resources' already contains a definition for 'WebResources'
This happened after I've added a new Korean language resource file to the…

Liron Harel
- 10,819
- 26
- 118
- 217
0
votes
1 answer
Make a multilingual application in asp.net
I created an MVC web application using asp.net and visual studio 2012.
Now, I want to make it multilangual. Depending on the browsers language of the user, to open the page in one language or an other automatically.
I was searching on the internet…

SomeAnonymousPerson
- 3,173
- 1
- 21
- 22
0
votes
1 answer
Access a global resource from cshtml
I create a web app in visual studio 2012 and I also create a global resource file in order to use the same page in different languages.
I create a few key-value for each language I want and now Im trying to get that value from the cshtml.
I tried…

SomeAnonymousPerson
- 3,173
- 1
- 21
- 22
0
votes
1 answer
ASP.NET webforms - How to access local resource (.resx) in different project
We have a project that has all of our web controls. In another project, is the "control host" that renders web controls as per user customization.
All of our web controls are localized. However, we need to access some of the string resources (e.g.…

socialMatrix
- 1,423
- 5
- 20
- 36
0
votes
1 answer
Localization of Custom Controls in a redistributable assembly
I'm trying to build a redistributable assembly containing several custom controls (CommonControls).
My environment: MSVC 2010, ASP.NET (WebForms) .NET 2.0/3.0/3.5
The problem: Compiling everything with a Web Deployment Project won't work if I…

Tobias81
- 1,820
- 1
- 16
- 17
0
votes
1 answer
Session or Cookies in login page = master page = child page
I' creating a multilanguage website and I have some files :
login page.
master page.
child page using master page.
In login page, I used link control for choose language by user :