well, what about Dictionary class (System.Collections.Generic)? It would be
like:
Dictonary<string, string> nameField = new Dictionary<string, string>(3);
nameField.Add("en", "Your Name");
nameField.Add("de", "Deine Name");
etc

Then you would have session variable called language (with values en, de or
fr)
and you would call it as nameField[(string)this.Session["language"]]

2009/8/15 T.K. <[email protected]>

>
> Hi all,
>
> please advise what is the best practice to develop a site with
> multiple languages English, French , German, etc....
>
> If my site is the same and I just want to change the field names and
> text on the page as per the chosen language which technique is better:
>
> is it to save the field names in an xml file and read it each time
> someone chooses french, or is it
> querying the fields from sql 2005 (but i guess it will slow down the
> site load).
>
> or is there any better specific way of doing this, I'm searching for
> the best optimised and fast loading way to do this. my site is in
> ASP.Net and VB.net and SQL 2005
>
> Regards
> T.K.
>

Reply via email to