4 Replies Latest reply on Jul 15, 2010 6:15 AM by NCC

    Keyboard and language detection

    NCC

      Hi everyone!

       

      We have a problem with the automatic detection of the language and keyboard settings for the PBA in v5.2.x.

       

      After the installation on a client machine the PBA remains in its standard English language/layout.

      The German lang/layout is available in the options area, but in no case is it automatically detected.

      The host OS is also German.

       

      When I look at the locale.ini on the client, I can see the settings from the standard theme locale.ini represented at the END of the file.

      There are about a dozen merges with the German 0407 entries somewhere at the beginning of the file and the merge IDs seem to count from bottom to top (0000031c at the bottom and 00000373 higher above).

      Should that not be the other way round?

       

      Can I swap something around in the file groups to get the clients (especially NEW clients) to use the German layout by default?

       

       

      Thanks for your replies!

        • 1. Re: Keyboard and language detection

          Can you post that "Locale.ini"?

          • 2. Re: Keyboard and language detection
            NCC

            That was quick

             

            Sure. Here it is:

             

            [Settings]
            [Languages]
            [KeyBoards]
            [LanguageIDMap]
            [Lang.0409]
            [Keyboard.0409]
            [Lang.0407]
            [Keyboard.0407]
            [Keyboard.0807]
            [Keyboard.10407]
            [Merged.00000373.Languages]
            0407=Lang.0407
            [Merged.00000373.Keyboards]
            0407=Keyboard.0407
            0807=Keyboard.0807
            10407=Keyboard.10407
            [Merged.00000373.LanguageIDMap]
            0407.Language=0407
            0407.Keyboard=0407
            0007.Language=0007
            0807.Keyboard=0807
            10407.Keyboard=10407
            [Merged.00000373.Lang.0407]
            Name=Deutsch (German)
            ID=0407
            StringFile=0407.str
            FontSection=Fonts.LatinAscII
            [Merged.00000373.Keyboard.0407]
            Name=German (Typical)
            ID=0407
            Mapfile=0407_E.MAP
            OSK=0407_OSK.XML
            [Merged.00000373.Keyboard.0807]
            Name=Swiss (German)
            MapFile=0807_E.MAP
            OSK=0807_OSK.XML
            [Merged.00000373.Keyboard.10407]
            Name=German (IBM)
            ID=10407
            Mapfile=10407_E.MAP
            OSK=10407_OSK.XML
            [Merged.0000031c.Settings]
            DefaultLanguage=0409
            DefaultKeyboard=0409
            [Merged.0000031c.Languages]
            0409=Lang.0409
            [Merged.0000031c.KeyBoards]
            0409=Keyboard.0409
            [Merged.0000031c.LanguageIDMap]
            0409.Language=0409
            0409.Keyboard=0409
            0009.Keyboard=0409
            0009.Language=0409
            [Merged.0000031c.Lang.0409]
            Name=English (United States)
            ID=0409
            FontSection=Fonts.LatinASCII
            [Merged.0000031c.Keyboard.0409]
            Name=English (United States)
            MapFile=<US>

            • 3. Re: Keyboard and language detection

              Is this how your client "Locale.ini" starts:

               

              [Settings]
              [Languages]
              [KeyBoards]
              [LanguageIDMap]
              [Lang.0409]
              [Keyboard.0409]
              [Lang.0407]
              [Keyboard.0407]
              [Keyboard.0807]
              [Keyboard.10407]
              [Merged.00000373.Languages]
              .....

               

              It does not look good. Did you modify any of "Locale.ini" files by hand?

               

              Also, those:

               

              DefaultLanguage=0409
              DefaultKeyboard=0409

               

              do they come from your modified Theme?

              • 4. Re: Keyboard and language detection
                NCC

                Yep, that's how it starts. Looks weird, right?

                 

                Both "Default"-lines are from the theme, but there is no modified theme. I only had a look at the Theme213 locale.ini.