Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Hacking a menu system
Message
From
04/05/2004 09:22:55
 
 
To
03/05/2004 10:45:55
General information
Forum:
Visual FoxPro
Category:
Menus & Menu designer
Miscellaneous
Thread ID:
00899707
Message ID:
00900673
Views:
31
Have you looked at using Steven Black's INTLToolkit?

http://www.stevenblack.com/


>Hi John,
>
>I'm not "translating", rather writing a set of routines to be called from an app to perform the translation, based on tables (dbfs). The actual translation (tables) will be filled by you, in a language you choose.
>
>As an example, bellow is the translation table for forms:
>
>    Create Table (SetLanguage_Forms) Free ;
>           (                            ;
>             ObjectKey    C (120),      ;   &&  Object Reference: 'frmFollowMain.grdMyGrid.Column1.Header1'
>             Class        C ( 20),      ;   &&  Object Class:     'form', 'commandbutton', ...
>             Property     C ( 15),      ;   &&  Object Property:  'Caption', 'ToolTipText'
>                                        ;
>             Portuguese   M      ,      ;   &&  Object Property Value in Portuguese
>             English      M      ,      ;   &&  Object Property Value in English
>             Spanish      M      ,      ;   &&  Object Property Value in Spanish
>             French       M      ,      ;   &&  Object Property Value in French
>             German       M             ;   &&  Object Property Value in German
>           )
>
>    Index On ObjectKey + Property  Tag ObjectKey
>
>This initialization code must be put in the beginning of the "main" program of the app:
>
> SetLanguageInitialize ("C:\Pointer\FoxProgs\SetLanguage\dbfs", "Test")
>
>And following is the invocation of the form translate routine (in a form's Init method):
>
>        Procedure Init
>*                 ----
>                  SetFormLanguage (This, "English")
>        EndProc
>
>I'm in the very beginning of this work, just geting those issues that should be addressed, while writing some code to experiment.
>
>If you (or anyone else) still have interest maybe we can share some ideas.
>
>Fernando
>
>>What are you translating to??????? I'd be very interested.
>>John
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform