Translation data from Database

All announcements, questions and issues related to the TsiLang Components Suite.
Post Reply
frank
Posts: 30
Joined: Sat Apr 07, 2007 3:57 am

Translation data from Database

Post 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.
isiticov
Site Admin
Posts: 2416
Joined: Thu Nov 21, 2002 3:17 pm

Post 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.
Best regards,
Igor Siticov.
frank
Posts: 30
Joined: Sat Apr 07, 2007 3:57 am

Post by frank »

Thanks for your help.
Is there any another way?
isiticov
Site Admin
Posts: 2416
Joined: Thu Nov 21, 2002 3:17 pm

Post 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.
Best regards,
Igor Siticov.
Post Reply