set Locale on PPc using registry

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi All,

On the PPC I got a reg file on the application folder with the settings
for the application. So on boot (cold/warm) the application cab files get
installed with the settings and sequence acc. Now I want to set the locale to
NZ as follows:


[HKEY_LOCAL_MACHINE\nls]
"DefaultOCP" = dword:00000850
"DefaultACP" = dword:00001252
"DefaultLCID"= dword:00005129

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\International]
"ACP" = dword:00001252
"LCID" = dword:00005129

[HKEY_LOCAL_MACHINE\nls\overrides]
"LCID" = dword:00005129
"SDate" = "/"
"IDate" = dword:00000001
"SSDte" = "d/MM/yy"
"SLDte" = "dddd, d MMM yyyy"


these values does not get set in the registry, instead it takes the US
locale which apparently is the default or if it sets the value after the
regupdater has been excuted,so the changes does not get reflected in the
control panel Regional settings. i`ve got the GPRS/modem settings as well in
the reg file which gets set in the registry after a cold boot.

I got the LCID --5129 for NZ from :

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/script56/html/vsmsclcid.asp

(Tried the hex value also, didn't work!)


pl. do advise on this.


Regards,



Vinitha
 
Hi All,

Managed to set the regional settings via the registry .

Requirement : set the regional setting of the ppc to Nz
format(dd/mm/yy), without user interaction.

Solution :
Create a reg file with the settings under the Application folder,
which sets the LCID,OCP,ACP etc for NZ.
Create a Soft reset program (or download one from pocketgear), and make
a cab file and puts this under Application folder. Create a copy file
which copies this cab file to 'Windows\Startup' or u can have a
secondary startup under "Application\startup\"(I have my .net and sql
cabs copied in here to re-install after hard reset) and gets deleted
after execution.(so that it happens only on a cold boot)
Environment : Symbol PPC2002 and ppc .

cheers -- vinitha
 
Hi ,

Managed to set the regional settings via the registry.


Requirement : set the regional setting of the ppc to Nz
format(dd/mm/yy), without user interaction.

Solution :
Create a reg file with the settings under the Application folder,
which sets the LCID,OCP,ACP etc for NZ.
Create a Soft reset program (or download one from pocketgear), and make
a cab file and puts this under Application folder. Create a copy file
which copies this cab file to 'Windows\Startup' or u can have a
secondary startup under "Application\startup\"(I have my .net and sql
cabs copied in here to re-install after hard reset) and gets deleted
after execution.(so that it happens only on a cold boot)
Environment : Symbol PPC2002 and ppc .

cheers -- vinitha
 
Back
Top