I was curious to know if any of you have a good NHibernate trick to do object localisation.
Say I have a product, which have a Display Name, a Description, etc. And I want to display that information according to the user's language settings. So far, I'm doing it in two queries, one who gets the product itself (defined with a default language) and one that fetch the translated information that I have stored in a secondary table, in which I define the table's "translatable" field and link it one-to-one to the product using the product's ID + User's Language code. It works, its not spectacular, but it does the job. Anyone can share a better model / implementation ? Thanks Alex -- You received this message because you are subscribed to the Google Groups "nhusers" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/nhusers?hl=en.
