Kent Olsson schrieb:
Hej!

Good point! It was the idea. One example: Pluralis is different in many
languages.

I like it, too. Should be definitely supported!

Sebastian


Kent

On Mon, 2006-02-27 at 15:27 +1100, Ben Alex wrote:
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



-------------------------------------------------------
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



-------------------------------------------------------
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