adding more than 1 language or lets say 10 language on same site ?

okiedokie

Regular Member
Joined
Feb 27, 2013
Messages
312
Reaction score
170
what would be the best way to add 20 languages under 1 domain name ?

i want to put 10 articles of different languages to my site but for 20 different languages .
what should i choose as title ? can title of my article be in english ?
 
Uh, you can give a value to a parameter in the url like http://www.MySite.com/?lang=EN, or http://www.MySite.com/?lang=FR where lang is the parameter and the value is 'EN', or 'FR' and then use PHP to read that and output the page based on that.
It would be something like this:
Code:
$language = $_GET['lang']
if (language == 'EN") {
     echo 'Post goes here';
} else if (language == 'FR') {
     echo 'Poster va ici';
} else {
     echo 'Post in default language'
}

You can put links on your page to all the languages you want it to output.
 
Last edited:
well can this be done with wordpress blogs ?
because all i know is to post articles which i will be getting in different languages but i want search engine to know that the italian page that am posting is different from the french one and german once and similarly .
 
Back
Top