Make Metadata.File default language configurable - #3850
Open
tushabe wants to merge 1 commit into
Open
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## develop #3850 +/- ##
=============================================
+ Coverage 60.63% 60.65% +0.03%
Complexity 105 105
=============================================
Files 3496 3496
Lines 153207 153212 +5
Branches 11691 11691
=============================================
+ Hits 92887 92921 +34
+ Misses 56824 56804 -20
+ Partials 3496 3487 -9 🚀 New features to boost your workflow:
|
tushabe
force-pushed
the
feature/metadata-file-default-language
branch
from
July 24, 2026 14:24
74c36ca to
07b153e
Compare
tushabe
marked this pull request as ready for review
July 24, 2026 15:12
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Make the shared user language of
Metadata.Fileconfigurable through its OSGi component configuration.Metadata.Filecurrently hardcodes German in a static field. As a result, Backend installations that use this metadata provider cannot choose another initial UI language, and changing the language affects all provider instances in the JVM.This change:
defaultLanguageOSGi setting, defaulting toDEfor backwards compatibilityMetadata.FileinstanceupdateUserLanguage()is calledLanguageenum valuesExample:
Validation
Validated against the current upstream
developbranch with:Both commands completed successfully.
The same implementation was also built into the Nearly Free Energy pilot Backend, deployed with
defaultLanguage="EN", and verified through an actual UI logout/login and a Backend container restart. The UI opened in English and the configured default remained effective after restart.