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

Christian Koeberl wrote:
> There are two good practices to do database i18n:
> http://www.theserverside.com/tt/blogs/showblog.tss?id=HibernateInternational

Christian,
thanks a lot for this link, esp. the first one is quite interesting!
I like it because it is really simple to use, once you have setup the
userType mapping you only need to to

<span jwcid="@Insert" value="ognl:country.name"></span>

and all the magic for i18n is done under the hood.
Anyone got something like this running?

Since we use EJB3 / JPA for our persistence I'm just asking myself, will
it be possible to access the current tapestry user's locale in the
persistence layer, and how would you do that.

Cheers
Bastian



> http://java.sun.com/blueprints/guidelines/designing_enterprise_applications_2e/i18n/i18n5.html
> 
> We do quite the same with just one table for all texts.
> 
> Cheers,
> Chris


- --
Bastian Voigt
Hamburg
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.7 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFIPnVA9+lAHD7HULYRAgKNAJ4kGKwhfBjmmKc4snNJvlQzJfG/dACeLYBS
eIh3ufmxoX6kD0dCVmupn08=
=dtzv
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to