There are different ways to use Spip to create and manage a multilingual site.
This sample database (one section in French and one in English, each containing 4 articles within 2 sub-sections) shows just one way to create a site which is simple and multilingual.
The home page offers a choice of languages.
On subsequent pages, you can easily navigate to the corresponding section or article in another language by using a drop-down menu.
This structure should prove a useful starting point for those who are trying to use Spip to build a multilingual site for the first time.
An online demo of this site is available (for a limited time, at least) at http://www.taize.ch/spip172/. The three « template » files are : accueil.html, rubrique.html and article.html.
Howto
1) Perform a new installation of Spip 1.8.2, 1.8 or 1.7.2. [1]
2) Overwrite the files contained in the file SpipMultilingueExemple.zip offered below.
3) In your Private space, activate the Complete interface.
4) Go to
.../ecrire/config-lang.php3
and change the character set for the site to Universal alphabet (utf-8)
5) Go to
.../ecrire/config-multilang.php3
and select :
Enable the language menu for the articles ? [No]
Enable the language menu for the sections ? [Yes]
and click on Submit
Next :
... only for the sections located at the root ? [Yes]
Managing translation links ? [Yes]
6) On the page
.../ecrire/admin_tech.php3
click on « Restore the database » and follow the instructions.
Attention ! The file to be restored is :
dump172.xml.gz if you are using Spip 1.7.2
dump18.xml.gz if you are using Spip 1.8
dump182.xml.gz if you are using Spip 1.8.2
7) Once the database is restored, the codes for accessing the private area are :
Login : admin
Password : spipdemo
8) Visit the site, and also take a look at the code of these files : accueil.html, rubrique.html and article.html.
Discussions par date d’activité
3 discussions
Thank you for updating the article. Creating a multilingual sites became easy this way.
shams games
Répondre à ce message
i currently use spip 1.9.2 and the sarka skeleton for a french english bilingual site. yours looks way cooler. i am a spip beginner and i would be interested in the skeleton you have develope برنامج تحميل make it slower than برنامج
Répondre à ce message
Having borrowed numerous techniques from taize, I’ve built a trilingual (French, English, Russian) website with « multi » rubriques and translated articles.
No tables, fully W3C compliant, no Flash.
Uses Thickbox2, Forms&Tables, SPIP-Listes, SPIP 1.9.2b.
Happy to share squelettes and offer commentary to anyone interested.
hi
i currently use spip 1.9.2 and the sarka skeleton for a french english bilingual site.
yours looks way cooler. i am a spip beginner and i would be interested in the skeleton you have developed.
daniel
www.xploratorium.net
Répondre à ce message
Ajouter un commentaire
Avant de faire part d’un problème sur un plugin X, merci de lire ce qui suit :
Merci d’avance pour les personnes qui vous aideront !
Par ailleurs, n’oubliez pas que les contributeurs et contributrices ont une vie en dehors de SPIP.
Suivre les commentaires : |