Indigo Rose Software

Professional Software Development Tools

 
+ Reply to Thread
Results 1 to 3 of 3
  1. #1
    Join Date
    Jun 2009
    Location
    Bangkok, Thailand
    Posts
    10

    Grin Localized strings in Dialog.Message

    I am new to "Setup Factory 8", I only worked with "Setup Factory 5" long time ago...

    Now I have a problem with localized strings in all Dialog.Message boxes, the text is being displayed in the default project language (English).

    Please advise.

    My Windows XP is an English version but the deafault System language is set to Russian.

    When my SF8 project setup is running on my computer the static text on lables and buttons is in Russian according to the respective localized strings found in the saved XML files in Exported Screen Strings folder.

    However the text in all pop-up Dialog.Message boxes (the localized strings that are supposed to be taken from the "Russian.XML" file in the "Languages" folder) is replaced by the text in the default project's language (English).


  2. #2
    Join Date
    Jun 2009
    Location
    Bangkok, Thailand
    Posts
    10

    Grin Some more details...

    Here are some more details.

    I found that SetupData.GetLocalizedString is not actually fetching a localized string but instead it is fetching a string in the default project language (English) probably because SetupData.GetLocalizedString can not properly detect that the default System language is in fact Russian...

    The Application.GetLastError is giving a zero value, meaning that SetupData.GetLocalizedString was successful...
    Last edited by Superbank; 06-08-2009 at 07:25 AM.

  3. #3
    Join Date
    Nov 2008
    Location
    Göttingen, Germany
    Posts
    77
    Hi Superbank,

    the online help within "Language/Settings" describes "... If the user's detected language is not present in the supported language list, the setup will use this language for its messages and screens."

    In your case the detected language is english, and so it is used for your setup. You have to set it manually to russion. In On Startup Action use the script command "Application.SetInstallLanguage()".

    Code:
    -- set russian lang in On Startup Action
    Application.SetInstallLanguage(25, 0);
    I've made a suggestion for a language select dialog. Check out this link http://www.indigorose.com/forums/showthread.php?t=25669

    Greetings,
    Udo

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts