Hello,
When I use the RetranslateComponent, I find that the Component such as TComboBox, if I store something to the TComboBox ListItem Tag property, it will get detelted after Translate, The matter seems is the TComboBox is translated as a TStringList and then assgin the TStringList.Text to the TComboBox, which will delete all the old listitems and then create new listitems by the new Text value. Of cause the Tag values stored to the old listitems will be deleted too.
Also this will cause the TComboBox.ItemIndex value changed too, It will invoke a TComboBox.OnChange event too.
So that we need to translate the ListItems of the TComboBox, TListBox, TListView ... one by one instead of Translate the Text of them? In this cause, the old listitems will keep and everything of them will not get changed.
Thank you.
Here is a solution of the matter.
https://github.com/landrix/Gettext-for-Delphi/issues/2
Thank you.