3. Edit the .RES .DLL .MUI Files for 21H2to7 - ImSwordQueen/Win10to7LanguagePacks GitHub Wiki
This section will explain what you would need to do to modify in the files for use in 21H2to7.
basebrd.dll.mui.res
For any locales
-
From Windows 7 you would only need
String 14
in theTable 1
from Windows 7 which is the copyright text. (PosReady uses a different year for the copyright string.) -
If the locale you want to translate doesn't translate the SKU name then you can add the string tables
from 4 to 25
by going toAction
>Add from a Resource file (*.res,*.mui,*.dll,*.exe) ...
and import those string stables from 21H2to7 En-US locale (Which is found in C:\Windows\Branding\Basebrd\En-US\Basebrd.dll.mui) or from the It-IT locale
For locales that have special branding
Certain locales (As an example the Fr-FR one) have a special localized branding instead of the default En-US one. So it will require more work to add those.
-
From Windows 7 you would need to extract all the images from
basebrd.dll.mui
and save them as bitmaps. -
In your .RES basebrd mui file go to
Action
>Add from a Resource file (*.res,*.mui,*.dll,*.exe) ...
and import all the branding images from basebrd.dll -
After importing the images, replace the original 7 branding images with the localized ones (you can figure out which image goes with which ID with the resolution of the image. As an example Windows 7's ID 120 is equivalent to Windows 10's ID 122 and Windows 7's ID 121 is equivalent to Windows 10's ID 123)
-
After you're done adding the specific branding images. Go back to step 1 for any locales.
themecpl.dll.mui.res
For themecpl.dll.mui you need to import the string tables from ID 1 to 3
, string tables ID 7 to 8
and string table ID 70
from Windows 7
With the following changes:
String Table ID 1
For ID 1 you need to add the String 8 which is a copy of ID 6
String Table ID 2
For ID 2 you need to add the String 26 which is the string for "Automatic"
String Table ID 3
For ID 3 you need to add the String 34 which is a copy of ID 32
String Table ID 8
For ID 8 you need to change the number of ID 116 (Which is frost) to ID 117 and add ID 116 and name it "Automatic" (You have to translate this as what your language calls automatic in Windows 8+)
themecpl7.dll.res
For themecpl7.dll.res it requires more work. You need to take the string tables 7 to 8 from Windows 7's themecpl and keep the "LANGUAGE LANG_LANGUAGE, AxA" as the locale you want to modify. As an example: the italian locale should have the string tables with x:1040 and have at the start: " STRINGTABLE LANGUAGE LANG_ITALIAN, SUBLANG_ITALIAN " as the example here:
For String table ID 8 you need to copy the exact same modifications as you did for themecpl.dll.mui.res
themeui7.dll.res
This dll requires the same initial step as themecpl7.dll.res so make sure you have that setup for IDs 51
126
127
132
that you took from themeui.dll.mui from a Windows 7 installation.
String Table 51
For String Table ID 51 you have to remove every string except for String ID 800
801
802
803
804
as shown here:
String Table 126
For String Table ID 126 it's almost the same thing as ID 51 but with IDs 2000
2001
2002
2003
2004
2013
2014
and the inclusion of ID 2015
as shown here:
Note: ID 2015 should have "Windows 7 (Dark)" as how Windows 11 has its dark mode theme named. As an example the italian locale names its dark mode "Windows (scuro)"
String Table 127
For String Table ID 127 you only keep ID 2016
as shown here:
String Table 126
For String Table ID 126 it's almost the same thing as the previous first two IDs but with IDs 2101
2105
2106
2109
2110
as shown here:
UserCPL.dll.mui.res
For UserCPL's MUI you have to copy String table IDs 3
4
7
69 to 72
74 to 77
from Windows 7 like here:
String Table 3
In String Table ID 3 you need to add String ID 47
from Windows 10's MUI
Shell32.dll.mui.res
For UserCPL's MUI you have to copy String table IDs 577
1948
1958
1967
2002
2327
from Windows 7, IDs 4
and 1914
from Windows 10 and Dialog ID 14352
from Windows 7 like here:
String Table 4
For String Table ID 4 you have to remove from String 60 the "SO" "OS" or the variation of "OS" that is near "build" like this (Take a reference how Windows 7 displays the build number and copy that closely like the examples under here):
The original Windows 10 version would've looked like this:
String Table 1914
String Table ID 1914 only needs an edit in String 30621
which replaces the 8.1+ Computer name back to what Windows 7 (Windows 8.0 as well) called it previously like shown here (String Table 577 ID 9216 we modified previously should be the way Windows 7 called the folder previously):
String Table 1967
From String Table ID 1967 we need to add back Strings IDs 31462 to 31465
from Windows 10's MUI:
String Table 2002
String Table ID 2002 is almost similar as Windows 7's but with the inclusion of Strings ID 32024 to 32027
which IDs 32024 to 32025
are taken from Windows 10, IDs 32026 to 32027
are clones of IDs 32016
and 32017
.
windows.storage.dll.mui.res
For windows.storage.dll.mui.res we need to take String table IDs 567
577
1948
3212
which we are going to replace the resources inside of them with some we modified previously in shell32:
String Table 564
In String Table ID 564 we only need to replace string 9012 with String ID 9216 from 577 from our modified Shell32:
String Table 577
String Table ID 577 can be directly copied from our modified Shell32 MUI like here:
String Table 1948
String Table ID 1948 can be directly copied from our modified Shell32 MUI but we only need to keep IDs 31154 to 31156
:
String Table 3212
String Table ID 3212 requires a modification to String ID 51378
which we are going to replace "Quick Access" with "Favourites" (Localized like Windows 7):
Explorer.exe.mui.res
For Explorer we only need to import Menu ID 205
and String Table IDs 438
and 439
from Windows 7 like here:
tipresx.dll.mui.res
For tipresx.dll.mui we only need to import String Table IDs 938
and 439
from Windows 7 like here:
Netcenter.dll.mui.res
For Netcenter.dll.mui.res we need to import String Table IDs 12 to 13
32 to 33
74 to 78
from Windows 7 with the only modification of adding String ID 199
to String Table ID 13
display.dll.mui
For display.dll.mui we need to edit String Table IDs 24
27
28
29
34
35
and 36
from the stock Windows 8.1 configuration to what 21H2to7 requires.
String Table ID 24
For String Table ID 24 we need to move the contents of String ID 372 to String ID 373 and remove String ID 372 all together.
String Table ID 27
For String Table ID 27 we need to remove String IDs 430 and 431
and replace String ID 420
with a copy of String ID 372
of String Table ID 24
String Table ID 28
For String Table ID 28 we need to remove String IDs 432 to 435
String Table ID 29
For String Table ID 29 we need to remove String ID 451
and replace String ID 457
with the same string from Windows 7
String Table ID 34
For String Table ID 34 we need to replace String ID 542
with the same string from Windows 7
String Table ID 35
For String Table ID 35 we need to remove String IDs 547
549
550
551
552
and 557
String Table ID 36
For String Table ID 36 we need to add String ID 562
with the word Preview
translated.