Hello All,
I want to develop it (Satelite Assemblie ,Localisation) step by step in VS 2005 using c#.
But falied to run it.
I want to display it hindi when my Culture is ‘hi-IN’ and Greek when my culture set ‘de-DE’ and French when my culture is ‘fr-CA’.
According to that culture my login Page will load.
my Login.aspx is as follows:
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Login.aspx.cs" Inherits="Login" Culture="auto" meta:resourcekey="PageResource1" UICulture="auto" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
<title>Untitled Page</title>
</head>
<body>
<form id="form1" runat="server">
<div>
<table width="500" align=center cellpadding=2 cellspacing=2>
<tr><td colspan="2" align="center">
<asp:Label ID="lblMessage" runat="server" meta:resourcekey="lblMessageResource1" ></asp:Label></td></tr>
<tr><td >Choose Culture</td><td><asp:DropDownList ID="ddlCulture" AutoPostBack=true runat="server" OnSelectedIndexChanged="ddlCulture_SelectedIndexChanged">
<asp:ListItem Value="0">--Select--</asp:ListItem>
<asp:ListItem Value="1">--Hindi--</asp:ListItem>
<asp:ListItem Value="2">--Greek--</asp:ListItem>
<asp:ListItem Value="3">--French--</asp:ListItem>
</asp:DropDownList> </td></tr>
<tr><td>
<asp:Label ID="lblUser" runat="server" meta:resourcekey="lblUserResource1" ></asp:Label></td><td>
<asp:TextBox ID="txtUser" runat="server" meta:resourcekey="txtUserResource1"></asp:TextBox></td></tr>
<tr><td>
<asp:Label ID="lblPassword" runat="server" meta:resourcekey="lblPasswordResource1" ></asp:Label></td><td>
<asp:TextBox ID="txtPassword" runat="server" meta:resourcekey="txtPasswordResource1"></asp:TextBox></td></tr>
<tr><td colspan="2" align="center">
<asp:Button ID="btnClick" runat="server" meta:resourcekey="btnClickResource1" OnClick="btnClick_Click" /></td></tr>
</table>
</div>
</form>
</body>
</html>
and my Project looks like (see attaching image).
Please chek it and anyone can help me how to display login.aspx accoding to that culture. I want to develop satelite aasemblie.
I have tried resgen.exe for creating resource and al.exe for creating string binary assemblie.
But failure to do that .Can anyone explain it step by step.