Multilanguage website



Hello,

I would like to developpe multilanguage website (2 or 3 languages : es, fr, en), but I don't know which solution is the better for me :

Ex. for the _database_ :
id_record
date_save
title_fr
title_en
title_es
And I display the field that corresponds to the desired language


My bigger question is for _files_, here are my suggestions :

1. file with all translations
	some files contains all translations, where I include the good one :
	/lang/en.inc
	/lang/fr.inc
	/lang/es.inc

	where each contains with the good translation :
	$text[1] = 'welcome';
	And I print the good $text[];

	Advantages : easy to implemant
	Disadvantages : a big site has big /lang/.inc files to include


2. one xml file per page, with translations inside index.php index_en.xml index_es.xml index_fr.xml Advantages : faster than the first solution Disadvantages : ???

3. make one page per language :
	index_en.php
	index_es.php
	index_fr.php

	Advantages : Best view for robots
	Disadvantages : Huge to maintain


Thanks for your help Ken .



Relevant Pages

  • Re: NameTranslate object error
    ... the snippet assumes you have already bound to the WshNetwork object. ... you are doing two translations. ... Display Name to the Distinguished Name. ... Set objTrans = CreateObject ...
    (microsoft.public.scripting.vbscript)
  • Re: Extracting letters by alphabetic order.
    ... would be to lookup whole words in your dictionary database and display the ... definitions or translations. ... website and display the results. ...
    (microsoft.public.word.vba.general)