Support forum of the software localization tool Sisulizer


Localization Tool for VB, Delphi, .NET, C#, VB.NET, XML, Online Help, HTML ... Home

Get in contact with the makers of Sisulizer.
Our forum is open for all questions around Sisulizer from customers and prospects.
Don't hesitate to register and ask. The Sisulizer team will answer ASAP.

Search     Help Home Sisulizer Website Download
Search by username
Not logged in - Login | Register 

 Moderated by: Renate.Reinartz, Markus.Kreisel, Jaakko.Salmenius, Ilkka.Salmenius
New Topic Reply Printer Friendly
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 ...
AuthorPost
 Posted: Mon Mar 19th, 2007 11:05 pm
PM Quote Reply
EvRenesse
Member
 

Joined: Mon Sep 25th, 2006
Location: Berlin, Germany
Posts: 16
Status: 
Offline
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

Back To Top PM Quote Reply

 Posted: Tue Mar 20th, 2007 12:21 am
PM Quote Reply
Ilkka.Siikanen
Administrator
 

Joined: Wed Aug 30th, 2006
Location: Vantaa, Finland
Posts: 115
Status: 
Offline
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
Back To Top PM Quote Reply

 Posted: Tue Mar 20th, 2007 09:42 am
PM Quote Reply
EvRenesse
Member
 

Joined: Mon Sep 25th, 2006
Location: Berlin, Germany
Posts: 16
Status: 
Offline
Hi Ilkka,

thanks for the tip.

Ekkehart v. Renesse

Back To Top PM Quote Reply

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



WowUltra 1.11 Copyright © 2007 by Jim Hale - Based on WowBB Copyright © 2003-2006 Aycan Gulez

Sisulizer software localization tool - Three simple steps to localize