Print Page | Close Window

Mulit lingual data

Printed From: IdeaBlade
Category: DevForce
Forum Name: DevForce 2009
Forum Discription: For .NET 3.5
URL: http://www.ideablade.com/forum/forum_posts.asp?TID=2050
Printed Date: 28-Apr-2024 at 3:36pm


Topic: Mulit lingual data
Posted By: JST
Subject: Mulit lingual data
Date Posted: 05-Aug-2010 at 7:16am
I need to make my app multi-language. Now, for the static part this is easy (resources). But now the data. Database wise I'd think is should be 1 to n relationship between say product and productnamesanddescriptions. But this has a huge impact on the UI and databindnig (that now is binding to the name-property which is going to be moved to this new table in several languages). Any ideas on how to best tackle this challenge.
I figures I can create a name property (and a description property and all properties that are strings that need translation) on my product and then in the getter use some business-logic to retrieve the appropriate name/description (based on

System.Threading.Thread.CurrentThread.CurrentUICulture.

Anyways, Any feedback would be awesome.
 
Thanks



Replies:
Posted By: GregD
Date Posted: 09-Aug-2010 at 5:47pm

The approach you describe seems reasonable to us.



Posted By: JST
Date Posted: 09-Aug-2010 at 11:20pm
From your experience, any other approaches to think about?



Print Page | Close Window