[Cartoweb-dev] Pb with internationalization

Yves Jacolin yjacolin at free.fr
Wed Jan 31 03:38:52 EST 2007


You can change the encoding parameter in the client.ini and the server.ini 
file for this !

Y.
Le Mercredi 31 Janvier 2007 08:50, Sylvain Beorchia a écrit :
> Hi,
>
> i restarted Apache, and it works !
> thanks a lot.
>
> i've got problems of accents now, i'm gonna have a look for that.
>
> Sylvain B.
>
> Oliver Christen a écrit :
> > did you restart apache after changing your locale and alias
> > configuration? this is important
> >
> > also check that in your /locale/ folder, verify that there is a 'fr'
> > folder and that it contains /LC_MESSAGES/ and there several .mo files.
> >
> > Oliver
> >
> >> Hi,
> >>
> >> Thanks for all your answers, but still not working.
> >> I restarted from the beginning, doing this :
> >>
> >> cvs -d :pserver:anonymous at dev.camptocamp.com:/var/lib/cvs/public co
> >> cartoweb3
> >>
> >> php5 cw3setup.php --install --base-url
> >> http://localhost/cartoweb3/htdocs/ Puis
> >>  php5 cw3setup.php --fetch-demo
> >>
> >>
> >> And still nothing. Everything seems good when installing. And the test
> >> script works for gettext.
> >>
> >>
> >> Thanks.
> >> Sylvain B.
> >>
> >> Oliver Christen a écrit :
> >>> you  need to run the cw3setup.php --install once again
> >>> otherwise you will not have the .mo generated and hence no traduction
> >>>
> >>>> Ok,
> >>>> i've added :
> >>>>
> >>>> fr fr_FR.UTF-8
> >>>>
> >>>> in my /etc/locale.alias, and then executed :
> >>>>
> >>>> dpkg-reconfigure locales
> >>>>
> >>>> The testgettext.php works now. Here the result i get :
> >>>>
> >>>> <pre><b>PHP-Gettext is OK, well done !</b></pre>
> >>>>
> >>>> is it ok in english ? shouldn't it be in french ?
> >>>>
> >>>> Anyway, i tried the demoCW3 and still nothing. All in English...
> >>>>
> >>>> I've just downloaded the cartoweb package, and lauchned it. Nothing
> >>>> more. Nothing less. I checked in the INI file that FR is default.
> >>>>
> >>>>
> >>>> Thanks.
> >>>> Sylvain B.
> >>>>
> >>>> Pierre GIRAUD a écrit :
> >>>>> Sylvain Beorchia wrote:
> >>>>>> Hi Yves,
> >>>>>>
> >>>>>> I tried all the demos coming with the package. French never worked.
> >>>>>>
> >>>>>> In fact, when i install cartoweb, the testgettext.php script doesn't
> >>>>>> work. To make it run, i need to edit it and change $LOCALE = "fr";
> >>>>>> by $LOCALE = "fr_FR.UTF-8";
> >>>>>
> >>>>> If the script doesn't work, you will have no chance to get the
> >>>>> Cartoweb
> >>>>> I18n working.
> >>>>> Cartoweb only accepts locales defined with two letters. To be able to
> >>>>> have locales working that way in your système, you'll need to set
> >>>>> locales.alias (as said in the doc I think).
> >>>>> Something like the following is needed in /etc/locale.alias :
> >>>>>
> >>>>> ## for cartoweb3
> >>>>> fr          fr_FR.ISO-8859-1
> >>>>> de          de_DE.ISO-8859-1
> >>>>> en          en_US.ISO-8859-1
> >>>>>
> >>>>>> In the .ini file, nothing happen if i chage en by fr, or even when i
> >>>>>> choose Fr in the demoCW3. And see that tooltips on tols are not
> >>>>>> goods too. That's strange. I've installed cartoweb many times  and
> >>>>>> tried to recompil the .mo files...but results.
> >>>>>
> >>>>> Try to get the testgettext scripts working first.
> >>>>>
> >>>>>> So maybe i've got something wrong there.
> >>>>>>
> >>>>>> I'm working on linux kunbuntu / kde.
> >>>>>>
> >>>>>> Thanks.
> >>>>>> Sylvain B.
> >>>>>>
> >>>>>> Yves Jacolin a écrit :
> >>>>>>> Hello Sylvain,
> >>>>>>>
> >>>>>>> I succeed to use cartoweb in French some monthes ago and so it
> >>>>>>> comes with french translation. Do you test the demo ? Can you use
> >>>>>>> them in French ? Did you test the script (sh and php script) to
> >>>>>>> test if your system is correct (ie correct install of gettext,
> >>>>>>> locale, ...) ?
> >>>>>>>
> >>>>>>> When you choose french in the combo list or set fr in the
> >>>>>>> client.ini file, what happen ?
> >>>>>>>
> >>>>>>> Y.
> >>>>>>>
> >>>>>>> Le Mardi 30 Janvier 2007 15:34, Sylvain Beorchia a écrit :
> >>>>>>>> Hi,
> >>>>>>>>
> >>>>>>>> I've been using Cartoweb for a month now, and i've got a problem i
> >>>>>>>> didn't solve: internationalization.
> >>>>>>>> I'd like to have my cartoweb in french, but it doesn't work.
> >>>>>>>>
> >>>>>>>> Moreover in the DemoCW3, the tooltips for the tools are incorrect:
> >>>>>>>> 'zoomin' instead of 'Zoom in' ...
> >>>>>>>>
> >>>>>>>> I followed the manual many times, but with no result.
> >>>>>>>>
> >>>>>>>> I was wondering if French translation comes with the cartoweb
> >>>>>>>> package ?
> >>>>>>>>
> >>>>>>>> Did someone get the same problem ?
> >>>>>>>>
> >>>>>>>> Thanks.
> >>>>>>>>
> >>>>>>>> Sylvain B.
> >>>>>>>> Makina Corpus
> >>>>>>>>
> >>>>>>>> _______________________________________________
> >>>>>>>> Cartoweb-dev mailing list
> >>>>>>>> Cartoweb-dev at lists.maptools.org
> >>>>>>>> http://lists.maptools.org/mailman/listinfo/cartoweb-dev
> >>>>>>
> >>>>>> _______________________________________________
> >>>>>> Cartoweb-dev mailing list
> >>>>>> Cartoweb-dev at lists.maptools.org
> >>>>>> http://lists.maptools.org/mailman/listinfo/cartoweb-dev
> >>>>
> >>>> _______________________________________________
> >>>> Cartoweb-dev mailing list
> >>>> Cartoweb-dev at lists.maptools.org
> >>>> http://lists.maptools.org/mailman/listinfo/cartoweb-dev
>
> _______________________________________________
> Cartoweb-dev mailing list
> Cartoweb-dev at lists.maptools.org
> http://lists.maptools.org/mailman/listinfo/cartoweb-dev

-- 
Yves Jacolin
---
http://yjacolin.gloobe.org



More information about the Cartoweb-dev mailing list