--nextPart3228317.FJf5eqReFP Content-Type: Text/Plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable >> [: Thomas Zander :] >> But can we be certain enough of succeeding now where we clearly failed >> before that this is actually worth stopping the innovations that >> Chusslove is working on? > [: Albert Astals Cid :] > I did not understand that it was stopping any innovation, Chusslove can > you clarify if you want to remove them for the sake of simpler code (which > I don't say it's unimportant) or because they create problems with other > features you are developing? It's not stopping any innovation as such, since I just want to drop it and add nothing new. But the system cannot remain as it is, because of too many quirks. To remain, it would have to be fixed, and to be made optional. Both these aspects are problematic. "Fixed" would make it require more discipline. For example, one could no longer do: QString problem =3D i18n("Blah blah foom."); ... QString report =3D i18n("Blah blah: %1", problem); because substitution would cause autoescaping of any target format tags (e.g. if was turned into ), and show them verbatim. Instead, one would have to do: KLocalizedString problem =3D ki18n("Blah blah foom."= ); ... QString report =3D i18n("Blah blah: %1", problem); as only KLocalizedString as argument would not be autoescaped (it would be enforced to be valid wrt. markup). "Optional" would cause uncertainty. One could not count on KUIT being available in a particular section of code, but would have to check 1) which catalog are messages looked up in 2) does that catalog have KUIT enabled (optionality would be by-catalog). That someone in doubt does not have to be a human, but also source code/translation validation tool. These two implications, combined with low usage as it is, makes me conclude it is not worth investing the work in fixing the system. Higher discipline and more uncertainty would mean even less people would use it than they do now. (The stakes are somewhat different for the more radically new system that I describe in that proposal for extending Gettext. The higher discipline requirement would remain, but is (supposed to be) offset by the fact that you could use the exact same i18n in any programming language and toolkit, providing availability of bindings, and use arbitrary target visual formats transparently for translators; i.e. translators would no longer see the underlying programming framework. The uncertainty aspect would be mostly removed, because new option to xgettext would be used on extraction, and all messages in PO file would get appropriate *-format flag, whether they have any placeholder or not.) =2D-=20 Chusslove Illich (=D0=A7=D0=B0=D1=81=D0=BB=D0=B0=D0=B2 =D0=98=D0=BB=D0=B8= =D1=9B) --nextPart3228317.FJf5eqReFP Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (GNU/Linux) iEYEABECAAYFAk9tm/cACgkQMSGXgigGr3GgwACeP7A0rMj88uW0AK9hNpCwH7xS 4s8An2h+JejRRsDi9HEqObfuFZO8cn/z =c/8x -----END PGP SIGNATURE----- --nextPart3228317.FJf5eqReFP--