General information
Category:
The Mere Mortals Framework
>Dr. Dan,
>
>>Any thoughts on how to handle comboboxes that the users can translate into different languages like forms, menus etc.? Suppose you have a combobox that has 3 fixed options - Add, Change & Delete. Normally we have these choices in a look up type table that is not language driven.
>
>You could add a "language" field to the table that stores a foreign key pointer to the Lang table. You could then add a "vp_ilanguage" parameter to your view that filters the table based on the specified language. You can determine the "current" language by calling the Language Manager's GetCurrentLanguage() method...then you can store this value in the view parameter.
MO!
How about adding a property to ccombobox (and the appropriate code, of course <g>) that would tell the framework to translate the display values just like label captions etc.? It would be nice to have the same capability where the users can edit their own language entries through the langtran table. That way if a selection already exists in langtran it wouldn't have to be translated in two separate tables.
Anxiously waiting for "The thing is...",
Dr. Dan
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only