On Tue, Jan 02, 2007 at 09:06:19AM +0100, "Jesús A. Gila" wrote: > Sylvain Beucler escribió: > >On Tue, Dec 26, 2006 at 01:05:00PM +0100, "Jesús A. Gila" wrote: > > > >>Sylvain Beucler escribió: > >> > >>>On Thu, Dec 21, 2006 at 10:49:11AM +0100, "Jesús A. Gila" wrote: > >>> > >>> > >>>>Mathieu Roy escribió: > >>>> > >>>> > >>>>>Le 21/12/2006, ""Jesús A. Gila"" <[EMAIL PROTECTED]> a écrit: > >>>>> > >>>>> > >>>>>>Sylvain Beucler escribió: > >>>>>> > >>>>>> > >>>>>>>On Wed, Dec 20, 2006 at 09:15:50AM +0100, "Jesús A. Gila" wrote: > >>>>>>> > >>>>>>> > >>>>>>>>Hello everybody, > >>>>>>>>i would like to know how can i get to load Savane in Spanish. Does > >>>>>>>>Savane provide spanish language?. > >>>>>>>>I have configurated my Apache server with spanish like de prefered > >>>>>>>>language, and i have my navigator with the same option activated, > >>>>>>>>but i doesn't works. How can i get it? > >>>>>>>> > >>>>>>>> > >>>>>>>> > >>>>>>>> > >>>>>>>Hi, > >>>>>>> > >>>>>>>There's a translation in Catalan. Is that good for you? > >>>>>>> > >>>>>>>You need 2 things: > >>>>>>> > >>>>>>>- build the spanish system locale for your server > >>>>>>>(Debian: dpkg-reconfigure locales) > >>>>>>>Restart Apache otherwise it won't take it into account. > >>>>>>> > >>>>>>>- install the Savane .mo translation files, usually it's done with > >>>>>>>'make && make install' in the Savane directory. > >>>>>>> > >>>>>>> > >>>>>>> > >>>>>>> > >>>>>>> > >>>>>>Hi, > >>>>>> > >>>>>>Catalan is not good for me, i want Spanish, it isn't the same. > >>>>>>Anyway i only have found .mo files in this directory > >>>>>>(/usr/share/locale ). I have tried to use other language, for example > >>>>>>Italian. In /usr/share/locale/it_IT/LC_MESSAGES/ there is a savane.mo > >>>>>>file, but i don´t know how to use it. I reconfigurated locales with > >>>>>>it_IT, before that i have restart my apache2ctl and put italian > >>>>>>language as my prefered language in my browser(firefox), but the web > >>>>>>is still in english. > >>>>>> > >>>>>>¿Does anyboby help me?. > >>>>>> > >>>>>> > >>>>>> > >>>>>Did you configured your server to handle italian locale? > >>>>> > >>>>>Regards, > >>>>> > >>>>>Mathieu Roy > >>>>> > >>>>> > >>>>> > >>>>> > >>>>Yes i did it, i'm going to show you part of my apache2.conf, the part > >>>>where the language is involved. > >>>> > >>>> LanguagePriority es en de fr > >>>> ForceLanguagePriority Prefer Fallback > >>>>AddLanguage es .es > >>>>AddLanguage da .dk > >>>>AddLanguage nl .nl > >>>>AddLanguage en .en > >>>>AddLanguage et .et > >>>>AddLanguage fr .fr > >>>>AddLanguage de .de > >>>>AddLanguage el .el > >>>>AddLanguage it .it > >>>>AddLanguage ja .ja > >>>>AddLanguage pl .po > >>>>AddLanguage ko .ko > >>>>AddLanguage pt .pt > >>>>AddLanguage no .no > >>>>AddLanguage pt-br .pt-br > >>>>AddLanguage ltz .ltz > >>>>AddLanguage ca .ca > >>>>AddLanguage sv .se > >>>>AddLanguage cz .cz > >>>>AddLanguage ru .ru > >>>>AddLanguage tw .tw > >>>>AddLanguage zh-tw .tw > >>>>LanguagePriority es it en et fr de el nl ja ko no pl pt pt-br ltz ca da > >>>>sv tw > >>>> > >>>>¿Is this ok?, ¿What i have to do?. > >>>> > >>>> > >>>Language setting is managed by Savane, not Apache/content-negociation, > >>>so this shouldn't be necessary. > >>> > >>>You need to enable the ".UTF-8" locale variants (such as, > >>>"it_IT.UTF-8"), because we use the UTF-8 encoding. It is not necessary > >>>to make it the system default locale - it just needs to be available. > >>> > >>>That being said, we currently do not provide a Spanish locale. > >>> > >>> > >>> > >>Ok, thanks for your answer. > >>I have installed "it_IT", this is the output when i run "locale -a": > >> > >> C > >> es_ES.utf8 > >> it_IT.utf8 > >> POSIX > >> > > > >Here's my config: > >dmc:~# locale -a > >C > >fr_FR.utf8 > >it_IT.utf8 > >POSIX > >dmc:~# cd /usr/share/locale/ > >dmc:/usr/share/locale# find -name "savane.mo" > >./de/LC_MESSAGES/savane.mo > >./ja/LC_MESSAGES/savane.mo > >./ko/LC_MESSAGES/savane.mo > >./pt_BR/LC_MESSAGES/savane.mo > >./ru/LC_MESSAGES/savane.mo > >./sv/LC_MESSAGES/savane.mo > >./fr_FR/LC_MESSAGES/savane.mo > >./it_IT/LC_MESSAGES/savane.mo > > > > > > > >>and this is the configuration of the savane.conf.pl : > >> > >> # Default locale and date formatting. > >> our $sys_default_locale="it_IT"; > >> > > > >That's not necessary but that shouldn't be a problem. > > > >Your config works for me (Savane in Italian). > > > > > >>of course i have selected in the web browser italian like my prefered > >>language, but it doesn`t work. > >> > >>¿What's wrong? > >> > > > >I'm afraid I don't know. > > > >Did you restart Apache2 after reconfiguring the locales or only before? > >Also check if your PHP is compiled with gettext support. > > > > > Hello and happy new year to everybody. > > At last, it works , i have installed the gettext package, that was the > problem. Thank you very much. > Now I would like to know how can i do a spanish translate to savane. > > See you.
Hi, You need to edit the .PO translation files. Check the po/ directory in the Savane distribution. There are lots of tutorials and tools for manipulating PO files, which is widespread :) -- Sylvain _______________________________________________ Savane-help mailing list [email protected] https://mail.gna.org/listinfo/savane-help
