![]() |
Re: Programm übersetzen - gute Komponente gesucht
Zitat:
Zitat:
|
Re: Programm übersetzen - gute Komponente gesucht
Oha :oops: Das habe ich überlesen.
Aber wenn ihm dxgettext zu viel Aufwand ist, dann kann ich auch nicht mehr helfen :roll: Das funktioniert ja schon fast mit einem einzigen Buttonklick... |
Re: Programm übersetzen - gute Komponente gesucht
Zitat:
seit ein paar Tagen schaue ich mir dxgettext teil an. ( bin ein Delphianfänger ) Leider blicke ich nicht ganz durch. Die Anpassung von:
Delphi-Quellcode:
Habe ich durchgeführt und auch:
GTForm.pas TGTForm = class(TForm)
This new TForm descendent introduces the RefreshTranslation procedure. When called, this procedure forces the given form (and the components it owns) to refresh itself with the strings for the currently selected language. This is used by TGTLanguageFrame and thus you should change all your translatable forms to inherit from TGTForm rather than TForm. To do this, simply open the .pas file and replace = class(TForm) by = class(TGTForm), then recompile and everything should work.
Delphi-Quellcode:
Aber beim Komilieren der App bekomme ich immer die Fehlermeldung das bei gnugettext:
GTLanguageFrame.pas
GTLanguageFrame.dfm TGTLanguageFrame = class(TFrame) A frame that you can drop on any form and that will let your user choose its language. All updating is done, provided all the forms are descendants of TGTForm. Basically, you only need to use this one as it will call the others for you. First chance exception at $7C81EB33. Exception class EAccessViolation with message 'Access violation at address 00403EE8 in module 'Gideons_Admin.exe'. Read of address FFFFFFDC'. Process Gideons_Admin.exe (3216) Hoffe die Darstellung ist nicht zu unübersichtlich Köntest Du / Ihr mir einen Tipp geben? Manfred |
Re: Programm übersetzen - gute Komponente gesucht
Es funktioniert :-D :-D
hab irgendwo ein Tippfehler oder sowas gemacht.. :pale: Manfred |
Alle Zeitangaben in WEZ +1. Es ist jetzt 19:55 Uhr. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024-2025 by Thomas Breitkreuz