Display Language Switcher - automated batch script

Discussion in 'Windows 10' started by abbodi1406, Apr 29, 2017.

  1. abbodi1406

    abbodi1406 MDL KB0000001

    Feb 19, 2011
    16,219
    84,887
    340
    #1 abbodi1406, Apr 29, 2017
    Last edited: Dec 10, 2018

    Attached Files:

  2. gorski

    gorski MDL Guru

    Oct 21, 2009
    5,518
    1,453
    180
    #2 gorski, May 1, 2017
    Last edited: May 1, 2017
    Thanx for this!

    What if the lang package is not for Pro version of W7 64b? Would it still work, please?

    EDIT: I just got the file and saw that one can download lang packages from it...

    Cheers!
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. Tito

    Tito Super Mod / Adviser
    Staff Member

    Nov 30, 2009
    18,681
    18,589
    340
  4. abbodi1406

    abbodi1406 MDL KB0000001

    Feb 19, 2011
    16,219
    84,887
    340
    Sorry to hear that, i don't know what could be wrong

    i suppose you need to boot from dvd/usb and run recovery
     
  5. ЯƎHTͶAꟼ

    ЯƎHTͶAꟼ MDL Member

    Jan 29, 2017
    210
    53
    10
    I did read days ago there was any win10 (microsoft-new-policy-everybody-loves) Update that prevent this way in future builds.(what was purpose prolly - imo)
    So this script (or any relate methodes) worked in earlier, but not anymore, - idk exactly the background and if there a way to fix (update that update maybe?)

    Would be interested into a new way too, need to change the language of a w7pro.
     
  6. frach

    frach MDL Novice

    Nov 11, 2018
    44
    4
    0
    okay, fortunately i was able to fix the issue through usb using recovery automatic startup
    i wanted to test different scenarios with your script on VM and here's what i got as result :
    - installation of win7 pro english version then used your script to change the display language to french => success (the french language replacement took place after the machine has been rebooted)
    - nstallation of win7 pro spanish version then used your script to change the display language to french => success (the french language replacement took place after the machine has been rebooted)
    - installation of win7 pro french version then used your script to change the display language to english => fail (got black screen after the machine has been rebooted)
    - installation of win7 pro french version then used your script to change the display language to spanish => fail (got black screen after the machine has been rebooted)

    so it seems that when french language is installed as local language, you cannot change it to another language using the script and i would be interested to know why.
     
  7. abbodi1406

    abbodi1406 MDL KB0000001

    Feb 19, 2011
    16,219
    84,887
    340
    Thank you for reporting and testing

    i'll download W7 french iso/svf to check and test
    maybe it have something different in registry or so
     
  8. abbodi1406

    abbodi1406 MDL KB0000001

    Feb 19, 2011
    16,219
    84,887
    340
    @frach

    i just finish testing, i did not have any issues, all lanuagues switched successfully

    first tried Win7 Pro x86 french with english LP, arabic LP
    then tried Win7 Pro x86 english with french LP, spanish LP

    i cannot really say what would be the problem at your end
    but it could be related to bootmgr
    do you use legacy MBR or UEFI?
    can you check if boot files exist for all languages (e.g. \Boot\en-US\bootmgr.exe.mui)?
    is Win7 updated or original iso?

    for the sake of testing, can you edit DisplayLanguageSwitcher.cmd script, search for this line
    Code:
    bcdedit /set {current} locale %LangCode% >nul
    then add these two lines after it
    Code:
    bcdedit /set {bootmgr} locale %LangCode% >nul
    bcdedit /set {memdiag} locale %LangCode% >nul
    thanks
     
  9. ЯƎHTͶAꟼ

    ЯƎHTͶAꟼ MDL Member

    Jan 29, 2017
    210
    53
    10
  10. frach

    frach MDL Novice

    Nov 11, 2018
    44
    4
    0
    okay, so after doing other tests, it turns out that black screens occurs only when installing updated win7 pro.

    i found a tool here that allows to integrate drivers and updates so i used it to integrate all this stuff into the iso then installed win7 and after using the script, i noticed black screen appearing after the machine has been rebooted (to be clear, at the start up, i see "windows starting" logo and just after that black screen.

    it works perfectly with original win7 iso whatever the language installed.

    i added the two lines that you mentionned into DisplayLanguageSwitcher.cmd script but it didn't change anything, the same problem persisted.

    i installed win7 using Legacy Bios in VM.
     
  11. abbodi1406

    abbodi1406 MDL KB0000001

    Feb 19, 2011
    16,219
    84,887
    340
    This is actually expected, installing and changing current language pack means that updated components are missing for new lang
    that's why integrating lang pack offline must be before integrating updates

    what you can try if you want, use DisplayLanguageSwitcher, and before rebooting re-install latest monthly rollup at least
     
  12. frach

    frach MDL Novice

    Nov 11, 2018
    44
    4
    0
    ok i will try that.
     
  13. frach

    frach MDL Novice

    Nov 11, 2018
    44
    4
    0
    It worked my friend.
    After i run DisplayLanguageSwitcher.cmd , i did new update research through WU and few minutes later 40 updates have been found and displayed, i downoloaded and installed them all then i rebooted the machine and the new LP took place with all updates.
    I love you man.
    Can i buy you a drink ?
     
  14. frach

    frach MDL Novice

    Nov 11, 2018
    44
    4
    0
    so if i understand well, if i use your W7MUI script to integrate new LP into win7 updated iso, i will get the same black screen problem when booting in new LP preinstalled session.
    is this what's going to happen ?
     
  15. abbodi1406

    abbodi1406 MDL KB0000001

    Feb 19, 2011
    16,219
    84,887
    340
    Yes

    we have the same issue with Windows 8.1 with Update media
    i had to make a slim version of KB2919355 and its companion updates to re-integrate after LP
    but luckily they released refreshed LPs, it basically RTM LP + KB2919355 & KB3000850 lamguage resources
     
  16. abbodi1406

    abbodi1406 MDL KB0000001

    Feb 19, 2011
    16,219
    84,887
    340
    You mean iso? or language pack?
    there is no direct links for LPs .cab files, but there is UUP links for LPs esd files
    i will add support for esd files to DisplayLanguageSwitcher.cmd
     
  17. crypticus

    crypticus MDL Senior Member

    Jun 29, 2015
    317
    142
    10
    i was asking for LP, thanks for new solution for 1809
    please add esd file links into txt files in your project
     
  18. abbodi1406

    abbodi1406 MDL KB0000001

    Feb 19, 2011
    16,219
    84,887
    340
    Updated, with support for W10 LangPack ESD files