[i18n] Issue with Access keys and accented characters

Gerard Breiner gerard.breiner at ias.u-psud.fr
Wed Jul 3 09:42:43 UTC 2013


Le 3 juil. 2013 à 11:28, Jan Schneider <jan at horde.org> a écrit :

> 
> Zitat von Gerard Breiner <gerard.breiner at ias.u-psud.fr>:
> 
>> Le 3 juil. 2013 à 08:30, David Fernández Acín <david.fernandez at ehu.es> a écrit :
>> 
>>> We have the same problem with Spanish language and we use the same "solution" (update translation files).
>>> 
>>> ----- Mensaje de Gerard Breiner <gerard.breiner at ias.u-psud.fr> ---------
>>> Fecha: Tue, 2 Jul 2013 16:39:38 +0200
>>>   De: Gerard Breiner <gerard.breiner at ias.u-psud.fr>
>>> Asunto: Re: [i18n] Issue with Access keys and accented characters
>>> Para: Jan Schneider <jan at horde.org>
>>>   Cc: i18n at lists.horde.org
>>> 
>>> 
>>>> Le 2 juil. 2013 à 14:56, Jan Schneider <jan at horde.org> a écrit :
>>>> 
>>>>> 
>>>>> Zitat von gerard breiner <gerard.breiner at ias.u-psud.fr>:
>>>>> 
>>>>>> Paul De Vlieger <paul.de_vlieger at moniut.univ-bpclermont.fr> 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: i18n-unsubscribe at lists.horde.org
>>>>>> 
>>>>>> "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: i18n-unsubscribe at lists.horde.org
>>>> 
>>>> Okay, I'm going to look at this…  Thanks indeed Jan.
>>>> 
>>>> Best regards.
>>>> 
>>>> Gérard Breiner
>>> 
>>> 
>>> ----- Terminar mensaje de Gerard Breiner <gerard.breiner at ias.u-psud.fr> -----
>>> 
>>> 
>>> --
>>> **********************************************************
>>> 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: david.fernandez at ehu.es
>>> **********************************************************
>>> 
>>> --
>>> i18n mailing list
>>> Frequently Asked Questions: http://wiki.horde.org/FAQ
>>> To unsubscribe, mail: i18n-unsubscribe at lists.horde.org
>> 
>> 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: i18n-unsubscribe at lists.horde.org

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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 1885 bytes
Desc: not available
URL: <http://lists.horde.org/archives/i18n/attachments/20130703/f6c5cd0a/attachment.bin>


More information about the i18n mailing list