Welcome, Guest
Username: Password: Remember me
Discussions for CodeTyphon Object Pascal Programming Language
  • Page:
  • 1

TOPIC:

Unusual localization issues 3 months 2 days ago #18558

  • Roman
  • Roman's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 93
  • Thank you received: 0
I want to make my own object property editor.
I extract property names and values ​​using RTTI tools.
But I want to translate property names to another language, and this is a big problem. I can make a ResourceString for any property name, but how can I then use it to replace the "real" name? Iterating over IF Name = STRING1 looks terrible, CASE Name OF is also not better.
It would be great to use something like new_name := some_func_translate(origin_name), but I have not found anything suitable.
Is there any reasonable and "standard" solution to my problem?

Please Log in or Create an account to join the conversation.

  • Page:
  • 1