I´ve a specific unit for store resource strings (uResourceStrings.pas) wich has a form where a TSILang component is placed. I put a dispatcher aswell in another unit (uDispatcher).
All the traductions in my application are working well except by all the resource strings (none is working).
I ran the wizard (in the TSILangExpert) and imported the strings from the PE file. This worked fine, but when I ran the program, the problem is still there (no translation at all with resource strings).
I really don´t know what to do next...
PS = I don´t want to use resource strings as Const...
For example:
// in xxx.pas
showmessage(MSG)
// in uResourceStrings
resourcestring
MSG = 'This is a message';
Sorry for my poor english...
Problems with resource strings
Please check the following:
1. You TsiLang which has resource strings stored has ResourceHandler property set to True.
2. Only ONE TsiLang per project is responsible for translating resource strings.
3. Your form which holds this TsiLang is auto-created or created manually before retrieving any resource string to display.
Hope this helps.
1. You TsiLang which has resource strings stored has ResourceHandler property set to True.
2. Only ONE TsiLang per project is responsible for translating resource strings.
3. Your form which holds this TsiLang is auto-created or created manually before retrieving any resource string to display.
Hope this helps.
Thnks isiticov... But I checked all you said and nothing happens.
1) Was ok on my project (I assume that the property is "HandleResourceStrings")
2) Was ok on my project.
3) When you say "before retrieving any resource string to display", I don´t know wen thats happens... In other way, I´ve to retrieve manually the resourcestrings??
Again... Thanks a lot!
1) Was ok on my project (I assume that the property is "HandleResourceStrings")
2) Was ok on my project.
3) When you say "before retrieving any resource string to display", I don´t know wen thats happens... In other way, I´ve to retrieve manually the resourcestrings??
Again... Thanks a lot!