Autodesk GIS Design Server
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic to the Top
- Bookmark
- Subscribe
- Printer Friendly Page
*Mena, Antoni
GenApp translatio n
Options
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
92 Views, 2 Replies
09-02-2002 11:49 PM
Hi,
I'm trying to translate the Generic Application VBasic components to
Spanish, so I'm following the detailed instructions in
localization_guide.pdf.
It seems to be very easy to do:
- download and unzip GenApplNls8000.zip
- translate the resource files in the extraction directory
- create newNls.LCID_ localizer components in DLLs,
following the sample code that is left in the extraction directory
- register the DLLs
Since it has'nt worked, I have simplified the problem by performing a
MsgBox("...") inside each method in the localizer, so the translation and
resource access is not necessary to ensure the problem correctness. It is
now supposed to appear a message if the localized was ever loaded and used,
but no message has ever appeared.
I have avoided debugging since there are many COM objects implicated and the
source code for the globalizer is not fully available.
To avoid problems with the LCIDs, I have created a class for 40A (for
Spanish), 0 (which is the code that some test applications have returned in
my system), 409 (for English), ...
It is still not working.
May I have forgotten something?
The globalizer is supposed to be codified to always success, even if the
localizer cannot be found. I have seen that every call to
Globalizer.LocalizeString() returns the default_string parameter. Something
is going wrong, but what? There is no error message!
Has anybody experienced similar problems?
What am I doing wrong?
Thank-you in advance,
Antoni Mena.
I'm trying to translate the Generic Application VBasic components to
Spanish, so I'm following the detailed instructions in
localization_guide.pdf.
It seems to be very easy to do:
- download and unzip GenApplNls8000.zip
- translate the resource files in the extraction directory
- create new
following the sample code that is left in the extraction directory
- register the DLLs
Since it has'nt worked, I have simplified the problem by performing a
MsgBox("...") inside each method in the localizer, so the translation and
resource access is not necessary to ensure the problem correctness. It is
now supposed to appear a message if the localized was ever loaded and used,
but no message has ever appeared.
I have avoided debugging since there are many COM objects implicated and the
source code for the globalizer is not fully available.
To avoid problems with the LCIDs, I have created a class for 40A (for
Spanish), 0 (which is the code that some test applications have returned in
my system), 409 (for English), ...
It is still not working.
May I have forgotten something?
The globalizer is supposed to be codified to always success, even if the
localizer cannot be found. I have seen that every call to
Globalizer.LocalizeString() returns the default_string parameter. Something
is going wrong, but what? There is no error message!
Has anybody experienced similar problems?
What am I doing wrong?
Thank-you in advance,
Antoni Mena.
*Chye, Heng Lee
Re: GenApp translatio n
Options
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
09-08-2002 06:52 PM in reply to:
*Mena, Antoni
Hi Antoni
The new that you want to implement is obtained internally within the
GenApp application from the Windows API call GetUserDefaultLCID().
Have you tried to set your user locale from Control Panel ,Regional Settings
to corresponds to ?
Lee Chye
Enterprise Support Engineer
Autodesk Professional Services
"Antoni Mena" wrote in message
news:0347D525A6C951A7E2534AC0C2A05A5C@in.WebX.maYI adrTaRb...
> Hi,
>
> I'm trying to translate the Generic Application VBasic components to
> Spanish, so I'm following the detailed instructions in
> localization_guide.pdf.
>
> It seems to be very easy to do:
>
> - download and unzip GenApplNls8000.zip
>
> - translate the resource files in the extraction directory
>
> - create newNls.LCID_ localizer components in DLLs,
> following the sample code that is left in the extraction directory
>
> - register the DLLs
>
> Since it has'nt worked, I have simplified the problem by performing a
> MsgBox("...") inside each method in the localizer, so the translation and
> resource access is not necessary to ensure the problem correctness. It is
> now supposed to appear a message if the localized was ever loaded and
used,
> but no message has ever appeared.
>
> I have avoided debugging since there are many COM objects implicated and
the
> source code for the globalizer is not fully available.
>
> To avoid problems with the LCIDs, I have created a class for 40A (for
> Spanish), 0 (which is the code that some test applications have returned
in
> my system), 409 (for English), ...
>
> It is still not working.
>
> May I have forgotten something?
>
> The globalizer is supposed to be codified to always success, even if the
> localizer cannot be found. I have seen that every call to
> Globalizer.LocalizeString() returns the default_string parameter.
Something
> is going wrong, but what? There is no error message!
>
> Has anybody experienced similar problems?
>
> What am I doing wrong?
>
>
>
> Thank-you in advance,
>
>
>
> Antoni Mena.
>
>
>
The new
GenApp application from the Windows API call GetUserDefaultLCID().
Have you tried to set your user locale from Control Panel ,Regional Settings
to corresponds to
Lee Chye
Enterprise Support Engineer
Autodesk Professional Services
"Antoni Mena"
news:0347D525A6C951A7E2534AC0C2A05A5C@in.WebX.maYI
> Hi,
>
> I'm trying to translate the Generic Application VBasic components to
> Spanish, so I'm following the detailed instructions in
> localization_guide.pdf.
>
> It seems to be very easy to do:
>
> - download and unzip GenApplNls8000.zip
>
> - translate the resource files in the extraction directory
>
> - create new
> following the sample code that is left in the extraction directory
>
> - register the DLLs
>
> Since it has'nt worked, I have simplified the problem by performing a
> MsgBox("...") inside each method in the localizer, so the translation and
> resource access is not necessary to ensure the problem correctness. It is
> now supposed to appear a message if the localized was ever loaded and
used,
> but no message has ever appeared.
>
> I have avoided debugging since there are many COM objects implicated and
the
> source code for the globalizer is not fully available.
>
> To avoid problems with the LCIDs, I have created a class for 40A (for
> Spanish), 0 (which is the code that some test applications have returned
in
> my system), 409 (for English), ...
>
> It is still not working.
>
> May I have forgotten something?
>
> The globalizer is supposed to be codified to always success, even if the
> localizer cannot be found. I have seen that every call to
> Globalizer.LocalizeString() returns the default_string parameter.
Something
> is going wrong, but what? There is no error message!
>
> Has anybody experienced similar problems?
>
> What am I doing wrong?
>
>
>
> Thank-you in advance,
>
>
>
> Antoni Mena.
>
>
>
*Mena, Antoni
Re:
Options
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
09-15-2002 10:41 PM in reply to:
*Mena, Antoni
I have run that API call within a Visual C++ application and the result
has been "C0A" in hex.
I have already implemented the class "AeScVisualPrjMgrNls.LCID_c0a"
(that is the name taken from the Windows registry) and it is still not
working. The component is not translated and there is no message box
displayed.
What could I do to find where the problem is?
Is all the Globalizer source code available? Where?
Thank-you!!
"Heng Lee Chye" escribió en el mensaje
news:F0BA8B4EC0D07F75412F10E28D9ABC78@in.WebX.maYI adrTaRb...
> Hi Antoni
>
>
> The new that you want to implement is obtained internally within
the
> GenApp application from the Windows API call GetUserDefaultLCID().
>
> Have you tried to set your user locale from Control Panel ,Regional
Settings
> to corresponds to ?
>
>
> Lee Chye
> Enterprise Support Engineer
> Autodesk Professional Services
>
>
> "Antoni Mena" wrote in message
> news:0347D525A6C951A7E2534AC0C2A05A5C@in.WebX.maYI adrTaRb...
> > Hi,
> >
> > I'm trying to translate the Generic Application VBasic components to
> > Spanish, so I'm following the detailed instructions in
> > localization_guide.pdf.
> >
> > It seems to be very easy to do:
> >
> > - download and unzip GenApplNls8000.zip
> >
> > - translate the resource files in the extraction directory
> >
> > - create newNls.LCID_ localizer components in DLLs,
> > following the sample code that is left in the extraction directory
> >
> > - register the DLLs
> >
> > Since it has'nt worked, I have simplified the problem by performing a
> > MsgBox("...") inside each method in the localizer, so the translation
and
> > resource access is not necessary to ensure the problem correctness. It
is
> > now supposed to appear a message if the localized was ever loaded and
> used,
> > but no message has ever appeared.
> >
> > I have avoided debugging since there are many COM objects implicated and
> the
> > source code for the globalizer is not fully available.
> >
> > To avoid problems with the LCIDs, I have created a class for 40A (for
> > Spanish), 0 (which is the code that some test applications have returned
> in
> > my system), 409 (for English), ...
> >
> > It is still not working.
> >
> > May I have forgotten something?
> >
> > The globalizer is supposed to be codified to always success, even if the
> > localizer cannot be found. I have seen that every call to
> > Globalizer.LocalizeString() returns the default_string parameter.
> Something
> > is going wrong, but what? There is no error message!
> >
> > Has anybody experienced similar problems?
> >
> > What am I doing wrong?
> >
> >
> >
> > Thank-you in advance,
> >
> >
> >
> > Antoni Mena.
> >
> >
> >
>
>
has been "C0A" in hex.
I have already implemented the class "AeScVisualPrjMgrNls.LCID_c0a"
(that is the name taken from the Windows registry) and it is still not
working. The component is not translated and there is no message box
displayed.
What could I do to find where the problem is?
Is all the Globalizer source code available? Where?
Thank-you!!
"Heng Lee Chye"
news:F0BA8B4EC0D07F75412F10E28D9ABC78@in.WebX.maYI
> Hi Antoni
>
>
> The new
the
> GenApp application from the Windows API call GetUserDefaultLCID().
>
> Have you tried to set your user locale from Control Panel ,Regional
Settings
> to corresponds to
>
>
> Lee Chye
> Enterprise Support Engineer
> Autodesk Professional Services
>
>
> "Antoni Mena"
> news:0347D525A6C951A7E2534AC0C2A05A5C@in.WebX.maYI
> > Hi,
> >
> > I'm trying to translate the Generic Application VBasic components to
> > Spanish, so I'm following the detailed instructions in
> > localization_guide.pdf.
> >
> > It seems to be very easy to do:
> >
> > - download and unzip GenApplNls8000.zip
> >
> > - translate the resource files in the extraction directory
> >
> > - create new
> > following the sample code that is left in the extraction directory
> >
> > - register the DLLs
> >
> > Since it has'nt worked, I have simplified the problem by performing a
> > MsgBox("...") inside each method in the localizer, so the translation
and
> > resource access is not necessary to ensure the problem correctness. It
is
> > now supposed to appear a message if the localized was ever loaded and
> used,
> > but no message has ever appeared.
> >
> > I have avoided debugging since there are many COM objects implicated and
> the
> > source code for the globalizer is not fully available.
> >
> > To avoid problems with the LCIDs, I have created a class for 40A (for
> > Spanish), 0 (which is the code that some test applications have returned
> in
> > my system), 409 (for English), ...
> >
> > It is still not working.
> >
> > May I have forgotten something?
> >
> > The globalizer is supposed to be codified to always success, even if the
> > localizer cannot be found. I have seen that every call to
> > Globalizer.LocalizeString() returns the default_string parameter.
> Something
> > is going wrong, but what? There is no error message!
> >
> > Has anybody experienced similar problems?
> >
> > What am I doing wrong?
> >
> >
> >
> > Thank-you in advance,
> >
> >
> >
> > Antoni Mena.
> >
> >
> >
>
>
