Hvordan kan Jenkins indstilles til altid at vise meddelelser på engelsk, når en del af brugergrænsefladen vises på det lokale sprog i Google Chrome?
For at sikre, at Jenkins altid viser beskeder på engelsk, selv når en del af brugergrænsefladen vises på det lokale sprog i Google Chrome, skal du ændre browserens sprogindstillinger, installere og konfigurere Jenkins Locale-pluginet samt rydde browserens cache.
How to Configure Jenkins to Always Display Messages in English When Part of the User Interface is Shown in the Local Language in Google Chrome
To ensure Jenkins always displays messages in English, even when part of the user interface is shown in the local language in Google Chrome, follow these steps:
- Change Browser Language Settings:
- Open Google Chrome.
- Click on the three vertical dots in the upper-right corner to open the menu.
- Select Settings.
- Scroll down and click on Advanced to expand more options.
- Under the Languages section, click on Language.
- Click on Add languages and select English if it is not already listed.
- Drag English to the top of the list to make it the default language.
- Restart Chrome to apply the changes.
- Set Jenkins Locale Plugin:
- Log in to your Jenkins instance.
- Go to Manage Jenkins > Manage Plugins.
- In the Available tab, search for the Locale plugin.
- Install the Locale plugin and restart Jenkins if required.
- After installation, go to Manage Jenkins > Configure System.
- Scroll down to the Locale section.
- Check the box Default Language and enter
en
in the text field.
- Save the configuration.
- Clear Browser Cache:
- Open Google Chrome.
- Click on the three vertical dots in the upper-right corner to open the menu.
- Select More tools > Clear browsing data.
- Choose All time as the time range.
- Check the boxes for Cookies and other site data and Cached images and files.
- Click Clear data.
By following these steps, you can ensure that Jenkins will always display messages in English, regardless of the local language settings in Google Chrome.