create tamil websites in asp.net

Posted by Dn2010 under ASP.NET on 1/9/2011 | Points: 10 | Views : 7166 | Status : [Member] | Replies : 5
hi friends,

how to create tamil websites in asp.net.

please give in detail & any small application.

thanks.




Responses

Posted by: Karthikanbarasan on: 1/9/2011 [Member] [Moderator] [Microsoft_MVP] [MVP] Silver | Points: 25

Up
0
Down
Hi,

Simple change UICulture and culture to tamil. like this..

<%@ Page UICulture="ta" Culture ="ta-in" %>

In code behind..

Page.Culture = "ta-in";
Page.UICulture = "ta";

Refer these..

http://msdn.microsoft.com/en-us/magazine/cc163566.aspx

http://msdn.microsoft.com/en-us/library/system.globalization.cultureinfo.aspx

http://www.codeproject.com/KB/aspnet/Translate_Your_Website.aspx


Thanks
Karthik
www.f5Debug.net

Dn2010, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Suresh.mekkattil on: 1/9/2011 [Member] Bronze | Points: 25

Up
0
Down
Hi,

You can do this my applying your CultureInfo to the "ta-in";

System.Threading.Thread.CurrentThread.CurrentCulture = new CultureInfo("ta-in");
System.Threading.Thread.CurrentThread.CurrentUICulture = new CultureInfo("ta-in");

and then you need to store all the tamil specific letters, word, or strings(messages) you use in the pages in to a resource file,

You can do this by Clicking Tools>GenerateLocalResources in the visual studio.

This will generate a .resx file for each page. So there you need to put your Tamil specific strings.

After doing the "Tools>GenerateLocalResources ", you can see that, each of your webcontrol will be having a meta:resourcekey="<keyname>" this will be added automatically. And this is responsible for fetching the Tamil strings from the resource file of corresponding key at runtime.



-----
Suresh M

Dn2010, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Dn2010 on: 1/10/2011 [Member] Starter | Points: 25

Up
0
Down
thanks .
Karthikanbarasan and Suresh.mekkattil

but i need more details,

if you like ,any small tamil application to me.

thanks.

Dn2010, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Karthikanbarasan on: 1/10/2011 [Member] [Moderator] [Microsoft_MVP] [MVP] Silver | Points: 25

Up
0
Down
Hi,

Download the sample application from this link

http://www.c-sharpcorner.com/UploadFile/mosessaur/aspnetlocalization02042006165851PM/aspnetlocalization.aspx?ArticleID=96602e53-0fb1-44ec-a67b-1c68b05eb2e1

Also it gives the step by step process u need to do it for your application as well

Thanks
Karthik
www.f5Debug.net

Dn2010, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Suresh.mekkattil on: 1/10/2011 [Member] Bronze | Points: 25

Up
0
Down
Hi,

I think you first need to study the multiliquality in the asp.net using the resource file. That gives you the good knowledge over the resource management for your text stings.

-----
Suresh M

Dn2010, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response