[index] [prev] [next] [options] [help]
See the Contact 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.

Re: [EP-tech] multi-language

From: Christopher Gutteridge <cjg AT ecs.soton.ac.uk>
Date: Mon, 12 Jan 2004 18:53:47 +0000


Threading: [EP-tech] multi-language from Jean-Marie.Lebechec AT inp-toulouse.fr
      • This Message

OK. Version 2.2 requires cookies to set this preference.

Version 2.3 will, if no cookie is set, look at your browser preferences 
(which is what I shoud have done in the first place...)

Does your browser accept cookies?

Everything you did sounds spot on.

On 7 Jan 2004, at 09:03, Jean-Marie Le Bechec wrote:

> 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
> ***********************************************
>

Christopher Gutteridge - cjg AT ecs.soton.ac.uk - 023 8059 4833



[index] [prev] [next] [options] [help]