Make the new layout available for i18n pages

Olaf Jan Schmidt ojschmidt at kde.org
Mon Mar 10 09:24:37 UTC 2003


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

[Chris Howells]
> I was thinking of creating i18n() function which basically looked up a
> string in an array (e.g. pretty similar to the way that the url mapper
> works in 404.php). The array could be generated from a particular
> languages .po file using a shell script or something. Well, we'll worry
> about that later.

That it seems to make sense to me. 

I am not familiar with gettext, would it be possible to hide it behind 
this i18n function, so we can choose to drop our own algorithm if it 
prooves to slow, or only use our own algorithm if the mirror doesn't have 
gettext?

And another thing: Does gettext translate automatically according to the 
user agent string, or can it be set per page?

Olaf.

- -- 
Olaf Jan Schmidt, KDE Accessibility Project
KDEAP co-maintainer, maintainer of http://accessibility.kde.org

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iEYEARECAAYFAj5sWdkACgkQoLYC8AehV8eX7gCghEux4hj8SnOYOgbvyRKHiP0i
pREAnRhsMcSx23mKvb55LA+P9GPXpYq4
=Nd3h
-----END PGP SIGNATURE-----




More information about the kde-www mailing list