Comments (14)
Hi,
it install the JRE in chinese language
How are you viewing the JRE is in chinese ?
The only language known by the installer are used for the installer itself when running in interactive mode (GUI)
and is detected from the OS current local.
The available language for the Windows MSI GUI are listed here
https://github.com/AdoptOpenJDK/openjdk-installer/blob/master/wix/Lang/LanguageList.config
As you can see here for exemple, many of the installer label are not translated into chinese at this time.
https://github.com/AdoptOpenJDK/openjdk-installer/blob/master/wix/Lang/OpenJDK.Base.zh-cn.wxl
https://github.com/AdoptOpenJDK/openjdk-installer/blob/master/wix/Lang/OpenJDK.Base.zh-tw.wxl
Here you can find some or all LANGID by country corresponding to our LanguageList.config :
https://docs.microsoft.com/en-us/windows/desktop/msi/localizing-the-error-and-actiontext-tables
The JRE or JDK pakaged into the installer is the same for all country/language.
from installer.
Hi douph1,
The only language known by the installer are used for the installer itself when running in interactive
mode (GUI) and is detected from the OS current local.
I've now tested it interactive on my PC:
OpenJDK8U-jre_x64_windows_openj9_8u212b03_openj9-0.14.0.msi -> Chinese GUI
OpenJDK8U-jre_x64_windows_hotspot_8u212b03.msi --> German GUI
So there must be a difference in the packages ...
br
Marc
from installer.
C:\Users\adminup>cscript "c:\Program Files (x86)\Windows Kits\10\bin\10.0.17763.0\x64\wisubstg.vbs" //Nologo c:\Users\adminup\Downloads\OpenJDK8U-jre_x64_windows_openj9_8u212b03_openj9-0.14.0.msi
1028
1031
1036
1041
2052
3082
Orca show : Property->ProductLanguage: 1033
Orca top menu: Tools :Code Page : Current Code Page 1252
C:\Users\adminup>cscript "c:\Program Files (x86)\Windows Kits\10\bin\10.0.17763.0\x64\wisubstg.vbs" //Nologo c:\Users\adminup\Downloads\OpenJDK8U-jre_x64_windows_hotspot_8u212b03.msi
1028
1031
1036
1041
2052
3082
Orca show : Property->ProductLanguage: 1033
Orca top menu: Tools :Code Page : Current Code Page 1252
OpenJDK8U-jre_x64_windows_openj9_8u212b03_openj9-0.14.0.msi select French dialog on my FR-fr desktop
It seems windows installer take the last one added from the LanguageList.config
wich is also the first returned by wisubstg.vbs.
It is probably the default because it didn't match your locale as 1031.
But why for OpenJDK8U-jre_x64_windows_openj9_8u212b03_openj9-0.14.0.msi and not OpenJDK8U-jre_x64_windows_hotspot_8u212b03.msi ... I dont know sorry
You can bypass auto-select language by :
msiexec /i c:\Users\adminup\Downloads\OpenJDK8U-jre_x64_windows_hotspot_8u212b03.msi TRANSFORMS=:1031
from installer.
You can also try to edit MSI with ORCA and change Property->ProductLanguage to 0
save
Then recreate a new generated MST transform
and test please
from installer.
Hi,
I've now tested it interactive on my PC:
OpenJDK8U-jre_x64_windows_openj9_8u212b03_openj9-0.14.0.msi -> Chinese GUI
OpenJDK8U-jre_x64_windows_hotspot_8u212b03.msi --> German GUI
This happens if the packet is installed in the background. Today I checked it again and get my language by interactive install.
I have tested to set the language to 0, 1031 and 1033. Always the same result:
Interactive-install is in correct language, but deployed by gpo it's chinese.
In the GPO you can see at the produktinformation that the language is chinese (with all language settings above)
from installer.
This happens if the packet is installed in the background.
So there is no problem I think, it is juste GPO msc wich display you last language referenced inside the installer, but it wont change anything to your installed AdoptOpenJdk wich is not transcripted in multilanguage
but deployed by gpo it's chinese.
You see chinese in GPO.. but the JDK/JRE is always the same.. so what is the problem ?
The language is only used for the interactive installation, so deployed by the GPO, I dont see any impact possible.
Have you a probleme with the JRE installed ? Malfunction ? Display your java program in chinese ?
from installer.
Have you a probleme with the JRE installed ? Malfunction ? Display your java program in chinese ?
No, but the chinese installer-gui is a problem for our technicans if they have to repair something manually at the clients
edit:
For me it is only possible to install the AdoptOpenJDK with disabled language check in the GPO.
With this installer the GUI is english, also after install with GPO and I don't need to disable the language check:
https://github.com/ojdkbuild/ojdkbuild
from installer.
Is Ojdkbuild a multi-language installer ?
from installer.
Is Ojdkbuild a multi-language installer ?
It seem's no, I dont have french setup UI. So it is not comparable to AdoptOpenJdk installer
To fall back to your problem:
No, but the chinese installer-gui is a problem for our technicans if they have to repair something manually at the clients
You mean you deploy by GPO successfully but if you log into client computer and go to "Add or remove programs" and clic "Modify" for interactif UI "repair" and here you get installer in Chinese right ?
from installer.
You mean you deploy by GPO successfully but if you log into client computer and go to "Add or remove programs" and clic "Modify" for interactif UI "repair" and here you get installer in Chinese right ?
yes
from installer.
- Language :
but can't find anything to set the language) for our needs.
I can't test by deploying with Active Directory but tested to select language with msiexec.
You must apply internal transform present in MSI to choose language as stated here https://docs.microsoft.com/en-us/windows/desktop/msi/transforms
You can indicate that a transform file is embedded in a storage of the .msi file, rather than as a stand-alone file, by prefixing the filename with a colon (:).
TRANSFORMS=:1031
- Transform to add/remove features
You can mix Language selection with your custom transform to add or remove other feature present in the msi.
I tried and works great with msiexec on my local french computer. Setup is done silently in german ( can see "mit" in "Add or remove program" and "edit" or "remove" gui is in german.
! If you add external transform file, you can't edit anymore ( repair ). Only "install" button is available and probably do nothing
To create a transform MST for features selection :
With ORCA :
Open MSI:
-
Transform -> New Transform
-
Always include "FeatureMain" ( required ), "FeatureMain" require a path where to install AdoptOpenJdk : set "INSTALLDIR" variable with a path
-
add you other features
Then
- Transform -> Generate Transform...
- Transform -> Close Transform
- File -> Exit
sample to enable all features :
from installer.
I have tested to set the language to 0, 1031 and 1033. Always the same result:
Interactive-install is in correct language, but deployed by gpo it's chinese.
This was already a test with transforms
from installer.
with a Group Policy, the language values are read according to the numerical order of the available languages in the MSI package
https://www.itninja.com/blog/view/how-to-update-gpo-kace-agent
you need to run a script to change the language of the MSI to English. You can download the script HERE.
https://forums.zimbra.org/viewtopic.php?t=43681
(with ORCA)
You can open the MSI with it, under view --> Summary Information go to the Languages input field and remove all but 1033. Okay and save. Pretty simple!
from installer.
it works to remove the other languages with orca
from installer.
Related Issues (20)
- Republish JRE21 RHEL & SUSE PPC64LE Linux Packages Due To Issue In Spec File
- Debian installation instructions still use `/etc/apt/trusted.gpg.d` for storing the key HOT 3
- Add Riscv64 Support To Linux Installer Process HOT 4
- adjust rpms and (maybe) repositories so Temurin JDKs can serve as replacement of non-system JDKs in Fedora HOT 24
- fonts-dejavu is not installable and not included with basic installer ubuntu linux
- Support for new distributions - April 2024 HOT 4
- Packaging process does not work correctly for RPMs, when dist = all
- Windows ARM64 binaries are being installed to incorrect location
- Test
- April 2024 - Unix Installer Packages Release Tracker HOT 1
- Generated MSIs lack end-user license agreement HOT 10
- Alpine temurin ARM64 Package depends on x86 Package HOT 9
- GPG Signing Fails For RHEL Installer Packages HOT 1
- Origin/Label for Debian repositories
- remove versionless provides from rpm builds HOT 2
- add headless subpackage
- add aarch64/shenandoah support for jdk8
- provide slowdebug and fastdebug subpackages
- contact fesco
- No release for Ubuntu mantic HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from installer.