473,396 Members | 1,758 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

Multi Language Site

190 100+
How can i give a facility of multiple languages in my site
Jan 29 '08 #1
3 1786
How can i give a facility of multiple languages in my site

first set the session of language.$_SESSION["lan"]="en';
change the language type must be first set session variable of language....


make one language file and set the variable of each form element,page name,header everythinhg in a variable.at the time of making the page call the varaible insteed of element name.

Example- language cong file
if($_SESSION["lan"] == "en"){
//set the variable
$fName="First Name';
$lName="Last name";
}
else if($_SESSION["lan"] == "cn")
{

//set the variable
$fName="';//Filled by language expert
$lName="";
}
}


when u used the first name use the $fname tag so when u change language so it will take the value config file

Regards,
Sandeep Agarwal
Jan 29 '08 #2
Shalini Bhalla
190 100+
Can you be more clearer ?

Actually i have a site and i want that like google gaget , i want to ceonvert it in indic languages when ever i visit and want to change language ?

Is it possible using any service of google ?

if yes then which one ?
Jan 30 '08 #3
Hi,

Google gives the indices that u can conver the indian language http://www.google.com/transliterate/indic/

but i think not given any API to used in your sites. May be i am wrong but if u find out any thing about indices them plx tell me because i would be like to used this.

Thanks,
Sandeep Agarwal
Jan 30 '08 #4

Sign in to post your reply or Sign up for a free account.

Similar topics

4
by: prschmid | last post by:
I am currently creating a multi-language site using ASP .NET and was wondering what people think the best way to do this. Keeping a session variable of the users's choice? Cookies? Thank you in...
0
by: dc | last post by:
Product Announcement: Multi-Lingual web site using Nested Templates and Menus http://www.decloak.com/Products/Dreamweaver/NestedTemplates/ You can see the TONGUES of FIRE demo web site at...
5
by: Gustaf Liljegren | last post by:
In IE (at least from version 5), you can change your prefered language, so that for example the Windows Update page appears in another language than the system default. Here's the process: Tools...
0
by: marcus | last post by:
I am developing a web site at work that needs to be both in French and English. I have been reading up on using resource files (.resx files) in combination with setting the CultureInfo to either...
1
by: Bruno | last post by:
Hi, does anyone have an example of any good way to have multi-language forms? I'm working on a web app that needs to have the texts in english and spanish. Thanks, Bruno
0
by: mistral | last post by:
how to set right encoding for Multi-language website? Site is on php-based CMS. There is language selectors at top of each page, that user can select language. But i dont know where this...
7
by: CAH | last post by:
Hi I need to make at multilanguage language site, and for that I need to identify the users, and register there choice off language. For that i imagine using cookies, since this is the only way...
2
by: Aussie Rules | last post by:
Hi, I have a site that Iwant to either display my text in english or french, based on the users prefernces ? I am new to webforms, but I know in winforms, this is pretty easy with a resource...
7
Curtis Rutland
by: Curtis Rutland | last post by:
Building A Silverlight (2.0) Multi-File Uploader All source code is C#. VB.NET source is coming soon. Note: This project requires Visual Studio 2008 SP1 or Visual Web Developer 2008 SP1 and...
1
by: farid80 | last post by:
Helo : I want to make multi language site in joomla. for that i install joomla fish for translation and i also install languge packs like french, urdu. The problem is that when i change default...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.