Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to translate menu captions on the fly
Message
De
10/02/2005 14:13:42
Dragan Nedeljkovich
Now officially retired
Zrenjanin, Serbia
 
 
À
09/02/2005 21:36:21
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de menu & Menus
Divers
Thread ID:
00985398
Message ID:
00985697
Vues:
36
>Interesting, thanks. I'd like to get instant translation effect, although not really necessary. Perhaps a routine to build the menu on the fly and then rebuild it on demand. Since all commands in my menu simply a call a routine it's possible, though maybe more trouble than worth.

If you're using an udf() to translate texts, you can just open your mnx file, and replace the visible strings with the calls to your functions. Haven't done that myself, because my menus were data driven for the last 15 years, but I figure after some fiddling with it, you could have the genemnenu(or x) generate a line with

...prompt mytranslate("About this app")

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform