Welcome to WebmasterWorld Guest from

Forum Moderators: brotherhood of lan & mack

Message Too Old, No Replies

Multilanguage site / how to name pages



2:03 pm on Nov 16, 2006 (gmt 0)

10+ Year Member

Hi all

I am thinking to have couple my articles translated other languages but don't know how to name them.


I have index.php (English) in that directory which i don't use it when linking to page for purpose of it may change to .html or any in the future.

how would you call for example German,Spanish translated pages .
I also want to know if i need to do something expect changing language in doctype



2:47 am on Nov 19, 2006 (gmt 0)

WebmasterWorld Administrator mack is a WebmasterWorld Top Contributor of All Time 10+ Year Member Top Contributors Of The Month

I can see a number of ways to achieve this. First of all what language to you code your pages in. (not the actual language but the programming language :) )

If you are using a scripting language you can set your pages up to display the same content but in different languages. One way if doing this is to have different language content read from a database. The preference can be set by the user.

Another way if doing this and one that may not be preferable is to have different mini sites for each language. For example if you have a site on French use www.example.com/fr/ for Spanish use www.example.com/es/ then have the correct regional content for each language. The problem with this situation is what to do on www.example.com perhaps just a link to each of the regional homepages.



12:35 pm on Nov 19, 2006 (gmt 0)

10+ Year Member

Thanks for the answer

I dont want to use scripting languages and dont know anything about databases.I think simply put flags of available languages on my english page.

I just want to learn if there is a standard which webmasters use when naming lang page names

should i go like below or is there any preferred naming


6:31 pm on Nov 19, 2006 (gmt 0)

WebmasterWorld Senior Member encyclo is a WebmasterWorld Top Contributor of All Time 10+ Year Member

I think simply put flags of available languages on my english page

Using flags is a bad idea when dealing with multi-language content. Flags represent countries, not languages. Which flag would you use for Engish? The Union Jack? The Stars and Stripes? Neither will work for me, as I'm Canadian. How about French? Again, I speak French but I'm not from France.

Using words rather than flags is a better option unless the different versions are really country-specific. English, franšais, dansk, suomi, Deutsch and not the English names too. :)

I agree with mack that the best way is to either language-specific subdirectories, or subdomains if each language variant is truly a separate site:


Use the standard two-letter ID for each language.


2:59 am on Nov 20, 2006 (gmt 0)

10+ Year Member

Thanks for the answer

I was thinking which flag i would put for English lol and you are very right ill go with words :)

as for,

Then my content will be far from root 2 levels which i already have 3 levels and if i use /de/ everything in directory should be in German but i want to post news in English only.

I just think to say something like 'this page available in German, French' cause i will ask friends to translate them free so 1 page can be in French only but other page can be German and French .I know its not professional but i dont have money to pay for it :(

So may be better i use example.com/node21/german.html


Featured Threads

Hot Threads This Week

Hot Threads This Month