Demo Discussion
Forum Config Examples Contributions Vulnerabilities
  Discussion forum about ELOG  Not logged in ELOG logo
icon5.gif   Comment avoir elog en français II, posted by Philippe Rousselot on Sat Oct 27 18:15:37 2012 
    icon2.gif   Re: Comment avoir elog en français II, posted by Andreas Luedeke on Mon Oct 29 07:52:07 2012 
       icon2.gif   Re: Comment avoir elog en français II, posted by Philippe Rousselot on Mon Oct 29 09:13:54 2012 
          icon2.gif   Re: Comment avoir elog en français II [solved almost], posted by Philippe Rousselot on Mon Oct 29 09:20:50 2012 
             icon2.gif   Re: Comment avoir elog en français II [solved almost], posted by David Pilgram on Mon Oct 29 12:22:30 2012 
                icon2.gif   Re: Comment avoir elog en français II [solved almost], posted by Andreas Luedeke on Mon Oct 29 17:27:12 2012 
                   icon2.gif   Re: Comment avoir elog en français II [solved almost], posted by David Pilgram on Mon Oct 29 19:10:37 2012 
Message ID: 67363     Entry time: Mon Oct 29 12:22:30 2012     In reply to: 67362     Reply to this: 67364
Icon: Reply  Author: David Pilgram  Author Email: David.Pilgram@epost.org.uk 
Category: Info  OS: Windows  ELOG Version: latest 
Subject: Re: Comment avoir elog en français II [solved almost] 

Philippe Rousselot wrote:

Philippe Rousselot wrote:

Andreas Luedeke wrote:

Philippe Rousselot wrote:

Bonjour,

tout est dans le titre.

Merci

For those who speak strange languages, I asked how to get a french version of elog.

By the way, this is my second mail because I forgot to give an icon to the first mail, and when I hit Back to do so, my text was erased. Bug or normal obnoxious attitude of my browser ?

Thanks in advance

Philippe 

ELOG comes "internationalised": you just need to set your desired language in the configuration files.
Language = french
in the configuration file elogd.cfg does the trick.
If you are capable to read the English language (which I suppose ), then I would recommend reading the manual, e.g. https://midas.psi.ch/elog/config.html#global
Detect language » English
 

PS: I happened to have the same problem (text erased after "back") when I had javascript disabled in the browser. If you have it enabled, you'll get a popup window that tells you what mandatory fields are missing in your post. Then you'll not need to use the back button.

 Hi,

Thanks for the answer. I tried this (directly from de setting menu in the demo account as well as from the onfig file) :

I modified of course the text that could be modified directly from there such as menus and submenus.

I added Language = french, I restarted the server, clear the cache of firefox (IE as well), but list, new and so on appear in english even they are in the locale file...

Indeed, the manual is very interesting

concerning javascript, it is activated ...

Thanks again

Philippe

 Found it !

 

I wanted to have locale set in the folder demo (so I could have one in french and one in english).

Once language set in globals everything went fine. Almost...

Philippe

 May I make a suggestion here?  Something I do for other reasons.  I run two separate elog daemons, each with their own configuration files.  In this case you could have one configuration file tout en française, and the other in English.  This gets around the language setting being in the Global section of the configuration file elog.cfg

 

Of course this needs a little planning, for example a small script/batch file to start up each daemon with the correct config file. - so on my linux system, I start one with

/usr/local/sbin/elogd -p 8080 -c /home/logbooks/elogd0.cfg -d /home/logbooks

and the other with

/usr/local/sbin/elogd -p 8081 -c /home/logbooks/elogd1.cfg -d /home/logbooks

 

The disadvantage is that you cannot click between French and English by the tabs along the top of the elog page, you'd have to switch between browser windows.

Hope this helps.

 

David.

ELOG V3.1.5-3fb85fa6