You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by Tina Umlandt <ti...@compuserve.de> on 2007/06/20 17:16:36 UTC

t5: i18n messages without different locale files

Hi,

:-D ... thats what I want to do ..
But can you tell me how I could do this? Where do I register a new BindingFactory for a new keyword?

Thx,
     Tina



you could contribute an own BindingFactory for "messagedb:"...

g
kris




Tina Umlandt <ti...@compuserve.de>
20.06.2007 15:27
Bitte antworten an
"Tapestry users" <us...@tapestry.apache.org>


An
users@tapestry.apache.org
Kopie

Thema
t5: i18 messages without different locale files






Hi,

I have the following issue.
I want to internationalize my application without using the localed files.
The administrator of my application should be
able to write or change the texts for the template by himself. These texts
are stored in a postgres db.
Therefore i.e. I want to override the binding mechanism for "message" so
that it uses instead of the default messages my
own DBMessagesImpl.

In the tapestry source code I found the line where the "message" is
connected with the MessageBindingFactory but I see
no way to interfere this mechanism and change it so that "message" is
connected with another BindingFactory.

Have you any suggestions? And thx for your help.

Regards,
                  Tina

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

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