Jump to content

Localization of SP 2.0


Petr

Recommended Posts

Guide:

1. Get the latest release of the SP.

2. Compare what files are localized in the installation (or on Windows 98 SE CD-ROM).

3. Get localized updates (MDGx's Links and Resources about Win98 SE). Hotfixes can be obtained from Microsoft directly.

4a. Localize updates that are not available in the proper language.

4b. Leave in English what is not necessary to localize.

4c. Leave older version.

5. Patch SHELL32.DLL, EXPLORER.EXE.

6. Add files with local resources: JSxx.DLL, SCOxx.DLL, SCRRNxx.DLL, VBSxx.DLL to SP2 folder and WSHxx.DLL to SUPP folder and edit SCR56.INF.

7. Edit "Second Edition" string in bitmaps if desired - it means in LOGO.SYS and one resource in EXPLORER.EXE.

8. Translate INFEX.INI.

9. Translate LICENSE.TXT

10. Localize SPUPDATE.INF.

11. Change LANG in INF files.

12. Edit information in sespxxx.sed, 20sp2.ddf and 20supp.ddf files if necessary.

12. Build SP2.CAB and SUPP.CAB files with MAKECAB utility. (Example: makecab /f 20sp2.ddf).

13. Copy the list of files in SLAYOUT1.INF and SLAYOUT2.INF from files layout1_auto.inf and layout2_auto.inf created by MAKECAB.

14. Build the SP with IEXPRESS utility.

Necessary tools:

* IEAK6 SP1 contains MAKECAB for creating cabinets and IEXPRESS for creating installation packages. http://www.microsoft.com/windows/ieak/down...6/ieak6sp1.mspx

* For patching of files:

- 32-bit PE files (most executables):

- Restorator: http://www.bome.com/Restorator/ , 2005 version is able to edit also version information.

- ResHacker: http://www.users.on.net/johnson/resourcehacker/.

- 16-bit NE files (user.exe, gdi.exe) - I have used eXeScope http://hp.vector.co.jp/authors/VA003525/emysoft.htm#6 and LCID and CodePage has to be edited manually. For SYSDM.CPL is necessary to use special procedure described by eGo®Z. SYSDM.CPL is available directly from Microsoft for most languages anyway.

- 16-bit LE files (.VXD, .386) - I know no resource editor. The have localizable strings in 1000h byte blocks, one to three, the length is at addresses 015C, 0174, 019C with exception of VMM.VXD. At address 0138 is pointer to version information, 013C is the length of version information resource.

There are plenty of hex editors, I like WinHex: http://www.x-ways.net/winhex/index-m.html

- Other executables - KEYB.COM, IO.SYS - have easy to find and replace strings, each resource starts and ends with the length. IO.SYS contains routine for YES/NO evaluation in FDISK and FORMAT.COM, so localization is very useful. Warning: 311561xxx8 contains not localized IO.SYS, even though it is called "localized" - at least for Czech version.

- I have already mentioned several useful plugins for Total Commander (MSI, ISO, fileinfo) - they can be found at http://www.ghisler.com/plugins.htm

Note to Metapad:

In some languages, the fonts are not displayed correctly for accented characters. This can be solved by using limited version MetapadLE.

Localization of Metapad is done by language dlls and can be built in the NOTEPAD.INF file as follows:

[DefaultInstall]
SmartReboot = N
CopyFiles = Copy.Machine
AddReg = AddReg.Config

[DestinationDirs]
Copy.Machine = 10

[Copy.Machine]
Notepad.exe,Metapad.exe,,4
Mpad35cz.dll,,,4

[AddReg.Config]
HKU,".Default\Software\metapad","szLangPlugin",,"%10%\mpad35cz.dll"
HKU,".Default\Software\metapad","FileFilter",,"Všechny soubory (*.*)|*.*|Textové soubory (*.txt)|*.txt|HTML (*.html; *.htm)|*.html;*.htm|Zdrojové kódy (*.c; *.cpp; *.h; *.java)|*.c;*.cpp;*.h;*.java|Všechny vyjmenované typy|*.txt;*.htm;*.html;*.c;*.cpp;*.h;*.java"
HKU,".Default\Software\metapad","nSelectionMarginWidth",65537,00,00,00,00
HKU,".Default\Software\metapad","nSecondaryFont",65537,01,00,00,00
HKU,".Default\Software\metapad","SecondaryFont"=1,f3,ff,ff,ff,00,00,00,00,00,00,00,00,00,00,00,00,90,01,00,\
00,00,00,00,ee,03,02,01,31,43,6f,75,72,69,65,72,20,4e,65,77,00,72,20,4e,65,\
d4,34,ec,81,28,85,f7,78,00,00,00,00,bf,59,c4,84

(This is for "cz" version, proper content of "FileFilter" and other registry keys can be obtained by configurig the Metapad manually and then reading the registry content.)

Note to Tvviewer:

Not all international Windows Versions contain Web TV for Windows, then it is good to remove the following files from all inf and ddf configuration files:

Annclist.exe
Enhtrig.dll
Nabtsfec.sys

because they don't exist on the installation CD.

---

Hope this helps.

Petr & Gape

Edited by Petr
Link to comment
Share on other sites

  • 2 weeks later...

Warning: 311561xxx8 contains not localized IO.SYS, even though it is called "localized" - at least for Czech version.

It in Polish version (311561POL8) is not "localized" also :angry:

Link to comment
Share on other sites

  • 3 weeks later...
  • 3 months later...
I 'want to suggest why you don't tell us where we can find all the file and we will catch it,easy wall to made a localized version. sorry about the english

I'd suggest the following procedure:

1. To check what files are localized in your Windows version. You can simply extract the original versions of all files contained in sp2.cab and partially in supp.cab from the installation CD ROM and then look for language version. For batch testing of language version either the makecab utility by adding *lang* in .Set InfFileLineFormat= line or by using filever utility from http://download.microsoft.com/download/E/D...AEA77/mpedp.exe

The result is the list of files you are looking for.

2. Then you can look into SPUPDATE.INF and there are written MSKB article numbers for all files contained in the SESP. So now you have a list of hotfixes you need in localized version.

3. Then you can search the MSKB, Qnnnnnn article can be found at http://support.microsoft.com/kb/nnnnnn URL. In the article are either the download instructions, or there is written something like

A supported hotfix is now available from Microsoft, but it is only intended to correct the problem that this article describes. Apply it only to systems that are experiencing this specific problem.

To resolve this problem, contact Microsoft Product Support Services to obtain the hotfix.

Then you have to contact Microsoft and ask for localized version of the hotfix. This service us free of charge.

4. If you will not find the requested fix, you have three options:

a) To use older localized version.

b) To use the newest English version

c) To modify (localize) the newest English version.

Have I missed anything?

Petr

Edited by Petr
Link to comment
Share on other sites

  • 2 months later...

I have changed:

6. Add files with local resources: JSxx.DLL, SCOxx.DLL, SCRRNxx.DLL, VBSxx.DLL to SP2 folder and WSHxx.DLL to SUPP folder and edit SCR56.INF.

JSxx.DLL, SCOxx.DLL, SCRRNxx.DLL, VBSxx.DLL does exist on Windows 98 SE CD-ROM, but WSHxx.DLL not.

Petr

Link to comment
Share on other sites

  • 2 weeks later...

Details about modifiying shell32.dll and explorer.exe:

SHELL32.DLL 4.72.3812.600 (from Q313829)

Changed icons to look like Windows 2000 icons

ICON 18 (Network Neighborhood)

ICON 32 (Empty Recycle Bin)

ICON 33 (Full Recycle Bin)

ICON 35 (Desktop)

BITMAP 130 - Old Windows logo changed to new Windows logo, looks like XP?

EXPLORER.EXE 4.72.3612.1700 (from Internet Explorer 4.01 SP2/5.5 SP2/6.0 SP1)

Changed icons to look as Windows 2000 icons

ICON 100 (My Computer)

ICON 103 (Desktop)

ICON 108 (Recycle Bin)

BITMAP 157 (left banner in the Start Menu - added text "Second Edition")

BITMAP 161 (grey banner "Windows 95" changed to "Windows 98" - where it is used?)

Windows Explorer Patch (256 color TrayIcons)

http://www.dr-hoiby.com/TrayIconIn256Color/

Find sequence 01,53,6A,01,6A,32,E8 and replace by 01,53,6A,11,6A,32,E8 (1 bit changed, 01 -> 11)

Test: http://www.dr-hoiby.com/TrayIconIn256Color...lorTrayTest.zip

Also the "green arrow" icon in hotplug.dll and systray.exe is 16x16 only and does not look nice on some screens, it is nicer to change it to 16x16 + 32x32 icons from Windows Me. It is:

HOTPLUG.DLL - icon 100

SYSTRAY.EXE - icon 210

Petr

Link to comment
Share on other sites

  • 2 months later...
I 'want to suggest why you don't tell us where we can find all the file and we will catch it,easy wall to made a localized version. sorry about the english

I'd suggest the following procedure:

1. To check what files are localized in your Windows version. You can simply extract the original versions of all files contained in sp2.cab and partially in supp.cab from the installation CD ROM and then look for language version. For batch testing of language version either the makecab utility by adding *lang* in .Set InfFileLineFormat= line or by using filever utility from http://download.microsoft.com/download/E/D...AEA77/mpedp.exe

The result is the list of files you are looking for.

Petr,

I did not understand this step, even when I followed it... How can I do makecab build a list of localized files ? I've tried dozens of commands, with no luck. I'm trying to do this because I need a Brazilian Portuguese localization of the SP 2.1a.

Also, how can I use the MPEDP.EXE to do this ? Seems to be a utility only useful with Media Player, and not a utility to build a list of files we're looking for... [i'm using Win XP Pro SP2 to 'compile' the BR version of the SP.]

Any help will be much appreciated.

Thanks a lot,

--ThundernetBR

Link to comment
Share on other sites

I 'want to suggest why you don't tell us where we can find all the file and we will catch it,easy wall to made a localized version. sorry about the english

I'd suggest the following procedure:

1. To check what files are localized in your Windows version. You can simply extract the original versions of all files contained in sp2.cab and partially in supp.cab from the installation CD ROM and then look for language version. For batch testing of language version either the makecab utility by adding *lang* in .Set InfFileLineFormat= line or by using filever utility from http://download.microsoft.com/download/E/D...AEA77/mpedp.exe

The result is the list of files you are looking for.

Petr,

I did not understand this step, even when I followed it... How can I do makecab build a list of localized files ? I've tried dozens of commands, with no luck. I'm trying to do this because I need a Brazilian Portuguese localization of the SP 2.1a.

Also, how can I use the MPEDP.EXE to do this ? Seems to be a utility only useful with Media Player, and not a utility to build a list of files we're looking for... [i'm using Win XP Pro SP2 to 'compile' the BR version of the SP.]

Any help will be much appreciated.

Thanks a lot,

--ThundernetBR

If you create the right line in the controlling DDF file, like

.Set InfFileLineFormat=*file*,*size*,*date*,*time*,"*ver*","*vers*",*lang*,"*csum*"

you will receive the INF file with lines like

WDMMDMLD.VXD,5186,1999-05-05,10:22:00p,"4.10.0.2222","4.10.2222",1033,"2dcaf639"
WINBOOT.SYS,222390,1999-05-05,10:22:00p,"","",,"589db406"
WINMM.DLL,65536,1999-05-05,10:22:00p,"4.3.0.1998","4.03.1998",1033,"b856b20c"
WINTRUST.DLL,57344,1999-05-05,10:22:00p,"5.131.1877.3","5.131.1877.3",1033,"889993c2"
WLDAP32.DLL,102400,1999-05-05,10:22:00p,"5.0.1579.0","5.00.1579",1046,"c76f56bf"
WSCRIPT.EXE,143360,1999-05-05,10:22:00p,"5.0.531.7","5.0.531.7",1046,"c455a5e5"
WSCRIPT.HLP,9673,1999-05-05,10:22:00p,"","",,"56588c39"
WSHEXT.DLL,73728,1999-05-05,10:22:00p,"5.0.531.7","5.0.531.7",1046,"c88f58eb"
WSHOM.OCX,132880,1999-05-05,10:22:00p,"5.0.531.7","5.0.531.7",1046,"827c802f"
XENROLL.DLL,102400,1999-05-05,10:22:00p,"5.131.1877.3","5.131.1877.3",1046,"a715376d"

Lang = 1046 is Brazilian Portuguese, 1033 is US English, nothing means that the file does not contain language information.

MPEDP.EXE package contains many useful utilities, one of them is filever.exe. This is an example of its output:

--a-- W16	APP PTB	 4.10.0.1998 shp	 11,859 05-05-1999 wdmaud.drv
--a-- W32i DLL ENU 4.10.0.2222 shp 68,096 05-05-1999 wdmaud.sys
--a-- DOS VXD ENU 4.10.0.2222 shp 5,186 05-05-1999 wdmmdmld.vxd
--a-- DOS - - - - 222,390 05-05-1999 winboot.sys
--a-- W32i DLL ENU 4.3.0.1998 shp 65,536 05-05-1999 winmm.dll
--a-- W32i DLL ENU 5.131.1877.3 shp 57,344 05-05-1999 wintrust.dll
--a-- W32i DLL PTB 5.0.1579.0 shp 102,400 05-05-1999 wldap32.dll
--a-- DOS - - - - 475,084 05-05-1999 vmm32.vxd
--a-- W32i APP PTB 5.0.531.7 shp 143,360 05-05-1999 wscript.exe
--a-- - - - - - 9,673 05-05-1999 wscript.hlp
--a-- W32i APP PTB 5.0.531.7 shp 73,728 05-05-1999 wshext.dll
--a-- W32i DLL PTB 5.0.531.7 shp 132,880 05-05-1999 wshom.ocx
--a-- W32i APP PTB 5.131.1877.3 shp 102,400 05-05-1999 xenroll.dll

In addition to the files marked as "1046" or "PTB", you will have to obtain also the following files in your language: WINBOOT.SYS, KEYB.COM, FDISK.EXE, VMM.VXD (strings has to be taken from VMM32.VXD), GROUPPOL.DLL all HLP and CHM files.

Some time ago I have created the following lists:

http://www.winpack.org/petr/win98_internat_fixes.html

http://www.winpack.org/petr/win98_internat_files.html

They are not up to date but just few files are missing.

If you won't be able to find any public fix or if you will need help with localizing of any file let me know.

You are lucky that for HTML32.CNV Brazilian Portuguese is one of four languages for which the localization done by Microsoft is correct.

Petr

Link to comment
Share on other sites

(...)Some time ago I have created the following lists:

http://www.winpack.org/petr/win98_internat_fixes.html

http://www.winpack.org/petr/win98_internat_files.html

They are not up to date but just few files are missing.

If you won't be able to find any public fix or if you will need help with localizing of any file let me know.

You are lucky that for HTML32.CNV Brazilian Portuguese is one of four languages for which the localization done by Microsoft is correct.

Petr

Thanks, Petr,

I'll take a look on all these info you brought to me, maybe this time I will have success and contribute with the PT-BR localization of this nice job of yours and Gape ! :yes:

Kind regards,

--ThundernetBR

Link to comment
Share on other sites

  • 9 months later...

Hello. I`m trying to do the localized version in Spanish For Latin America, and it look like an impossible task, but I will try.

I was fighting with the second step, that looks eternal. Cheking what files of the 177 in SP2.cab are localiced in the CD of instalation.

I have a lot of problems here, how can I find the files in the instalation CD, their are on Cab too, and there are very much cabs, and very much files.

Supose I start looking for "ACPI.SYS". Is it localiced? but first... where is it?

Well... I tryed WinRAR and I find 3 versions of it

one in BASE4.CAB, another in BASE5.CAB and other more in CATALOG3.CAB.

Then What?

It supossed to do it for every file?

PLEASE HELPME!!!

(I'm using XPSP2 to do it)

EL_Hoy

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...