See the Mailing Lists Page for how to subscribe and unsubscribe.
eprints_tech messages
Please note: this page shows emails that have been sent to the eprints_tech mailing list. Some of these may be spam emails we have failed to filter.
[EP-tech] multi-language
From: Jean-Marie Le Bechec <Jean-Marie.Lebechec AT inp-toulouse.fr>
Date: Wed, 07 Jan 2004 10:03:47 +0100
| Threading: | • This Message → Re: [EP-tech] multi-language from cjg AT ecs.soton.ac.uk → Re: [EP-tech] multi-language from Jean-Marie.Lebechec AT inp-toulouse.fr → Re: [EP-tech] multi-language from donal.hunt AT dcu.ie → [EP-tech] multi-language and generate_views from Pascal.Maes AT elec.ucl.ac.be → Re: [EP-tech] multi-language and generate_views from cjg AT ecs.soton.ac.uk → Re: [EP-tech] multi-language and generate_views from Pascal.Maes AT elec.ucl.ac.be → Re: [EP-tech] multi-language and generate_views from cjg AT ecs.soton.ac.uk |
hello,
I want to configure a multi-lingual site for eprints. I followed the
documentation of Viviane Bouletreau :
* addition of static content : /defaultcfg/static/fr/*
* $c->{multi_language_options} = 1; in ArchiveConfig.pm
* <lang id="fr" supported="yes" >French</lang> ↵
in languages.xml
* modification in demoeprints.xml
<archive id="demoeprints">
...
<language>fr</language>
<language>en</language>
...
<defaultlanguage>en</defaultlanguage>
...
<archivename language="en">demoeprints</archivename>
<archivename ↵
language="fr">demoeprintsaaaaaaa</archivename>
* bin/generate_static demoeprints
Starting language fr...
/opt/eprints2/archives/demoeprints/html/fr/contact.html
/opt/eprints2/archives/demoeprints/html/fr/error401.html
/opt/eprints2/archives/demoeprints/html/fr/index.html
/opt/eprints2/archives/demoeprints/html/fr/information.html
/opt/eprints2/archives/demoeprints/html/fr/vlit.html
/opt/eprints2/archives/demoeprints/html/fr/help/index.html
...done fr
Starting language en...
/opt/eprints2/archives/demoeprints/html/en/contact.html
/opt/eprints2/archives/demoeprints/html/en/error401.html
/opt/eprints2/archives/demoeprints/html/en/index.html
/opt/eprints2/archives/demoeprints/html/en/information.html
/opt/eprints2/archives/demoeprints/html/en/vlit.html
/opt/eprints2/archives/demoeprints/html/en/help/index.html
* stop/start httpd
ok
* http://demoeprints.inp-toulouse.fr/perl/set_lang?langid=fr in my browser
and i have :
"Language Changed
Preferred language set to French
The default language of this archive is English."
* go to home page..
* reload the web page (cache)
and .... nothing... If i understand well, I should see "Welcome to
demoeprintsaaaaaaa" ?
In my local cache, i have a cookie "Lang: fr"
where is the problem ? How to debug ?
Thanks for your help
--
***********************************************
Jean Marie Le Bechec
lebechec AT inp-toulouse.fr
Institut National Polytechnique de Toulouse
6 allée Emile Monso - bp 4038 -
34038 Toulouse cedex 4
Tél : 05 62 24 21 30
***********************************************
[index] [prev] [next] [options] [help]




