I just purchased the component set.
When I followed the Tutorial with the MDI app under Delphi 7, I get an error "an invalid character was found in text content." and then points to the line.
For example, translating English About... gave error.
While I can live with one item, the problem is that it stops the whole process and does not continue to the next item, which makes this really nice feature worthless.
suggestions?
Lance
Dictionary Manager Error
-
- Posts: 6
- Joined: Thu May 20, 2004 12:02 am
Steps to reproduce
Delphi 7
I followed the tutorial pretty much.
1) File > New > Other > Projects > MDI Application
2) Placed TsiLang and TsiLangDispatcher on MainForm
3) Linked TsiLang to TsiLangDispatch
4) Placed TsiLangLinked on About and Childwin forms
5) Added MainForm to uses for About and Childwin forms
6) Linked TsiLangLinked for About and Childwin forms CommonContainer and LangDispatcher to the MainForm components
7) Added a Language pull down with English, Spanish, Italian, French and then grouped them, autochecked, radio and set English to Default
Added the event handler to set the appropriate language based on tag.
9) Changed the LangNames in the Dispatcher to reflect my Language choices.
10) Replaced the OpenDialog
11) Added SaveDialog
12) Replaced the hard coded strings of the Main Form with the TSIExport
13) Double-Clicked on TsiLang to bring up Translation Editor
14) Clicked Dictionary
15) Added Spanish and Italian to default Dictionary
16) Clicked Add All to Dictionary with English as base
17) In Dictionary Manager, chose to Translate Language
18) Source English/System English. and Target Spanish/System Spanish
19) After translating "Close", I recieved "An Invalid character was found in text content. Line:1. <?xml version="1.0" encouding="UTF-8"?><S when it looked like it was translating "Yes". I'm sure it has to do with the i in Sí
I'm in the IDE in design time.
Is there any other settings I need to accomodate those characters? International / Regional Windows settings an issue? We're in US, so we're using default US Windows installations.
I followed the tutorial pretty much.
1) File > New > Other > Projects > MDI Application
2) Placed TsiLang and TsiLangDispatcher on MainForm
3) Linked TsiLang to TsiLangDispatch
4) Placed TsiLangLinked on About and Childwin forms
5) Added MainForm to uses for About and Childwin forms
6) Linked TsiLangLinked for About and Childwin forms CommonContainer and LangDispatcher to the MainForm components
7) Added a Language pull down with English, Spanish, Italian, French and then grouped them, autochecked, radio and set English to Default

9) Changed the LangNames in the Dispatcher to reflect my Language choices.
10) Replaced the OpenDialog
11) Added SaveDialog
12) Replaced the hard coded strings of the Main Form with the TSIExport
13) Double-Clicked on TsiLang to bring up Translation Editor
14) Clicked Dictionary
15) Added Spanish and Italian to default Dictionary
16) Clicked Add All to Dictionary with English as base
17) In Dictionary Manager, chose to Translate Language
18) Source English/System English. and Target Spanish/System Spanish
19) After translating "Close", I recieved "An Invalid character was found in text content. Line:1. <?xml version="1.0" encouding="UTF-8"?><S when it looked like it was translating "Yes". I'm sure it has to do with the i in Sí
I'm in the IDE in design time.
Is there any other settings I need to accomodate those characters? International / Regional Windows settings an issue? We're in US, so we're using default US Windows installations.