Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Localizing application
Message
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Versions des environnements
Visual FoxPro:
VFP 9 SP1
Divers
Thread ID:
01182888
Message ID:
01183055
Vues:
22
Hi, Dmitry.

>I am thinking/making initial steps in localizing an application. A way I see doing it is to create a library with a label control for each and every label used by various forms of the application. This could amount to a couple of thousand labels. I realized that labels in a .VCX library are simply records in a table. But I was wondering, will this approach have any negative effects on the application?

Why would you need a different subclass for every label? Actually, you can change language without even changing the classes you already have.

Take a look at this sample for an old session of mine:
http://www.salias.com.ar/download/metadata.zip

After decompressing, just issue DO STARTUP.

As you would see is a VERY simple example showing an application which has some dynamically rendered and some standard forms, and you can switch from a language to the other at runtime. Try opening all forms (Tables and Reports on the menu) and switching by using the combo on the toolbar. Notice that even the report labels get translated.

Hope this helps,
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform