euheny AppLocale действительно помогает только для запуска программ на одном языке на Винде с другим языком. Для поддержки другого языка вообще (юникодных программ) надо чтобы в системе были зарегистрированы соответствующие файлы и был нужный шрифт для отображения (не все шрифты могут отображать тот же китайский, например).
Вот поэтапно что я добавлял для аглицкой системы, чтобы в ней был русский и китайский:
Возможность переключения клавиатур с одного языка на другой: [more]; Commented items are not needed with Ime Tool
[Version]
signature="$Windows NT$"
ClassGUID={00000000-0000-0000-0000-000000000000}
SetupClass=Base
LayoutFile=layout.inf
[SourceDisksNames]
1 = "Language Bar"
[SourceDisksFiles]
;ctfmon.exe = 1
msctf.dll = 1
msctfime.ime = 1
msctfp.dll = 1
msutb.dll = 1
[DestinationDirs]
system32 = 11
[DefaultInstall]
CopyFiles = system32
AddReg = addreg
DelReg = delreg
Registerdlls = register
[DefaultInstall.NT]
CopyFiles = system32
AddReg = addreg
DelReg = delreg
Registerdlls = register
[system32]
; ctfmon.exe
msctf.dll
msctfime.ime
msctfp.dll
msutb.dll
[addreg]
;
HKCU,"Keyboard Layout\Toggle,"Hotkey",0x00000,"1"
HKCU,"Keyboard Layout\Toggle,"Language Hotkey",0x00000,"1"
HKCU,"Keyboard Layout\Toggle,"Layout Hotkey",0x00000,"2"
;
HKCU,"Software\Microsoft\CTF\LangBar","ShowStatus",0x10001,4
;
HKCU,"Software\Microsoft\CTF\MSUTB","ShowDeskBand",0x10001,1
;
;HKCU,"Software\Microsoft\Windows\CurrentVersion\Run","ctfmon.exe",0x00000,"%11%\ctfmon.exe"
;
HKLM,"Software\Microsoft\CTF\SystemShared","CUAS",0x10001,0
;
HKLM,"Software\Microsoft\Windows NT\CurrentVersion\IMM","LoadIMM",0x10001,0
HKLM,"Software\Microsoft\Windows NT\CurrentVersion\IMM","IME File",0x00000,"msctfime.ime"
;
HKLM,"System\CurrentControlSet\Control\Keyboard Layouts\00000409","Layout Display Name",,"@%SystemRoot%\system32\input.dll,-5000"
[register]
11,,msctfp.dll,1
11,,msutb.dll,1[/more]
Русский язык: [more][Version]
signature="$Windows NT$"
ClassGUID={00000000-0000-0000-0000-000000000000}
SetupClass=Base
LayoutFile=layout.inf
[SourceDisksNames]
1 = "Russian language support"
[SourceDisksFiles]
8514fixr.fon = 1 ; needed?
8514oemr.fon = 1 ; needed?
8514sysr.fon = 1 ; needed?
app866.fon = 1
c_855.nls = 1
c_866.nls = 1
c_1251.nls = 1
c_10007.nls = 1
c_20880.nls = 1
c_20866.nls = 1
c_21866.nls = 1
c_28595.nls = 1
cga40866.fon = 1
cga80866.fon = 1
courer.fon = 1
ega40866.fon = 1
ega80866.fon = 1
kbdru.dll = 1
serifer.fon = 1
smaller.fon = 1
sserifer.fon = 1
vga866.fon = 1
vgafixr.fon = 1
vgasysr.fon = 1
[DestinationDirs]
keyboards = 11
fonts = 20
[DefaultInstall]
CopyFiles = fonts, keyboards
AddReg = addreg
DelReg = delreg
[DefaultInstall.NT]
CopyFiles = fonts, keyboards
AddReg = addreg
DelReg = delreg
[keyboards]
c_855.nls
c_866.nls
c_1251.nls
c_10007.nls
c_20880.nls
c_20866.nls
c_21866.nls
c_28595.nls
kbdru.dll
[fonts]
8514fixr.fon
8514oemr.fon
8514sysr.fon
app866.fon
cga40866.fon
cga80866.fon
courer.fon
ega40866.fon
ega80866.fon
serifer.fon
smaller.fon
sserifer.fon
vga866.fon
vgafixr.fon
vgasysr.fon
[addreg]
;
HKCU,"Control Panel\International","Locale",,"00000419"
HKCU,"Control Panel\International","sLanguage",,"RUS"
;
HKCU,"Keyboard Layout\Preload","2",,"00000419"
;
HKLM,"Software\Microsoft\Windows NT\CurrentVersion\FontMapper","DEFAULT",0x10001,"204"
;
HKLM,"Software\Microsoft\Windows NT\CurrentVersion\Fonts","Courier 10,12,15 (VGA res)",,"COURER.FON"
HKLM,"Software\Microsoft\Windows NT\CurrentVersion\Fonts","MS Sans Serif 8,10,12,14,18,24 (VGA res)",,"SSERIFER.FON"
HKLM,"Software\Microsoft\Windows NT\CurrentVersion\Fonts","MS Serif 8,10,12,14,18,24 (VGA res)",,"SERIFER.FON"
HKLM,"Software\Microsoft\Windows NT\CurrentVersion\Fonts","Small Fonts (VGA res)",,"SMALLER.FON"
;
HKLM,"Software\Microsoft\Windows NT\CurrentVersion\FontSubstitutes","Arial Cyr,0",,"Arial,204"
HKLM,"Software\Microsoft\Windows NT\CurrentVersion\FontSubstitutes","Courier New Cyr,0",,"Courier New,204"
HKLM,"Software\Microsoft\Windows NT\CurrentVersion\FontSubstitutes","Courier,0",,"Courier New,204"
HKLM,"Software\Microsoft\Windows NT\CurrentVersion\FontSubstitutes","Fixedsys,0",,"Fixedsys,204"
HKLM,"Software\Microsoft\Windows NT\CurrentVersion\FontSubstitutes","Helv,0",,"MS Sans Serif,204"
HKLM,"Software\Microsoft\Windows NT\CurrentVersion\FontSubstitutes","MS Sans Serif,0",,"MS Sans Serif,204"
HKLM,"Software\Microsoft\Windows NT\CurrentVersion\FontSubstitutes","MS Serif,0",,"MS Serif,204"
HKLM,"Software\Microsoft\Windows NT\CurrentVersion\FontSubstitutes","Small Fonts,0",,"Small Fonts,204"
HKLM,"Software\Microsoft\Windows NT\CurrentVersion\FontSubstitutes","System,0",,"System,204"
HKLM,"Software\Microsoft\Windows NT\CurrentVersion\FontSubstitutes","Times New Roman Cyr,0",,"Times New Roman,204"
HKLM,"Software\Microsoft\Windows NT\CurrentVersion\FontSubstitutes","Tms Rmn,0",,"MS Serif,204"
;
HKLM,"Software\Microsoft\Windows NT\CurrentVersion\GRE_Initialize","FIXEDFON.FON",,"vgafixr.fon"
HKLM,"Software\Microsoft\Windows NT\CurrentVersion\GRE_Initialize","FONTS.FON",,"vgasysr.fon"
HKLM,"Software\Microsoft\Windows NT\CurrentVersion\GRE_Initialize","OEMFONT.FON",,"vga866.fon"
;
HKLM,"System\CurrentControlSet\Control\Keyboard Layouts\00000419","Layout Text",,"Russian"
HKLM,"System\CurrentControlSet\Control\Keyboard Layouts\00000419","Layout Display Name",,"@%SystemRoot%\system32\input.dll,-5055"
HKLM,"System\CurrentControlSet\Control\Keyboard Layouts\00000419","Layout File",,"KBDRU.DLL"
HKLM,"System\CurrentControlSet\Control\Keyboard Layouts\00010419","Layout Id",,0008
;
HKLM,"System\CurrentControlSet\Control\NLS\Codepage", 855,,c_855.nls
HKLM,"System\CurrentControlSet\Control\NLS\Codepage", 866,,c_866.nls
HKLM,"System\CurrentControlSet\Control\NLS\Codepage", 1251,,c_1251.nls
HKLM,"System\CurrentControlSet\Control\NLS\Codepage",10007,,c_10007.nls
HKLM,"System\CurrentControlSet\Control\NLS\Codepage",10017,,c_10017.nls
HKLM,"System\CurrentControlSet\Control\NLS\Codepage",20866,,c_20866.nls
HKLM,"System\CurrentControlSet\Control\NLS\Codepage",20880,,c_20880.nls
HKLM,"System\CurrentControlSet\Control\NLS\Codepage",21866,,c_21866.nls
HKLM,"System\CurrentControlSet\Control\NLS\Codepage",28595,,C_28595.NLS
;
HKLM,"System\CurrentControlSet\Control\Nls\CodePage","ACP",,"1251"
HKLM,"System\CurrentControlSet\Control\Nls\CodePage","MACCP",,"10007"
HKLM,"System\CurrentControlSet\Control\Nls\CodePage","OEMCP",,"866"
;
HKLM,"System\CurrentControlSet\Control\Nls\Language","Default",,"0419"
;
HKLM,"System\CurrentControlSet\Control\Nls\Language Groups",5,,1
;
HKLM,"System\CurrentControlSet\Control\Nls\Locale",00000419,,5
;
HKLM,"System\CurrentControlSet\Hardware Profiles\Current\Software\Fonts","FIXEDFON.FON",,"vgafixr.fon"
HKLM,"System\CurrentControlSet\Hardware Profiles\Current\Software\Fonts","FONTS.FON",,"vgasysr.fon"
HKLM,"System\CurrentControlSet\Hardware Profiles\Current\Software\Fonts","OEMFONT.FON",,"vga866.fon"[/more]
Китайский язык (возможность чтения и ввода иероглифов Пиньинем): [more][Version]
signature="$Windows NT$"
ClassGUID={00000000-0000-0000-0000-000000000000}
SetupClass=Base
LayoutFile=layout.inf
[SourceDisksNames]
1 = "Chinese language support"
[SourceDisksFiles]
app936.fon = 1
c_936.nls = 1
c_10008.nls = 1
c_20000.nls = 1
c_20932.nls = 1
c_20936.nls = 1
c_g18030.dll = 1
c_is2022.dll = 1
IMSCINST.EXE = 1
padrs804.dll = 1
PINTLCSA.DLL = 1
PINTLCSD.DIC = 1
PINTLCSD.DLL = 1
PINTLCSK.DIC = 1
PINTLGC.IMD = 1
PINTLGD.IMD = 1
PINTLGDX.IMD = 1
PINTLGI.IMD = 1
PINTLGIX.IMD = 1
PINTLGL.IMD = 1
pintlgnt.ime = 1
PINTLGR.IMD = 1
PINTLGS.IMD = 1
PINTLPHR.EXE = 1
PMIGRATE.DLL = 1
prc.nls = 1
prcp.nls = 1
s8514fix.fon = 1 ; needed?
s8514oem.fon = 1 ; needed?
s8514sys.fon = 1 ; needed?
simhei.ttf = 1
simsun.ttc = 1
svgafix.fon = 1 ; needed?
svgasys.fon = 1 ; needed?
vga936.fon = 1 ; needed?
[DestinationDirs]
applets = 10,ime\chsime\applets
fonts = 20
pintlgnt = 11,ime\pintlgnt
res = 10,ime\shared\res
system32 = 11
[DefaultInstall]
CopyFiles = applets, fonts, pintlgnt, res, system32
AddReg = addreg
DelReg = delreg
[DefaultInstall.NT]
CopyFiles = applets, fonts, pintlgnt, res, system32
AddReg = addreg
DelReg = delreg
[applets]
PINTLCSA.DLL
PINTLCSD.DIC
PINTLCSD.DLL
PINTLCSK.DIC
[res]
padrs804.dll
[fonts]
app936.fon
s8514fix.fon
s8514oem.fon
s8514sys.fon
simhei.ttf
simsun.ttc
svgafix.fon
svgasys.fon
vga936.fon
[system32]
c_936.nls
c_10008.nls
c_20000.nls
c_20932.nls
c_20936.nls
c_g18030.dll
c_is2022.dll
pintlgnt.ime
prc.nls
prcp.nls
[pintlgnt]
IMSCINST.EXE
PINTLGC.IMD
PINTLGD.IMD
PINTLGDX.IMD
PINTLGI.IMD
PINTLGIX.IMD
PINTLGL.IMD
PINTLGR.IMD
PINTLGS.IMD
PINTLPHR.EXE
PMIGRATE.DLL
[addreg]
;
;HKCU,"Control Panel\International","Locale",,"SPECIFY HERE!!!"
;HKCU,"Control Panel\International","sLanguage",,"SPECIFY HERE!!!"
;
;HKCU,"Keyboard Layout\Preload","2",,"e00e0804"
HKCU,"Keyboard Layout\Preload","3",,"e00e0804"
;
HKCU,"Software\Microsoft\Windows\CurrentVersion\MSSCIPY","Current Double PinYin Scheme",0x00000,"Default"
HKCU,"Software\Microsoft\Windows\CurrentVersion\MSSCIPY","Current Double PinYin Scheme Version",0x10001,32
HKCU,"Software\Microsoft\Windows\CurrentVersion\MSSCIPY","Current Fuzzy Scheme",0x00000,"Default"
HKCU,"Software\Microsoft\Windows\CurrentVersion\MSSCIPY","Current Fuzzy Scheme Version",0x10001,32
HKCU,"Software\Microsoft\Windows\CurrentVersion\MSSCIPY","Custom Double PinYin Scheme",0x00001,\
0c,00,2d,00,ff,ff,10,00,25,00,30,00,ff,ff,19,\
00,ff,ff,0d,00,32,00,24,00,0f,00,34,00,ff,ff,12,00,31,00,38,00,15,00,1c,00,\
ff,ff,14,00,1a,00,ff,ff,17,00,1b,00,37,00,0b,00,36,00,ff,ff,ff,ff,18,00,ff,\
ff,0e,00,2e,00,2c,00,02,00,33,00,27,00,03,00,22,00,ff,ff,04,00,23,00,ff,ff,\
05,00,1f,00,ff,ff,06,00,1e,00,ff,ff,07,00,20,00,ff,ff,08,00,1d,00,ff,ff,ff,\
ff,2b,00,ff,ff,13,00,21,00,ff,ff,11,00,29,00,ff,ff,01,00,28,00,ff,ff,16,00,\
35,00,34,00,00,00,2f,00,ff,ff,0a,00,2a,00,ff,ff,09,00,26,00,ff,ff
HKCU,"Software\Microsoft\Windows\CurrentVersion\MSSCIPY","Custom Double PinYin Scheme Version",0x10001,32
HKCU,"Software\Microsoft\Windows\CurrentVersion\MSSCIPY","Custom Fuzzy Scheme",0x00001,e1,e1,00,00,fc,00,00,00
HKCU,"Software\Microsoft\Windows\CurrentVersion\MSSCIPY","Custom Fuzzy Scheme Version",0x10001,32
;
HKLM,"Software\Microsoft\Windows NT\CurrentVersion\Console\Nls","00000804",0x00000,""
HKLM,"Software\Microsoft\Windows NT\CurrentVersion\Console\TrueTypeFont","936",0x10000,"*新宋体","*NSimSun"
;
;HKLM,"Software\Microsoft\Windows NT\CurrentVersion\FontMapper","DEFAULT",0x10001,"204"
;
HKLM,"Software\Microsoft\Windows NT\CurrentVersion\FontLink\SystemLink",Tahoma,0x10000,"SimSun.TTC,SimSun"
HKLM,"Software\Microsoft\Windows NT\CurrentVersion\FontLink\SystemLink","Microsoft Sans Serif",0x10000,"SimSun.TTC,SimSun"
;
HKLM,"Software\Microsoft\Windows NT\CurrentVersion\Fonts","SimSun & NSimSun (TrueType)",,simsun.ttc
HKLM,"Software\Microsoft\Windows NT\CurrentVersion\Fonts","SimHei (TrueType)",,simhei.ttf
;
;HKLM,"Software\Microsoft\Windows NT\CurrentVersion\GRE_Initialize","FIXEDFON.FON",,"SPECIFY HERE!!!"
;HKLM,"Software\Microsoft\Windows NT\CurrentVersion\GRE_Initialize","FONTS.FON",,"SPECIFY HERE!!!"
;HKLM,"Software\Microsoft\Windows NT\CurrentVersion\GRE_Initialize","OEMFONT.FON",,"SPECIFY HERE!!!"
;
HKLM,"Software\Microsoft\Windows NT\CurrentVersion\IMM","LoadIMM",0x10001,1
;
HKLM,"System\CurrentControlSet\Control\Keyboard Layouts\E00E0804","IME File",,"pintlgnt.ime"
HKLM,"System\CurrentControlSet\Control\Keyboard Layouts\E00E0804","Layout Display Name",,"@%SystemRoot%\system32\input.dll,-5091"
HKLM,"System\CurrentControlSet\Control\Keyboard Layouts\E00E0804","Layout File",,"kbdus.dll"
HKLM,"System\CurrentControlSet\Control\Keyboard Layouts\E00E0804","Layout Text",,"Chinese (Simplified) - Microsoft Pinyin IME 3.0"
;
HKLM,System\CurrentControlSet\Control\NLS\Codepage, 936,,c_936.nls
HKLM,System\CurrentControlSet\Control\NLS\Codepage,10008,,c_10008.nls
HKLM,System\CurrentControlSet\Control\NLS\Codepage,20000,,c_20000.nls
HKLM,System\CurrentControlSet\Control\NLS\Codepage,20932,,c_20932.nls
HKLM,System\CurrentControlSet\Control\NLS\Codepage,20936,,c_20936.nls
HKLM,System\CurrentControlSet\Control\NLS\Codepage,20949,,c_20949.nls
HKLM,System\CurrentControlSet\Control\NLS\Codepage,50220,,c_is2022.dll
HKLM,System\CurrentControlSet\Control\NLS\Codepage,50221,,c_is2022.dll
HKLM,System\CurrentControlSet\Control\NLS\Codepage,50222,,c_is2022.dll
HKLM,System\CurrentControlSet\Control\NLS\Codepage,50225,,c_is2022.dll
HKLM,System\CurrentControlSet\Control\NLS\Codepage,50227,,c_is2022.dll
HKLM,System\CurrentControlSet\Control\NLS\Codepage,50229,,c_is2022.dll
HKLM,System\CurrentControlSet\Control\NLS\Codepage,52936,,c_is2022.dll
HKLM,System\CurrentControlSet\Control\NLS\Codepage,54936,,c_g18030.dll
;
;HKLM,"System\CurrentControlSet\Control\Nls\CodePage","ACP",,"SPECIFY HERE!!!"
;HKLM,"System\CurrentControlSet\Control\Nls\CodePage","MACCP",,"SPECIFY HERE!!!"
;HKLM,"System\CurrentControlSet\Control\Nls\CodePage","OEMCP",,"SPECIFY HERE!!!"
;
;HKLM,"System\CurrentControlSet\Control\Nls\Language","Default",,"SPECIFY HERE!!!"
;
HKLM,"System\CurrentControlSet\Control\NLS\Language Groups",a,,1
;
HKLM,System\CurrentControlSet\Control\NLS\Locale,00000804,,a
HKLM,System\CurrentControlSet\Control\NLS\Locale,00001004,,a
;
HKLM,"System\CurrentControlSet\Control\NLS\Locale\Alternate Sorts",00020804,,a
HKLM,"System\CurrentControlSet\Control\NLS\Locale\Alternate Sorts",00021004,,a
;
;HKLM,"System\CurrentControlSet\Hardware Profiles\Current\Software\Fonts","FIXEDFON.FON",,"SPECIFY HERE!!!"
;HKLM,"System\CurrentControlSet\Hardware Profiles\Current\Software\Fonts","FONTS.FON",,"SPECIFY HERE!!!"
;HKLM,"System\CurrentControlSet\Hardware Profiles\Current\Software\Fonts","OEMFONT.FON",,"SPECIFY HERE!!!"[/more]
Все нужные файлы указаны внтутри соответствующих инфов. Возможно, их можно еще почитстить - может быть там есть и те, которые можно было бы и удалить (кое-где есть комментарии). Если нужна только возможность просмотра, то количество файлов и записей в реестре можно значительно сократить.
ЗЫ Меня мало интересует что будет в
ТВОЕЙ версии. Мне интересно как это сделать
САМОМУ! Поэтому я и задавал вопросы (на которые ты в основном не ответил