Page 1 of 1

Translation data from Database

Posted: Mon Apr 09, 2007 6:00 am
by frank
Dear expert,
I have a question about silang component, can i translate data from database, all data is store in data database field, and show in the DBgrid, how can i translate it, when i can connect to database, the data is auto fill in the grid, so i can not translate it. Is there any solution for this??
Many thanks.

Posted: Mon Apr 09, 2007 10:37 am
by isiticov
Hello,
There is no easy and direct solution for this. You can try the following:
1. Read data from database to some memory dataset.
2. Duplicate it and fill the duplicated memory dataset with translated data.
3. Assign your DBGrid datasource to this translated dataset.
Hope this helps.

Posted: Wed Apr 11, 2007 9:26 am
by frank
Thanks for your help.
Is there any another way?

Posted: Wed Apr 11, 2007 10:32 am
by isiticov
As a quick idea:
Just to create a copy of your database and using database editor translate the data. And later just switch database depending on language selected.