Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Localizing application
Message
From
05/01/2007 20:53:54
 
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 9 SP1
Miscellaneous
Thread ID:
01182888
Message ID:
01183055
Views:
21
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,
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform