resx Questions

2

Solved

I am trying to localize MudBlazor data grid using resource files. But data grid filter items are still shown in English. According to this I have added the following class: using Microsoft.Extensio...
Postobit asked 5/11, 2023 at 6:36

3

I´m using Visual Studio 2017 in the german version. Another programmer of our project uses the English version. Now we´ve got a problem with the .resx files of our project. We created some Menu Ite...
Monotint asked 9/12, 2019 at 9:17

11

Solved

I have the source for a project, but am missing the .resx file, which prevents compilation. Is there a way to re-generate a resx file for it? This is a C# project I created with Visual Studio 2010 ...
Demy asked 13/11, 2012 at 0:54

2

I need to create Resources(resx-files) in my .NET Core based application. Until now I used to use ResxResourceWriter from System.Windows.Forms for that. Any suggestions how to handle this task in ....
Haith asked 13/2, 2017 at 7:49

5

Solved

Strange, that no one asked this before.... I am creating templated HTML emails for 4 languages. I want to put the HTML templates into my .resx files to have easy, internationalized access to them ...
Alvarado asked 17/2, 2015 at 9:14

4

Solved

I have a problem with resource files in my project. As I created one in English, I gave it to the translation team. Somehow, they returned me resource file with values in different order, so it was...
Latex asked 28/4, 2011 at 13:56

4

On my current project whenever I add, update or delete a resource the tool creates a copy of the designer file which screws things up. I don't see this behavior with my other projects, and as far a...
Petulant asked 13/10, 2014 at 23:41

1

I am new user of great tool resharper. I am impressed with features it provides specially localization. However I am able to move hard coded strings to resource file. I wanted to know if there is ...
Handyman asked 30/6, 2015 at 7:31

1

I am starting a new application in WPF and I am curious how to handle Localization? In WinForms you can use resx strings for the UI text, how is this done in WPF? Is there a special binding syntax ...
Strapless asked 27/4, 2009 at 19:52

6

Solved

The "\n" does not work in below code, it's just displayed as "\n" if (!window.confirm(XXXXX.Globalization.LocalResource.InvalidUrl)) { return false; } the string is "Invalid URL! \n Are you sur...
Midkiff asked 4/6, 2012 at 4:14

2

Solved

Strings in resource files have a name, a value and a comment The ResXResourceReader class gives me access to the name and the value. Is there a way to read the comment?
Rigorous asked 13/1, 2012 at 17:6

8

Solved

I am adding two new strings to our resource.resx but these newly added resources(strings) are not reflecting into the auto-generated Designer.cs file. I have rebuilt the project and also tried clea...
Fraternity asked 12/5, 2014 at 9:37

2

Solved

"dotnet build" builds a project with no errors, and at the same time docker build gives following error: /src/Audit.Worker/Example/Resources.resx : error MSB3103: Invalid Resx file. System.IO.Dire...
Cooperage asked 1/4, 2020 at 14:34

9

Solved

Resource files seem great for localization of labels and messages, but are they perfect? For example: Is there a better solution if there is a huge amount of resources? Like 100,000 string...
Debarath asked 14/8, 2009 at 14:27

3

Solved

We have a large number of C# projects in a visual studio solution. For a lot of these we have a resource file called 'TextResources.resx'. These have been translated in the past creating several re...
Everest asked 15/7, 2011 at 16:21

2

Currently, I do this: Names -> "name1|name2|name3" Resource.Names.Split('|'); Is it possible to define those names as an array in the resource file so that I don't have to parse by splitting...
Franckot asked 28/8, 2010 at 0:38

8

I have a .resx file that contains name-value pairs (both strings). Now I want to modify the values in certain name-value pairs programmatically using C#. How can I achieve that?
Lord asked 24/3, 2009 at 6:15

5

Solved

In compiling a solution ported from .NET 1.1 in VS2003 to .NET 3.5 in VS2008, I get several suggestions, of which this one is representative: Consider app.config remapping of assembly "System.Wind...
Paresthesia asked 3/10, 2013 at 16:21

7

While compiling my Visual Studio C# project, i am getting the following error: The item "obj\Debug\SampleProject.Forms.MDIMain.resources" was specified more than once in the "Resources" parameter....
Puerperium asked 15/2, 2013 at 7:24

0

I am working on a Blazor Wasm app which has localization using resource files (.resx). When looking into the official documentation / and the sample solution from Microsoft, it seems like changing ...
Threaten asked 25/3, 2021 at 10:11

7

Solved

Here's how my RESX file look like: Name Value Comments Rule_seconds seconds seconds Rule_Sound Sound Sound What I want is: Name by string Value, something like below: public string GetResxNameB...
Idona asked 3/5, 2013 at 14:46

2

Solved

Following works as expected: VS Studio 2019 tested with professional and community. Create new APF App (.NET Framework) Open properties Folder Change Resources.resx to public Create a new resourc...
Roping asked 9/10, 2019 at 6:40

4

Solved

I'm on VS Community 2017 RC. I'd like to add a resource file (.resx) to my project but this item type is not listed in the items Have I missed something ? Do I need to install anything on top of m...
Ptyalin asked 26/2, 2017 at 19:44

5

Solved

I had a resource file named Localize.resx, which contains English strings. I copied and pasted it inside the same folder(App_GlobalResources), VS created a copy, I renamed the copy to Localize.sl.r...

5

Solved

My company uses a combination of some database tables, a web page front end and an "export" application to handle our string resources in our web sites. The export application used to work just fi...
Haze asked 9/7, 2010 at 23:38

© 2022 - 2024 — McMap. All rights reserved.