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

List:       kde-i18n-doc
Subject:    Re: Number localization in KDE4
From:       Krzysztof Lichota <krzysiek () lichota ! net>
Date:       2007-04-29 8:59:42
Message-ID: 46345E7E.9020602 () lichota ! net
[Download RAW message or body]


Chusslove Illich napisaƂ(a):
>> [: Krzysztof Lichota :]
>> In my proposal properly marked strings are shown properly as soon as
>> developer uses it.
> 
> Err, but that would mean that amount-numbers (those 85% or more) would have to 
> be marked, and the default would be to do nothing with the number?
> 
> Somehow I cower before this. In principle, programmers could do something 
> similar till now -- wrap number arguments with KLocale's formatNumber() 
> method, to have them localized according to Control Center settings. And we 
> all know how much this was used.

Maybe if it was more enforced (Krazy check?), it would be used.

> Admittedly, my original idea is a hammerhead. Sometimes it will bite 
> programmers directly, forcing self-correction. It may also act 
> preventively: "Wait a moment, I display a port number here, and that file 
> size previously was by default showing with thousands separator. Hm..."

I think it will bite much more translators and users than developers. I
know (and you probably too) how long it might take to correct and i18n
bug in apps.

	Krzysztof Lichota



["signature.asc" (application/pgp-signature)]

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

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