Einzelnen Beitrag anzeigen

Hedge

Registriert seit: 30. Jun 2007
278 Beiträge
 
Delphi 2009 Professional
 
#2

Re: Combobox leer nach TranslateComponent

  Alt 16. Nov 2009, 15:52
Habe wieder mal zu schnell geschossen.

In der alten Doku von GNU gettext steht dazu Folgendes:

Zitat:
Next, I started to work through all my menus, popups and forms one by one to see if everything was translated and worked as expected. I found that I had some comboboxes that lost their stored ItemIndex when they were translated (it was reset to -1) so I added some code to set these programmatically. Also, I found some items that hadn't been translated in the po and I fixed these with poEdit.
Also speichert man sich vorher den ItemIndex zwischen und setzt ihn dann nach dem Retranslate erneut.
٩๏̯͡๏)۶
  Mit Zitat antworten Zitat