Translating navigation labels

I have managed to make the Intenationalisation module work to translate resource labels to Arabic, by adding translations in the Translate tab.

The same does not work with Navigation labels - adding translations has no effect. I have also tried to add the the translations to ar.po/ar.mo in application/language folder but this does not do the trick either.

I understand the navigation rendering is handled in /vendor/laminas/laminas-view/src/Helper/Navigation/menu.php, and I wonder if anything else should be done to get the navigation labels translated when the site language is Arabic.

@Daniel_KM

Thanks!

Found the solution (for the Freedom theme): in header.phtm, force translations by replacing

echo $site->publicNav()->menu()->renderMenu(null, [
	'addClassToListItem' => true,
	'maxDepth' => $this->themeSetting('nav_depth') - 1

with

$menu = $site->publicNav()->menu();
$menu->setTranslatorEnabled(true); // Force enable translation
echo $menu->renderMenu(null, [
    'addClassToListItem' => true,
    'maxDepth' => $this->themeSetting('nav_depth') - 1

It would be nice if the Freedom theme would do this by default, or allow a configuration.