Questions tagged [resx]

.resx files are resource lists used in .NET applications.

ResX Resource Files are used in .net applications for translating applications into several languages. Each language has its own file, e.g. a file "Default.aspx" could have a resx-file "Default.aspx.de.resx" for german translation and "Default.aspx.fr.resx" for french translation. Default translation is english language and results in file "Default.aspx.resx" without any language code. See Microsoft Documentation for details.

1010 questions
0
votes
1 answer

Generate warning for resource without description resx

I would like to know is there any way to make compiler/resharper warning for the resources that has no description in resx file? In order to standardize resource documentation. EDITED: I want to see the error in IDE. Thank You!!!
Sergey Kucher
  • 4,140
  • 5
  • 29
  • 47
0
votes
2 answers

How to use resource file as data source for an editable listview?

My client wants to take control over the text contents on the website. And he wants an interface where he can see a and edit the resource file text. I was successful showing the contents of resource file in my listview. Updating is the place where I…
Bilal Fazlani
  • 6,727
  • 9
  • 44
  • 90
0
votes
1 answer

Using TransformXml task on resx file that is an embeded resource

Has anyone had experience performing xml transform on resx files before? I would like to transform a resx file per configuration. Each configuration's tranform file may replace some string values in the resource file. For example:
Liao
  • 53
  • 1
  • 5
0
votes
1 answer

tfs build can't find resx files

I am trying to use automated builds and deployments to our test IIS web server, however, as of recently, for some reason, the builds are failing with reasons for: Cannot find Errors.resx Errors.resx is a file within the project, and it's checked…
Stuart.Sklinar
  • 3,683
  • 4
  • 35
  • 89
0
votes
1 answer

How to localize string, that not used in form elements

I have a lot of forms in my app, and they all need to be translated. Solution is pretty simple with resx files. But also I need to translate messagebox texts, and texts that are displayed in buttons accoroding to current action. I have tried to add…
Pavel K
  • 496
  • 3
  • 15
0
votes
0 answers

Get the comments for a control from .resx file

My program is a translator that load a exe and the resx files that comes with it, edit them, save them and then put them in an assembly (with AS.exe). I can already change the text from controls, but I would like to change the comments associated…
LolCat
  • 539
  • 1
  • 11
  • 24
0
votes
1 answer

Monodroid and resx localisation does not work

I have a monodroid application that uses a .net library that contains normal .resx localisation. So i have to files CoreResources.resx and CoreResources.de-DE.resx However the program always uses the default one (CoreResources = english) Did anybody…
shorty
  • 489
  • 2
  • 6
  • 12
0
votes
1 answer

change .resx file runtime causes session to expire

I have created page to change the resource file dynamically by the web site admin. but now when user changes the value in resx file, it saves correctly but it causes the session to expire. How can i overcome this? Does anyone has idea about it, i…
user867198
  • 1,588
  • 3
  • 16
  • 31
0
votes
2 answers

Generating resource files

I have a default resource file (resx) for my VB.NET control. I want to generate resource files (resx) for Russian and some other languages based on this. How can I do that?
codematrix
  • 1,571
  • 11
  • 35
  • 53
0
votes
2 answers

Assigning attributes from resx Files

string thing = ComparaSave.Resources.Message.EmailAdrRequired; [Required(ErrorMessage = thing)] <---- The problem!! [DataType(DataType.EmailAddress)] [Display(Name = "Email Address")] [StringLength(100)] [EmailAddress] public string Email { get;…
valen
  • 807
  • 1
  • 16
  • 43
0
votes
0 answers

List all resources use in a project

I'd like to list all resources used in a ASP.Net project. I have several resources files (.resx) with some duplicate, and I'd like to know witch one is used. I thought to parse the entire project, looking for the ressource builder name, the…
Lez4
  • 55
  • 1
  • 5
0
votes
1 answer

How do I tell my application which resx file to use when it is passed a culture it doesn't understand? (WPF)

Subject says it all. I have Resources.en-US.resx, Resources.de-DE.resx, etc. I don't ever want the basic Resources.resx file to be referenced. If someone passes me a language that I don't have a resx for I want it to drop back and use…
Kamiikoneko
  • 785
  • 5
  • 12
  • 24
0
votes
1 answer

Showing variable text in MVC View

I'm looking for a good solution for the following problem: I have a ASP.NET MVC Webapplication, used by several of my Clients. Within the application, a client can login, view several pages with information and fill in several forms. This all works…
Pbirkoff
  • 4,642
  • 2
  • 20
  • 18
0
votes
1 answer

Mixed font types in resx file for localization

I am doing some localization and have bumped into a problem that I cant seem to figure out. I need the following displayed: tcpCO₂ (where tcp is in italic) tcp CO₂ I thought I could just put the HTML in my .resx file and all would…