Click here to Skip to main content
12,301,394 members (63,033 online)
Click here to Skip to main content
Articles » Web Development » ASP.NET » General » Downloads

Stats

342.8K views
5.6K downloads
209 bookmarked
Posted

Creating multilingual websites - Part 2

, 25 Aug 2004
Creating multilingual websites - Part 2
LocalizedSample
bin
Localization.dll
LocalizedSample.dll
language
en-CA
fr-CA
Localization
bin
Localization.csproj.user
Localization.resharperoptions
LocalizedSample.csproj.webinfo
LocalizedSample.resharperoptions
LocalizedSampleVB
bin
Localization.dll
LocalizedSampleVB.dll
language
en-CA
fr-CA
Localization
bin
Localization.dll
Localization.vbproj.user
LocalizedSampleVB.resharperoptions
LocalizedSampleVB.vbproj.webinfo
<%@ Register TagPrefix="Localized" Namespace="Localization" Assembly="Localization" %>
<%@ Page language="vb" Codebehind="BindingSample.aspx.vb" AutoEventWireup="false" Inherits="LocalizedSampleVB.BindingSample" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
<HTML>
  <HEAD>
    <title>BindingSample</title>
</HEAD>
  <body>
    <form id="Form1" method="post" runat="server">
      <asp:Repeater ID="repeater" Runat="server">
         <ItemTemplate>
            <Localized:LocalizedLiteral id="Literal1" key="LoginAudit" runat="server">
                  <Localized:Parameter runat="Server" Key="Username" value='<%# DataBinder.Eval(Container.DataItem, "UserName")%>' />
                  <Localized:Parameter runat="Server" Key="Name" value='<%# DataBinder.Eval(Container.DataItem, "Name")%>'/>
                  <Localized:Parameter runat="Server" key="Date" value='<%# DataBinder.Eval(Container.DataItem, "lastLogin")%>' />         
            </Localized:LocalizedLiteral>
            <br /><br />
         </ItemTemplate>
      </asp:Repeater>
     </form>
  </body>
</HTML>

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.

A list of licenses authors might use can be found here

Share

About the Author

Karl Seguin
Canada Canada
No Biography provided

You may also be interested in...

| Advertise | Privacy | Terms of Use | Mobile
Web02 | 2.8.160525.2 | Last Updated 26 Aug 2004
Article Copyright 2004 by Karl Seguin
Everything else Copyright © CodeProject, 1999-2016
Layout: fixed | fluid