Skip to content

Default to language level translation if present - #2305

Open
reshmabidikar wants to merge 3 commits into
killbill:maint-for-0-24-xfrom
reshmabidikar:work-for-2304
Open

Default to language level translation if present#2305
reshmabidikar wants to merge 3 commits into
killbill:maint-for-0-24-xfrom
reshmabidikar:work-for-2304

Conversation

@reshmabidikar

@reshmabidikar reshmabidikar commented Aug 20, 2026

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

@reshmabidikar
reshmabidikar marked this pull request as ready for review August 21, 2026 04:08
@reshmabidikar
reshmabidikar requested a lite review from Copilot August 21, 2026 04:09

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.


}

public static String localeStringWithOnlyLanguage(final Locale locale, @Nullable String prefix) {

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we instead modify the LocaleUtils#localeString to support both cases - language _ opt. country.
You could call it twice using first locale and then Locale.of(locale.getLanguage());

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants