corillo181 Posted July 3, 2007 Share Posted July 3, 2007 how do i make a website with different languages is there a web i can translate mypage or i have to hand make every word i want in another language? Quote Link to comment Share on other sites More sharing options...
skali Posted July 3, 2007 Share Posted July 3, 2007 For that you will need to create multiple language files and store language specific words in these files. You will also need to replace all the inline english words with replacement variables from these language files. For the translation: You can use http://babelfish.altavista.com http://translate.google.com Quote Link to comment Share on other sites More sharing options...
corillo181 Posted July 3, 2007 Author Share Posted July 3, 2007 this wont be a problem for me, i am fluent in spanish. but can you give me a example of what i would have to do? is it a script that search for all the words in the page or for any words i need to put the translationg next to it such as let's say the navagation. echo($_cookie['len']!='spanish')? "home music gallery and more":"inicio music fotos y mas"; Quote Link to comment Share on other sites More sharing options...
corillo181 Posted July 4, 2007 Author Share Posted July 4, 2007 no answer? any one use multi len? Quote Link to comment Share on other sites More sharing options...
Yesideez Posted July 4, 2007 Share Posted July 4, 2007 My first language is English although I know a little Norwegian as well. It's not as simple as converting one word to another as you'd have to take into account the "rules" of languages. For example, when to use "a", "an", "the" and many more. There's also when some words in other languages translate into one. For example, "the cat" in Norwegian is "katten" Quote Link to comment Share on other sites More sharing options...
corillo181 Posted July 4, 2007 Author Share Posted July 4, 2007 yeah I'm fluent in Spanish and english, the website I'm making is mostly going to be use by Spanish, but Spanish people that are here in the use are more comfortable reading English so i want to make it so they choose between English and Spanish.. which would be the best way to do this. Quote Link to comment Share on other sites More sharing options...
Yesideez Posted July 4, 2007 Share Posted July 4, 2007 I think the best way would be to store the text in two tables: lang_english lang_espanol Depending on what language is chosen, store that in a session/cookie and pull the text from the database. The only time I made a multi-lingual site was by creating deparate pages for everything in each language (5 of them) but that was only a very basic site. Quote Link to comment Share on other sites More sharing options...
corillo181 Posted July 4, 2007 Author Share Posted July 4, 2007 alright thankx Quote Link to comment Share on other sites More sharing options...
Yesideez Posted July 4, 2007 Share Posted July 4, 2007 Not sure which idea is best suited as I've never made a large site in more than one language - hope it all goes well. I'm off to watch a movie before I crash - adios Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.