1
Reply

multilanguages resx files

Mats Peter

Mats Peter

Oct 31 2010 4:49 AM
10.7k

I try to make my site available in multiple language. I post some examples of what I have done so far, it does not work. Does anyone have suggestions?
The control: <asp:Button ID="_btnLoginReset" runat="server" meta:resourceKey="LoginReset"/>
The resx file: Named default.aspx.en-GB.resx for the page default.aspx contains LoginReset with the value "Reset"
The page contains the string:
<%
@ Page Language="C#" AutoEventWireup="true" CodeBehind="Default.aspx.cs" Inherits="timebook._Default" Culture="auto:en-GB" UICulture="auto:en-GB"%>
I also have a resx file for french, neither works but behave in different ways, one accepts LoginReset the other requires LoginReset.text.
And as I set the language to en-GB as abowd I get the value from the fr-FR file (default language for my computer).
 
Any suggestions?

Answers (1)