[kdewebdev-site] kdewebdev.org proposals

David Joham djoham at kdewebdev.org
Tue Apr 27 21:17:10 EDT 2004


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

On Tuesday 27 April 2004 08:08 pm, David Joham wrote:
>
> I'd also like to ask a question of both you and D Reddish. At HP, we have a
> simple table structure layed out like the following...
>
> | Localization ID               | English Text  | Klingon Text | .....
>
> ---------------------------------------------------------------------------
>--------------------------
>
> |  locIDShuttlecraft          | Shuttlecraft   | lupDujHom  | ....
>
> *http://www.amazon.com/gp/reader/0671543490/ref=sib_rdr_next1_2/002-0008525
>-0958475?%5Fencoding=UTF8&p=S00B&ns=1#reader-page
>
> And when we want some text, we (in a nutshell) call something like
>
> String locString = locSubsystem.getL10NString(locIDShuttlecraft);
>
>
> I'm not predisposed to this solution, but I do find it simple and fairly
> easy to work with. I'm curious if either of you considered it and if so,
> why you decided it was not worth pursuing? Is it a PHP vs. Java thing?
>
>
>

well poo. It never fails, you send out pseudo code and then realize the pseudo 
code had a mental time compile error...

Of course the following line
String locString = locSubsystem.getL10NString(locIDShuttlecraft);

shoud be
String locString = locSubsystem.getL10NString(locIDShuttlecraft, <langID>);

so the localization subsystem knows which string to get....

:)

David
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFAjxQpdGtRHnP4AioRAgxbAJ4wVQ9rLvHHbn5nHCgszHoB2twfgQCfTY9W
mpgddwQTTak5/wYf03Wfx4U=
=rpUm
-----END PGP SIGNATURE-----


More information about the kdewebdev-site mailing list