moqui-framework icon indicating copy to clipboard operation
moqui-framework copied to clipboard

ERROR Localization for root title menu

Open minhOlbius opened this issue 3 years ago • 2 comments

When I localize the menu:

image

But when I expand menu, I get the following error:

image

The menu at the root is always the default (English)

minhOlbius avatar Aug 03 '22 09:08 minhOlbius

Solution: Patch file: ScreenRenderImpl.zip

in: moqui-framework\framework\src\main\groovy\org\moqui\impl\screen\ScreenRenderImpl.groovy Change: String menuTitle = curSsi.menuTitle ?: curScreen.getDefaultMenuName() To: String menuTitle = curSsi.menuTitle ? ec.resource.expand(curSsi.menuTitle, "") : curScreen.getDefaultMenuName()

image

minhOlbius avatar Aug 03 '22 09:08 minhOlbius

@minhOlbius Instead of creating a patch, please create a PR :slightly_smiling_face:

acetousk avatar Oct 10 '22 22:10 acetousk