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…
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…
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 :
0
votes
1 answer

Global Resource File asp.net

Okay below image is explaining everything. i have also included the code for further explanation. Thread.CurrentThread.CurrentCulture = New CultureInfo(Session("Lang").ToString()) Dim rm As ResourceManager = New…
Waqar Ahmed
  • 203
  • 1
  • 4
  • 17
0
votes
1 answer

ASP.NET global resources issue

I got an issue which already cost me some evenings to resolve. I migrated a ASP.NET Web Project to a Web Application. My main issue are the .resx files below App_GlobalResources. Let's say that I have MyStrings.resx (= default culture) and…
Sparhawk
  • 1,517
  • 1
  • 14
  • 28
0
votes
1 answer

Multilingual ASP.NET Web Site doesn't work

Here is the link, where author explains how to a build multilingual website When I run the code, I get such an error mesage "An ASP.NET setting has been detected that does not apply in Integrated managed pipeline mode." Then I found such an…
gdrt
  • 3,160
  • 4
  • 37
  • 56
0
votes
1 answer

Read Global resource file inside controller

How can I read global resource file in MVC controller, I am using this code and it is not working Resources.BillingResource.Error; returns the following exception Could not load file or assembly 'Resources' or one of its dependencies. The…
Yasser-Farag
  • 592
  • 4
  • 9
  • 28
0
votes
1 answer

The resource file en-US not rendered properly

I have a silverlight application supports English, Japanese and French. I could change Japanese to French and French to Japanese and i tried to load French to English and Japanese to English it loads Japanese only. This issue exist only in Windows 7…
Sankar M
  • 4,549
  • 12
  • 37
  • 55
1 2
3