[pacman-dev] [PATCH] Allow translation of makepkg y/n question

Aaron Griffin aaronmgriffin at gmail.com
Fri Jul 18 11:46:19 EDT 2008


On Fri, Jul 18, 2008 at 10:39 AM, Allan McRae <allan at archlinux.org> wrote:
> Aaron Griffin wrote:
>> On Fri, Jul 18, 2008 at 1:41 AM, Allan McRae <allan at archlinux.org> wrote:
>>
>>>                answer=$(echo $answer | tr '[:upper:]' '[:lower:]')
>>>
>>
>> Random unrelated point - can this line possibly cause issues similar
>> to the Turkish I/i thing?
>>
>
> Maybe, what is the Turkish I/i thing?  (Maybe its another language
> because I think Y=E, n=h in turkish).

Turkish has two I's. Just remember that the 'dot' moves with it. So i
capitalizes to I with a dot over it, and I lowercases to an i without
the dot over it. It causes all sorts of issues with "to upper" type
comparisons. I was just wondering if this sort of issue hits any other
languages. Because we ran into this with config file parsing, I always
get scared when I see upper/lower based compares in a translated
context. Just being thourough




More information about the pacman-dev mailing list