Hello,
I have a comp that use some resource strings in a unit (witjout form), and that is used by many application.
I have something like :
unit MuConst;
interface
resourcestring
BS_MI_MINCAPTION = 'Mi&nimize';
BS_MI_MAXCAPTION = 'Ma&ximize';
BS_MI_CLOSECAPTION = '&Close';
BS_MI_RESTORECAPTION = '&Restore';
BS_MI_MINTOTRAYCAPTION = 'Minimize to &Tray';
BS_MI_ROLLUPCAPTION = 'Ro&llUp';
and so on,
How can I have it translated with Tsilang?
thanks
Steve
Ressource Strings
Hello,
You can use one of the following ways:
1. "Attach" datamodule to this unit and place TsiLang on it and translate the resourcestring section as it would be const section. Be sure to replace resourcestring keyword to const after this.
2. Using Resource Strings Wizard from TsiLang Expert import resource strings used into TsiLang and set it responsible for resource strings translations.
Hope this helps.
You can use one of the following ways:
1. "Attach" datamodule to this unit and place TsiLang on it and translate the resourcestring section as it would be const section. Be sure to replace resourcestring keyword to const after this.
2. Using Resource Strings Wizard from TsiLang Expert import resource strings used into TsiLang and set it responsible for resource strings translations.
Hope this helps.
This Wizard:
1. Scans your EXE file for resource strings.
2. Adds selected strings to TsiLang translations list.
3. Sets needed properties of TsiLang to make it responsible for translating resource strings.
After that you will be able to translate selected strings and TsiLang will automatically translate respective resource strings when your EXE will retrieve them.
Hope this helps.
1. Scans your EXE file for resource strings.
2. Adds selected strings to TsiLang translations list.
3. Sets needed properties of TsiLang to make it responsible for translating resource strings.
After that you will be able to translate selected strings and TsiLang will automatically translate respective resource strings when your EXE will retrieve them.
Hope this helps.