You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by Michael Echerer <me...@tngtech.com> on 2004/11/19 11:04:15 UTC

How to do I18N with localized strings


Hi,

I have a question about I18N. I would localize using strings (instead of page
templates) from a properties file as briefly described in:
http://jakarta.apache.org/tapestry/doc/DevelopersGuide/components.localization.html

It mentiones the <string-binding> that I can use in a <component>:
http://jakarta.apache.org/tapestry/doc/DevelopersGuide/spec.string-binding.html


But my Spindle 3.1.14. says that a <string-binding> element is not declared in
the DTD.

Can someone give my a short example how to use this I18N feature?

Cheers
Michael

---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-user-help@jakarta.apache.org


Re: How to do I18N with localized strings

Posted by Erik Hatcher <er...@ehatchersolutions.com>.
On Nov 19, 2004, at 5:04 AM, Michael Echerer wrote:
> I have a question about I18N. I would localize using strings (instead  
> of page
> templates) from a properties file as briefly described in:
> http://jakarta.apache.org/tapestry/doc/DevelopersGuide/ 
> components.localization.html
>
> It mentiones the <string-binding> that I can use in a <component>:
> http://jakarta.apache.org/tapestry/doc/DevelopersGuide/spec.string- 
> binding.html

<message-binding> is what you're after.   The <string-binding> element  
must have been for an older version of Tapestry, as I've never even  
heard of it or seen it before (I guess that shows how much  
documentation I read).

	Erik


---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-user-help@jakarta.apache.org