[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-pim
Subject:    Re: [Kde-pim] KABC Addresses
From:       Wolfgang Rohdewald <wr6 () uni ! de>
Date:       2002-10-02 20:37:29
[Download RAW message or body]

On 02.10.2002 18:19, Tobias Koenig wrote:

> > ADR;TYPE=home:;;Foobarstr. 32;Bonn;;53111;Deutschland
> >
> > so this is "Deutschland" instead of "Germany". However, if an
> > english person would store this information it would read
> > "Germany". I have no idea of how to map localized country names
> > to ISO codes apart from having a translation
>
> That is no problem. The map will be created like this
>
> QMap<QString,QString> cMap
>
> cMap.insert( i18n("Germany"), "de");
> cMap.insert( i18n("Tuvalu"), "tv");
>
> The translations for all countries already exists so it is no
> additional work for the i18n guys.
> You can query a ISO code by cMap[ country ]. (country ==
> "Deutschland") If you create this cMap with a current locale of
> 'de' that will work fine.

what if I have German as local language and somebody sends me a VCard
in Russian or any other language and I try to import his VCard?

Who/what translates the russian country name (any country) into the
german country name? Sure, translations for all countries exist for
all languages, but are really all of them installed by default?

Wolfgang




_______________________________________________
kde-pim mailing list
kde-pim@mail.kde.org
http://mail.kde.org/mailman/listinfo/kde-pim
kde-pim home page at http://pim.kde.org/
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic