From kde-core-devel Wed Oct 24 11:09:14 2007 From: Krzysztof Lichota Date: Wed, 24 Oct 2007 11:09:14 +0000 To: kde-core-devel Subject: Re: Language Changes part 2 Message-Id: <471F27DA.7050203 () lichota ! net> X-MARC-Message: https://marc.info/?l=kde-core-devel&m=119322640122749 MIME-Version: 1 Content-Type: multipart/mixed; boundary="--------------enig08B401388E2BDCFFBA0C182C" This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig08B401388E2BDCFFBA0C182C Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable John Tapsell napisa=C5=82(a): > Hi all, >=20 > I have been playing about with changing the language of an app at > runtime, and got it working pretty well for ksysguard. =20 > For a small app like ksysguard, it's only half a days work, so it's > not a huge task, but there are still too many steps that are needed > when a lot of it should just work. > Feedback and comments welcome. I think it would be great if it was implemented in all apps :) I am not sure if it is worth the buck though if it requires additional programming - people do not often change their language preference, so switching language upon start should be enough for most :) I see you have implemented it by forcing resetting all UI strings of all widgets in app. I have been trying to implement something on lower level, so that it would be automatic by modifying Qt to store information about original string and dynamic translating it (see http://dyntrans.sourceforge.net/). Then it would just require redraw of all widgets :) Krzysztof Lichota --------------enig08B401388E2BDCFFBA0C182C Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2.2 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFHHyfaSHJB/1EhaUwRAhgyAJ9SpCGYY0SFx4n+iz0PNDx+dS/VpgCgrS3A HVu1jExIo0X8OVwj80uGJqA= =ei7I -----END PGP SIGNATURE----- --------------enig08B401388E2BDCFFBA0C182C--