Problem with i18n("")

Jacek Wojdel wojdel at kbs.twi.tudelft.nl
Thu Oct 7 13:29:51 BST 1999


-----BEGIN PGP SIGNED MESSAGE-----

On Thu, 07 Oct 1999, you wrote:
> Hello,
>
> i designed a dialog using the KDevelop dialog editor. There a some entry
> fields, which are empty. KDevelops code generation inits this fields with
> i18("").
> Now i tried to add the german language to my program. After make and make
> install and starting the program i got a badly looking dialog. All entry
> fields, which should be empty, are filled with "project id...".
> After trying to change i18n("") to i18n("something") or deleting this
> statement, the fields are really empty.
> So i thing, i have problems to translate i18n("") statements correctly.
>
> Do you know this problem and have you an idea to fix it ?
	Hi !
I think the problem is that empty string in translation files (msgid="") is
used to pass the comments about the translation file (such as project name,
translators etc.) That means, that if you want to use an empty string, you
shouldn't translate it and so use plain "" instead of i18n(""). After all
translation of "" to any language is "" isn't it ?
Reagrds,
	Jacek
--
+-------------------------------------+
|from: J.C.Wojdel                     |
|      J.C.Wojdel at cs.tudelft.nl       |
+-------------------------------------+

-----BEGIN PGP SIGNATURE-----
Version: PGPfreeware 5.0i for non-commercial use
MessageID: AH6iMTLOmNNMrsy5uCzZCqAeHq0sX3TI

iQCVAwUBN/yTEIWy7tU6a5rbAQGDoAP9H8cmX2ccMpWvZ0rrRi47QhU4sGu8YgHs
K+JccVCjGZJYYMlzrQORjONjWKL/e23CDUOG1q8Fk74yNCM5veeIR53Ob7U4HLbB
d1n1MwLWlyLxKIUfBY9RIoE7+fUjz7GlKYaC9tTDl5t3+UUVFlYmzcyXIPjPBUQM
KKQvIup7dyI=
=gNTf
-----END PGP SIGNATURE-----



More information about the KDevelop mailing list