|
|||
| Moderated by: Renate.Reinartz, Markus.Kreisel, Jaakko.Salmenius, Ilkka.Salmenius |
|
|||||||||||||
| Translation of the application title - Usage - Three simple steps to localize - Technical Support (You need to be registered at the forum to write) - Localization Tool for VB, Delphi, .NET, C#, VB.NET, XML, Online Help, HTML ... | ||||||||||||||
| Author | Post | |||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
||||||||||||||
|
EvRenesse Member
|
Hi, is there any possibility to translate the title of the application within the Sisulizer project? I use Delphi 2006 for Win32 and the title is entered in the Delphi Project Options, section Application. This title is displayed e. g. on the button in the taskbar. Inside Sisulizer i cannot find any path containing this title. One workaround is to change the title inside Delphi and to do an extra compilation. But i hope there is a better way. Thanks for your assistance, Ekkehart v. Renesse
|
|||||||||||||
| ||||||||||||||
| ||||||||||||||
|
Ilkka.Siikanen Administrator
|
No, it is hardcoded. If you enter the title in Project | Options dialog this code will be generated: begin Application.Initialize; Application.Title = 'My Title'; Application.CreateForm(TMainForm, MainForm); Application.Run; end. (Choose Project | View Source to see the source of project) As you see, the title is hardcoded. Clear the tilte. begin Application.Initialize; Application.CreateForm(TMainForm, MainForm); Application.Run; end. You have to set the title on runtime. A good place to do that is in the main form. procedure TMainForm.FormCreate(Sender: TObject); resourcestring STitle = 'My Runtime Title'; begin Application.Title := STitle; end; Now you have a resourcestring STitle to localize. Ilkka Last edited on Tue Mar 20th, 2007 08:04 am by Ilkka.Siikanen ____________________ http://www.sisulizer.com - Three simple steps to localize |
|||||||||||||
| ||||||||||||||
|
||||||||||||||
|
EvRenesse Member
|
Hi Ilkka, thanks for the tip. Ekkehart v. Renesse
|
|||||||||||||
| ||||||||||||||
| Current time is 09:17 pm | |
| Localization Tool for VB, Delphi, .NET, C#, VB.NET, XML, Online Help, HTML ... > Technical Support (You need to be registered at the forum to write) > Usage - Three simple steps to localize > Translation of the application title | |
Sisulizer software localization tool - Three simple steps to localize