473,839 Members | 1,713 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Multi Language Site

190 New Member
How can i give a facility of multiple languages in my site
Jan 29 '08 #1
3 1798
sandeepsandeep
50 New Member
How can i give a facility of multiple languages in my site

first set the session of language.$_SESS ION["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 New Member
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
sandeepsandeep
50 New Member
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
4126
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 advance for any advice, comments, help.
0
2113
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 http://www.decloak.com/Products/Dreamweaver/NestedTemplates/Demos/NestedT_Tongues_of_Fire/ This name is from the BIBLE, "...every man heard them speak in his own language." Acts 2:1-12 NIV
5
3297
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 -> Internet Options -> Languages -> Add (choose language from list) -> Move Up (move language to top of list)
0
1277
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 "en-CA" (Canadian English) or "fr" (French), then retrieving the appropriate variables from the resx file with a ResourceManager depending on the current Culture. That seems straightforwrad enough. Whenever I want a label or any other control that...
1
1415
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
1501
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 implemented in php code or other details.. i work with CMS GUI only, there is settings where 'header' template can be configured (headers are dynamically created for all pages). So, its not possible set different headers for specific pages, all headers...
7
9163
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 to identify the users. But from what I read search engines ignore cookies, and at the same time I would like the users to be able to send links in there choice of language to there friends, so I would like this sort of url scheme.
2
4663
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 file. What is the best way to acheive this with webforms ?
7
7163
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 Silverlight 2.0. To get these tools please visit this page Get Started : The Official Microsoft Silverlight Site and follow Step 1. Occasionally you find the need to have users upload multiple files at once. You could use multiple FileUpload...
1
5388
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 language from back end then on front end some text shows in selected language. But i m unable to traslate my menu and articles. Kindly help. Regards, Ghulam Farid
0
10910
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10589
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10654
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
10297
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9426
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
7021
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5867
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
4066
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
3136
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.