resx

Changing Resource files (resx) namespace and access modifier

Hello, In my webproject I'm using 4 resources files in my App_GlobalResources folder. One of them (lang.resx) has been created before my arrival on the project. It has the correct namespace (WebApplication.App_GlobalResources) and access modifier : public. On the other hand, the three others Resource files that I just created have a di...

Multi-Language and Resource Files

I have a question about creating a multi-language application and the use of resource files. I will explain what I have done and what I would like the final product to be like. I am doing this in VB.Net and using Visual Studio 2008 After creating a new project, I added a resource file to the project (Add -> New Item, Selected Resource ...

Is there a way not to use the default resx file for internationalization?

We are working on a ASP.NET project and we are using the resx files to implement the internationalization. Although, it only compiles when I create the default resource file (Page.ascx.resx for instance). It doesn't let us to use only culture-specific files (like Page.ascx.en-US.resx, Page.ascx.km-KH.resx, Page.ascx.pl-PL.resx, etc.) I...

Are resx files necessary?

Currently have a solution that was created in VS2003 went to VS2005 and now is in VS2008. Since the start, each aspx and ascx had an associated .resx file. The resx files were autocreated, even though localization is not needed. Is it okay to get rid of these resx files? Will they improve performance at all since they are not there? ...

Can you edit resx files with Visual Web Developer?

Simple question, but I am not allowed to install this program at work to test it out. Does it work just like Visual Studio for editing resx files? ...

Localization approach for XSLT + RESX in ASP.NET

I have an ASP.NET web app where the back end data (XML format) is transformed using XSLT, producing XHTML which is output into the page. Simplified code: XmlDocument xmlDoc = MyRepository.RetrieveXmlData(keyValue); XslCompiledTransform xsl = new XslCompiledTransform(); xsl.Load(pathToXsl, XsltSettings.TrustedXslt, null); StringWriter s...

Resources and localization - parent / child strings in .resx files?

I'm creating WebResources.resx file with several string messages I'd like to categorize: Signup_Status_Inactive Signup_Status_Reserved etc... Since it's just an XML file in the background, is it possible to create parent/child relationships so I don't have to prefix related strings and follow a better dot notation? To get around this ...

.resx Localization not working with ASP.Net - C#

I've created two .resx files - WebResources.resx and WebResources.fr-FR.resx. Both contain ExceptionMessages_SignupWithCard. To test I did: Thread.CurrentThread.CurrentCulture = new CultureInfo("fr-FR"); Response.Write("Current Culture is " + CultureInfo.CurrentCulture.EnglishName); Response.Write("<br>Message is: " + Resources.WebRes...

How to obtain the correct ResourceManager object

Im making a asp.net(2.0) website. I have defined two resource files in the App_GlobalResources folder 1) Website.ar.resx 2) Website.en.resx Im trying to obtain the ResourceManager programatically. Now, if I would have only defined Website.resx, VisualStudio automatically starts showing me a 'Resouces' namespace with the Class 'Websi...

App domain restarts when .resx file changes. Any way to avoid this?

I have an ASP.NET app with many .resx (resource) files used for localized user controls and pages. We would like these files to be editable on-the-fly. However, we have noticed that editing these files on the web server causes the app domain to reload, which causes the server to slow down for about a minute while the app domain restart...

How to delete resource entry from resx in C# programmatically?

Hey, i know how to retrieve and create resource entries in an .resx file programmatically. I am using the ResourceWriter and the ResourceReader for that approach. But now i want to clean up several items in my .resx file, and want to delete them. How can i achieve that? Greetings chrsk ...

.net server controls inside a template unable to localize

hi, i have a custom template control which i built look like this. <div class="mod_wrap" id="sideBarControl"> <div class="<%= TitleClassName %>"> <div class="floatDirection" > <asp:PlaceHolder ID="phTitle" runat="server"></asp:PlaceHolder> </div> <asp:PlaceHolder ID="phExpandable" runat="server"> <div id="btn...

Are .NET resource files only for localization?

I've used .resx files in the past to store text files and other things - queries for example. It works great because I can say Resources.Queries.BlahQuery. (Yes, I know we should probably used stored procedures, but that's another story...) I'll never be doing any localization on these resources. Is this a bad idea? Am I misusing .NET ...

Software Translation Services cost - ballpark idea

Hi, I was wondering if anybody could give me ballpark figures for translating resx files. Let's say I have 10 Resx files with each about 10K words. What would be the cost to translate those from English to Spanish (or English to German)? For the details, we are using Infragistics controls in our application. IG does not provide their s...

Read SQL File in Resources RESX and Create TAbles, Insert Rows with Oracle ODP.NET

Hi all, i need good sample code C# or VB.NET , frk 3.5 for this tasks: Read SQL (Oracle) File from Resources RESX and do: create TAbles, Insert Rows using Oracle ODP.NET Thanks in advance ...

Is it possible to use resx files for different languages in a windows forms application?

Is it possible to use resx files for different languages in a windows forms application, the same way as in a web project? I think that you can set the culture of the thread and it should read from the correct file. The problem I am having is how to create the files for each language in visual studio 2008, feel like there is something ...

adding custom column resx file

This may sound like an unusual question, but I am curious as to how i can add an additional column to the resx file setup (so i would have something like "name, value, comment, foo") I've looked around online and haven't heard of anyone else trying something like this, but i think it might be possible to do this by writing a new resx re...

Adding context of two resx files

Do you know any tools to merge content of two or more resx files? At the beginning of my project development, I decided to use one resx file for every Controller in application, but now I decided to use only one file. Is it possible? They contain only strings. ...

Localization of Reporting Services-Reports (.rdl / .rdlc-Files)

Hallo, i need to localize a Reporting Services-report (.rdlc) and i would like to do it using a ressource-file (.resx). I found pages like this and that and they use custom code to achieve their target. But pages like Setting the Report Language Parameter in a URL give me the impression that localization in reports is possible without c...

Resx tools for asp site

Hi guys i am coding a pretty large intranet based web system that needs to support multi language. i have in excess of 150 pages, each of which will have an associated resx file. developing in vs2008 at the moment the hurdles i'm facing. the sheer volume. opening each page, going to design view and clicking generate local resource is...