Jump to content

Help with RegionalSettings


Recommended Posts

Hi,

I´m having trouble getting my RegionalSettings/Language set up the way I want it. Hopefully someone can give me some help or directions.

This is what I have:

This code:

[RegionalSettings]
LanguageGroup = 7,1
SystemLocale = 00000409
UserLocale = 0000041d
InputLocale = 041d:0000041d

gives me theese settings:

post-80833-1136048194_thumb.png

But I would like it to be like this:

post-80833-1136048203_thumb.png

What code would reproduce that?

Best, Hugo

Link to comment
Share on other sites


@pawls

Check out Localization: MUI and Regional Options (it's not in the guide menu yet. I beleive, all answers are there...

Added: sorry, I didn't realize you want to have Swedish kbd layout named as English. Hmmm... that's strange. Ok, I'll give you a clue. Here's how I replace standard Russian layout with an alternative one

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Keyboard Layouts\00000419]
"Layout Text"="Russian"
"Layout File"="KBD1251Y.DLL"

In this example, a different DLL is used. You just have to change English entry (00000409) and point it to the Swedish DLL and change the "layout text" accordingly.

Edited by Vadikan
Link to comment
Share on other sites

I'd try:

[RegionalSettings]
LanguageGroup = 1
SystemLocale = 00000409
UserLocale = 0000041d
InputLocale = 0409:0000041d

The SystemLocale (for non-unicode programs) and UserLocale (for formatting standards) are not relevant to your specific query.

Edited by Takeshi
Link to comment
Share on other sites

Thank you Vadikan!

Thank you Takeshi!

:thumbup

I´ll try Takeshis tip, if it works it´s a far more easier solution.

Why I want this keyboard/language setup is because I want all my applications being installed with english as default language, not swedish.

Is there any other tips/solutions to prevent other langages from being chosen by the applications?

Edited by pawls
Link to comment
Share on other sites

I had the same problem trying to get rid of that US language option & to just keep UK.

here is how i did it.

setup $OEM$ folders on an XP CD.. see here for details http://unattended.msfn.org/unattended.xp/view/web/18/

once you have set these up create a txt file called cmdlines.txt & put this information in it.

[COMMANDS]

"regedit /s keyboard.reg"

put this file in the $OEM$ directory

now creat a file called keyboard.reg & put the following in it.

REGEDIT4

[HKEY_CURRENT_USER\Keyboard Layout\Preload]

"2"=-

add this file also to $OEM$

At 12mins to go during the xp install it will remove the reg key from the default user profile removing the US option.

have fun.

Edited by chiners_68
Link to comment
Share on other sites

I had the same problem trying to get rid of that US language option & to just keep UK.

here is how i did it.

setup $OEM$ folders on an XP CD.. see here for details http://unattended.msfn.org/unattended.xp/view/web/18/

once you have set these up create a txt file called cmdlines.txt & put this information in it.

[COMMANDS]

"regedit /s keyboard.reg"

put this file in the $OEM$ directory

now creat a file called keyboard.reg & put the following in it.

REGEDIT4

[HKEY_CURRENT_USER\Keyboard Layout\Preload]

"2"=-

add this file also to $OEM$

At 12mins to go during the xp install it will remove the reg key from the default user profile removing the US option.

have fun.

This is how I achieve it too.

The only difference I see is in the reg file I specify the code for the keyboard layout I want to delete.

Link to comment
Share on other sites

It worked!

[RegionalSettings]
LanguageGroup = 1
SystemLocale = 00000409
UserLocale = 0000041d
InputLocale = 0409:0000041d

...in combination with...

[COMMANDS]

"regedit /s keyboard.reg"

REGEDIT4

[HKEY_CURRENT_USER\Keyboard Layout\Preload]

"2"=-

...did the trick! :thumbup

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...