Hi Kent and Sebastian

Just in connection with the design of localization features, I feel it's important that it support parameterization, which is used quite extensively in my experience. So, for example, you may have a resource file named messages_en_au.txt, and inside it are a set of name-value parameters such as:

error.notFound=Sorry, could not find that record
error.notFoundIcon=images/{0}x{1}/english/notFound.png
error.exceedsMinimum=Sorry, your input of {0} exceeded the maximum allowed value of {1}

The replaceable parameters have a base index of 0, as shown above. This model allows messages to contain runtime-provided arguments, which is often quite useful.

Best regards
Ben


-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
Qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to