how to do that ?
how to use google translator in website?
hello.. i want that whole webpage should be translated to selected language from dropdown like google translator..
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Jitendra TiwariPosted Mar 28, 2010, 1:51 PM
you read asp.net localization to translate your site in any language.
try this code
Default.aspx
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="_Default" %>
Default.aspx.cs
using System;
public partial class _Default : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{
}
void Page_PreRender()
{
lblDate.Text = DateTime.Now.ToString("D");
}
protected void btnSelect_Click(object sender, EventArgs e)
{
Culture = DropDownList1.SelectedValue;
}
}
I thinks this help u
Please mark answer if help u!!!!!!!!!!
thanks.