[Kde-pim] KABC::Address.countryToISO() not working?

Friedrich W. H. Kossebau kossebau at kde.org
Sat Feb 24 22:42:05 GMT 2007


Am Samstag, 24. Februar 2007 22:21, schrieb Friedrich W. H. Kossebau:
> Am Samstag, 24. Februar 2007 22:17, schrieb Kevin Krammer:
> > I did three tests, always the same person and changing the country
> > between tests. Original Country Austria, then Germany then Norway.
> > All three URLs had the expecteted (at, de, no respectively) country code
>
> Thanks very much, Kevin :)
>
> So my system(s) are borked here somehow, oha. :(
> *Sigh* Going to debork/debug now.

Ah, evil.

The nice dialog for editing the postal/street address has a function
	void AddressEditDialog::fillCountryCombo()
with an own list of i18n()ed country names which receive their own 
translation, while KLocale/countrytransl.map uses data from 
l10n/*/entry.desktop.

So it was "Vereinigte Staaten" for "United States" with i18n, and "USA" by 
KLocale. And so did KLocale defaulting to the local country code ("de" for 
me) for "Vereinigte Staaten" with KABC::Address.countryToISO().

Cornelius, Tokoe, this seems pretty much bitrodden, or? Could we change this 
to read the translated names from l10n/*? So we are consistent? Maybe a 
little bit slower, but this is a one time cost in the middle of the programs 
usage. Or should I bug the german translator? But I consider the parallel 
data to be the worse solution.

Should I try to make a patch?
Friedrich
_______________________________________________
kde-pim mailing list
kde-pim at kde.org
https://mail.kde.org/mailman/listinfo/kde-pim
kde-pim home page at http://pim.kde.org/



More information about the kde-pim mailing list