Questions tagged [app-globalresources]

42 questions
2
votes
2 answers

modify App_GlobalResources file force the application to restart

As the title said, if I update the values from App_GlobalResources file, the application will restart. Is there any way to prevent it?
2
votes
1 answer

How can I find missing Global Resource records?

I have 3 Global resource files: WebResources.resx WebResources.resx.es WebResources.resx.it When making changes to my application, I always add the default global resource records (English) to the WebResources.resx file. However, I don't always…
Curtis
  • 101,612
  • 66
  • 270
  • 352
1
vote
1 answer

Global Resources translation doesn't work

I am trying to implemented App_GlobalResources for my application to support multi-language. I've created an AppGlobalResources folder, inside two files: WebResources.resx WebResources.de.resx In each one, I put a TestString name which equals to…
Liron Harel
  • 10,819
  • 26
  • 118
  • 217
1
vote
0 answers

iis7.5 error: The resource object with key 'XXX' was not found

I have a website which i have deployed successfully many times. In a specific server (windows 2008 R2 IIS7.5) I am getting the error: The resource object with key 'GoToLastExistingData' was not found. The code is in a .aspx page: …
Daniel
  • 2,331
  • 3
  • 26
  • 35
1
vote
1 answer

Aurelia add template to global resources

I know I can add custom element that has view-model to Aurelia's global resources like this: export function configure(aurelia) { aurelia.globalResources("resources/myElement"); ... } But how to add html-only template to global resources? If…
Luka
  • 4,075
  • 3
  • 35
  • 61
1
vote
1 answer

sitemap localization not working

Strange things happening. If I have only one file filename.en-US.resx file in App_GlobalResources. Sitemap(Which is referring as "$resources:Web.sitemap,key") is throwing error that object or key couldnt find. But when i have two files…
1
vote
1 answer

Using Guids as Identifies in resources

Is it possible to use Guids as the identifier in resource files? In my program the user will be able to chose between some possible types when he creates an item. Which item was chosen is saved via a Guid. But the hyphens in the Guids seem to be a…
Christopher
  • 2,005
  • 3
  • 24
  • 50
1
vote
2 answers

App_GlobalResources not working for multilanguage support in asp.net

Code behind: ResourceManager rm; CultureInfo ci; protected void Page_Load(object sender, EventArgs e) { if (!IsPostBack) { Session["Flag"] = null; Session["Language"] = null; …
vini
  • 4,657
  • 24
  • 82
  • 170
1
vote
1 answer

Unit Test in VS2012

I have a WCF project and unit test project .The resource file is inside the WCF Service project inside App_GlobalResources folder, where the custom messages are stored. But I executed the unit test method, I got the below error…
Raju S Nair
  • 333
  • 2
  • 5
  • 17
1
vote
2 answers

SaaS approach to App_GlobalResources

We are building an app where multiple websites are powered by a single site on IIS We have a web-based tool where webmaster can edit the "resx" files, like: /App_GlobalResources/es/Backend.es.resx However there is two problems with this: changing…
aron
  • 2,856
  • 11
  • 49
  • 79
1
vote
3 answers

Global ressources not reachable through Resources class

I've created a Silverlight Business Application and want to use App_GlobalResources. The resources are in the same project (TestApp.Web). Trying to use some resources through System.Resources. in a class doesn't work, because there is no class…
float
  • 1,265
  • 5
  • 22
  • 38
0
votes
1 answer

Global Resources In javascript file

To implement calture I am displaying error message using javascript global resources lang file but I dont get resource message in javascript file as in HTML I got it using following syntax:
aru
  • 21
  • 1
0
votes
0 answers

Visual Studio Community 2022 - Server Error related to App_GlobalResourcesLang.resources

We created a multi-language C# .NET webform website in Visual Studio Community 2022. When the website is browsed in the computers with Visual Studio installed, everything is fine. However, when the website is browsed in the computers without Visual…
Mori
  • 1
0
votes
1 answer

how to modify global resource dll's without compiling the code?

I have separated my Global resource files to a different class library in my project solution. If in case after moving to production, i wanna modify some resource values or if i wanna add new resource file for a new country, then is it possible to…
nimi
  • 5,359
  • 16
  • 58
  • 90
0
votes
1 answer

Resource file is not working properly on IIS

I have 2 resource file.. one is default for english and another one is for chinese. The web app is working fine with VS but when I published it on IIS its not showing chinese language. I tried other solutions available on stackoverflow but nothing…
Usha phulwani
  • 184
  • 4
  • 22