Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
MultiLingual Comboboxes
Message
General information
Forum:
Visual FoxPro
Category:
The Mere Mortals Framework
Miscellaneous
Thread ID:
00585624
Message ID:
00586924
Views:
34
>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
Map
View

Click here to load this message in the networking platform