Registry and class names in different locales

Windows specific forum
MachineCode
Addict
Addict
Posts: 1482
Joined: Tue Feb 22, 2011 1:16 pm

Registry and class names in different locales

Post by MachineCode »

My app sets itself to run at startup by making a Registry entry in "Software\Microsoft\Windows\CurrentVersion\Run", but I was wondering, what happens in a non-English country, such as Japan? Do I still use that set of English words?

Same question for window class names. One of them that I use is "Address:" for the address bar of folders. Would that be the same on a Japanese version of Windows?

What about the class name "Progman" for the Program Manager (aka Desktop)?

Thanks for any advice. :)
Microsoft Visual Basic only lasted 7 short years: 1991 to 1998.
PureBasic: Born in 1998 and still going strong to this very day!
User avatar
luis
Addict
Addict
Posts: 3895
Joined: Wed Aug 31, 2005 11:09 pm
Location: Italy

Re: Registry and class names in different locales

Post by luis »

Key names are not localized although their contents may be.
It would be a mess otherwise, moreover consider on the same machine (one registry) more than one user can have access using his own locale.

AFAIK the same apply to window class names.
"Have you tried turning it off and on again ?"
User avatar
ts-soft
Always Here
Always Here
Posts: 5756
Joined: Thu Jun 24, 2004 2:44 pm
Location: Berlin - Germany

Re: Registry and class names in different locales

Post by ts-soft »

Startup Registry Entry on german location:
"Weichware\WinzigWeich\Fenster\AktuelleVersion\Laufe" :mrgreen:

Okay, is only a joke :wink:
PureBasic 5.73 | SpiderBasic 2.30 | Windows 10 Pro (x64) | Linux Mint 20.1 (x64)
Old bugs good, new bugs bad! Updates are evil: might fix old bugs and introduce no new ones.
Image
MachineCode
Addict
Addict
Posts: 1482
Joined: Tue Feb 22, 2011 1:16 pm

Re: Registry and class names in different locales

Post by MachineCode »

ts-soft, don't give me a heart attack! :lol: Thanks for your reply too, luis.
Microsoft Visual Basic only lasted 7 short years: 1991 to 1998.
PureBasic: Born in 1998 and still going strong to this very day!
Post Reply