Last post Apr 26, 2011 07:28 AM by 1SeoAdvies
Jan 10, 2008 05:02 AM|Billlegrand|LINK
I'm trying to develop a website multilanguage enabled.
It works but when I publish the site, .resx files are compiled in assemblies. So I cannot modify ressources after publishing.
Is it possible to publish resx files whithout compile them in XML ?
Visual Studio 2005
localization master subfolder
localization page layout
Jan 11, 2008 01:00 AM|aweil|LINK
Yes it is possible, with ASP.NET V2.0 and up.
Just place your .resx files in the App_LocalResources and App_GlobalResources folders.
For more information, please see my tutorials:
Hope this helps,
Sep 04, 2009 05:18 AM|waqasdotnet|LINK
I will recommend you to visit this tutorial
Developing Multi Language Web Sites with ASP.NET
Apr 28, 2010 07:29 AM|BUGS Bunny|LINK
Sorry to bother you with this old ticket, but when I compile my website I don't have anymore this App_GlobalResources folder or even can't find this resx files.
Thanks for your hlep :)
Apr 26, 2011 07:28 AM|1SeoAdvies|LINK
In visual studio you can add the app_globalResources folder.
I used in the web.config
<globalization uiCulture="nl" culture="nl-NL" />
in every apsx page inthe directive part: Culture="auto" UICulture="auto"
I made some
Localisation.fr.resx Thery are in the app_global folder.
Each file has a the same name item but a different value
in the aspx pages I replace the text with:
<asp:Literal ID="Literal1" runat="server" Text="<%$ Resources:Localisation, part1 %>"></asp:Literal>
Via internet options (first tab) you see a button languages. Put your preferred language on top.
Refresh the page with ctrl-F5 and you'll see an other language.
Happy coding and SEO
BTW I complied these files as "Content" And I "don't copy them"