Skip to content

Commit

Permalink
LPD-37554 The default value should be the site default, since the the…
Browse files Browse the repository at this point in the history
…meDisplay.getLanguageId() has the current user language id
  • Loading branch information
ealonso authored and brianchandotcom committed Sep 27, 2024
1 parent 02cf867 commit 4174f63
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -449,7 +449,8 @@ private String _getContent(
_getInfoForm(fragmentEntryLink, layoutStructure));

String languageId = ParamUtil.getString(
httpServletRequest, "languageId", themeDisplay.getLanguageId());
httpServletRequest, "languageId",
LocaleUtil.toLanguageId(themeDisplay.getSiteDefaultLocale()));

defaultFragmentRendererContext.setLocale(
LocaleUtil.fromLanguageId(languageId));
Expand Down

0 comments on commit 4174f63

Please sign in to comment.