Re: Issue with Access keys and accented characters
gerard breiner <[email protected]> Wed, 03 Jul 2013 14:40:34 +0200
| Newsgroups | gmane.comp.horde.internationalization |
|---|---|
| Message-ID | <20130703144034.Horde.J1o2k5J7WRZ24vEJZlTKvA1@webmail5-dev.ias.u-psud.fr> |
David Fernández Acín <[email protected]> a écrit : > ----- Mensaje de Gerard Breiner <[email protected]> --------- > Fecha: Wed, 3 Jul 2013 11:42:43 +0200 > De: Gerard Breiner <[email protected]> > Asunto: Re: [i18n] Issue with Access keys and accented characters > Para: Jan Schneider <[email protected]> > Cc: [email protected] > > >> Le 3 juil. 2013 à 11:28, Jan Schneider <[email protected]> a écrit : >> >>> >>> Zitat von Gerard Breiner <[email protected]>: >>> >>>> Le 3 juil. 2013 à 08:30, David Fernández Acín >>>> <[email protected]> a écrit : >>>> >>>>> We have the same problem with Spanish language and we use the >>>>> same "solution" (update translation files). >>>>> >>>>> ----- Mensaje de Gerard Breiner <[email protected]> --------- >>>>> Fecha: Tue, 2 Jul 2013 16:39:38 +0200 >>>>> De: Gerard Breiner <[email protected]> >>>>> Asunto: Re: [i18n] Issue with Access keys and accented characters >>>>> Para: Jan Schneider <[email protected]> >>>>> Cc: [email protected] >>>>> >>>>> >>>>>> Le 2 juil. 2013 à 14:56, Jan Schneider <[email protected]> a écrit : >>>>>> >>>>>>> >>>>>>> Zitat von gerard breiner <[email protected]>: >>>>>>> >>>>>>>> Paul De Vlieger <[email protected]> a écrit : >>>>>>>> >>>>>>>>> Le 02/07/2013 12:13, Gérard Breiner a écrit : >>>>>>>>>> Hello, >>>>>>>>>> >>>>>>>>>> It appears that when there is a letter that is used as >>>>>>>>>> access keys in a word with an accent characters the letter >>>>>>>>>> is not display. For instance : In french "New event" >>>>>>>>>> should be "Nouvel événement(N)" but instead of this whe >>>>>>>>>> get : >>>>>>>>>> "Ouvel événement(N). >>>>>>>>>> the solution I found is to doubled the access key in the >>>>>>>>>> locale fr-FR like this : >>>>>>>>>> #: lib/Application.php:162 lib/View/Sidebar.php:33 >>>>>>>>>> msgid "_New Event" >>>>>>>>>> msgstr "_NNouvel événement" >>>>>>>>>> >>>>>>>>>> I proceeded the same way with the entire file kronolith.po >>>>>>>>>> and nag.po and translate into .mo files. Is there a place >>>>>>>>>> in the horde community where I can put these files ? >>>>>>>>>> >>>>>>>>>> Best regards >>>>>>>>>> >>>>>>>>>> Gérard Breiner >>>>>>>>>> Institut d'Astrophysique Spatiale >>>>>>>>>> FR-91405 Orsay Campus >>>>>>>>>> >>>>>>>>>> >>>>>>>>> >>>>>>>>> I don't see this error in our Horde (5.1), what is access keys? >>>>>>>>> >>>>>>>>> Anyway if you want to update a translation just submit a >>>>>>>>> link to download a tarball containing your .po files and >>>>>>>>> they'll be commited by the horde team. >>>>>>>>> >>>>>>>>> Here is a sample link (commited in January): >>>>>>>>> https://www.moniut.univ-bpclermont.fr/horde-translation/horde-fr-new.tar.gz >>>>>>>>> >>>>>>>>> Paul >>>>>>>>> >>>>>>>>> -- >>>>>>>>> Paul De Vlieger >>>>>>>>> IUT d'Allier >>>>>>>>> Info & Réseau >>>>>>>>> +33 4 70 02 20 62 >>>>>>>>> >>>>>>>>> -- >>>>>>>>> i18n mailing list >>>>>>>>> Frequently Asked Questions: http://wiki.horde.org/FAQ >>>>>>>>> To unsubscribe, mail: [email protected] >>>>>>>> >>>>>>>> "Access keys" is "Keyboard shortcuts". For example in >>>>>>>> kronolith you can type "Ctrl N" for adding a new event. >>>>>>>> We have horde 5.1 with language french. Do you have an idea >>>>>>>> about this issue that we have except you whereas we have the >>>>>>>> same version of horde ? Our horde is installed under Debian 7 >>>>>>>> (Wheezy). An issue with our locale ? >>>>>>> >>>>>>> Obviously, because it works just fine here (and probably >>>>>>> anywhere else, since nobody reported this before). >>>>>>> -- >>>>>>> Jan Schneider >>>>>>> The Horde Project >>>>>>> http://www.horde.org/ >>>>>>> >>>>>>> -- >>>>>>> i18n mailing list >>>>>>> Frequently Asked Questions: http://wiki.horde.org/FAQ >>>>>>> To unsubscribe, mail: [email protected] >>>>>> >>>>>> Okay, I'm going to look at this… Thanks indeed Jan. >>>>>> >>>>>> Best regards. >>>>>> >>>>>> Gérard Breiner >>>>> >>>>> >>>>> ----- Terminar mensaje de Gerard Breiner >>>>> <[email protected]> ----- >>>>> >>>>> >>>>> -- >>>>> ********************************************************** >>>>> David Fernández Acin >>>>> Sistema-analista / Analista de Sistemas >>>>> IKT Gerenteordetza / Vicegerencia TIC >>>>> Euskal Herriko Unibertsitatea / Universidad del País Vasco >>>>> Tlf: +34 94 601 2137 >>>>> E-mail: [email protected] >>>>> ********************************************************** >>>>> >>>>> -- >>>>> i18n mailing list >>>>> Frequently Asked Questions: http://wiki.horde.org/FAQ >>>>> To unsubscribe, mail: [email protected] >>>> >>>> I'm very glad to read this cause I'm not alone to encounter this issue… >>>> Nevertheless, would it be possible that this issue is really >>>> caused by a mistake in the "locales"… How to check that we have >>>> the right "locales" ? >>>> When I run the command "locale" I get : >>>> LANG=fr_FR.UTF-8 >>>> LANGUAGE= >>>> LC_CTYPE="fr_FR.UTF-8" >>>> LC_NUMERIC="fr_FR.UTF-8" >>>> LC_TIME="fr_FR.UTF-8" >>>> LC_COLLATE="fr_FR.UTF-8" >>>> LC_MONETARY="fr_FR.UTF-8" >>>> LC_MESSAGES="fr_FR.UTF-8" >>>> LC_PAPER="fr_FR.UTF-8" >>>> LC_NAME="fr_FR.UTF-8" >>>> LC_ADDRESS="fr_FR.UTF-8" >>>> LC_TELEPHONE="fr_FR.UTF-8" >>>> LC_MEASUREMENT="fr_FR.UTF-8" >>>> LC_IDENTIFICATION="fr_FR.UTF-8" >>>> LC_ALL= >>>> >>>> That seems to be correct, isn't it ? >>> >>> Yes. >>> >>>> Jan could you please give us some hints ? >>> >>> For some reason your locales are considered multibyte in >>> Horde_Registry_Nlsconfig->curr_multibyte. From the code paths this >>> should only happen if you changed config/nls.php without telling us. >>> -- >>> Jan Schneider >>> The Horde Project >>> http://www.horde.org/ >>> >>> -- >>> i18n mailing list >>> Frequently Asked Questions: http://wiki.horde.org/FAQ >>> To unsubscribe, mail: [email protected] >> >> You're right, I had an old nls.local.php, I've deleted it and all >> works very fine… Sorry for the inconvenience…. Many thanks. >> >> Gérard > > ----- Terminar mensaje de Gerard Breiner <[email protected]> ----- > > We also have a nls.local.php file. We will review it to see what we > have misconfigured. Thanks. > > > -- > ********************************************************** > David Fernández Acin > Sistema-analista / Analista de Sistemas > IKT Gerenteordetza / Vicegerencia TIC > Euskal Herriko Unibertsitatea / Universidad del País Vasco > Tlf: +34 94 601 2137 > E-mail: [email protected] > ********************************************************** > > -- > i18n mailing list > Frequently Asked Questions: http://wiki.horde.org/FAQ > To unsubscribe, mail: [email protected] As a matter of fact the difference between nls.php and our nls.local.php is the 'language' and the UTF-8 charset which is missed for french and spanish. Probably our issue has been caused by having added the UTF-8 charset. Anyway, all works very fine now and horde 5.1 is a great version. Many thanks Jan and all the team. nls.php ---------------------------- 17c17 < 'language' => '', ---------------------------- nls.local.php ------------------------------ > 'language' => 'fr_FR', 122a123,126 At "/* Charsets. These differ somewhat on different systems; see below for * for a set of BSD charset names. */ " > /** Hack G.Breiner **/ > //'fr_FR' => 'ISO-8859-1', > 'fr_FR' => 'UTF-8', > /** End of Hack G.Breiner **/ ------------------------------- -- i18n mailing list Frequently Asked Questions: http://wiki.horde.org/FAQ To unsubscribe, mail: [email protected]