i18n bug regarding Arabic-Indic numbers needinfo.

Adriaan de Groot adridg at cs.kun.nl
Tue Apr 20 22:59:59 BST 2004


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Tuesday 20 April 2004 09:36, Lars Knoll wrote:
> On Tuesday 20 April 2004 00:14, Adriaan de Groot wrote:
> > what ١٥ + ١٥ was (the answer is obviously ٣٠). But before we go into this
> > too far, consider: what is ٣٠ + 7? 37? ٣٧? Does QString::arg(int) produce
> > localized output at all, anyway?
>
> Yes it does if you tell it to. QString("%L1").arg(1.23) does produce
> localized output. The advantage of this scheme is that the translators can
> decide themselves if they want localized numbers or not.

Ah, that's a 3.3 extension, not safe for use yet (in KDE 3.2 or KDEPIM 3.3). 
It will be useful, as you point out, for translators once the requirements 
are updated.

- -- 
pub  1024D/FEA2A3FE 2002-06-18 Adriaan de Groot <groot at kde.org>
                     Would you like a freem?
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (FreeBSD)

iD8DBQFAhZ1kdqzuAf6io/4RAiBWAKCn3JjbwL4u73ePrKPkFL68Fx2ynACbBK+0
1TXQs/qHqdS/wfusvRSYl64=
=hHwh
-----END PGP SIGNATURE-----




More information about the kde-core-devel mailing list