Can't Translate Menu Item Using the EightyNine Reports Plugin
I'm having trouble translating the menu item in the EightyNine Reports plugin. The reports.php translation file works correctly, but the menu page does not seem to apply the translation.
I'm using the following method to set the navigation group:
public static function getNavigationGroup(): ?string
{
return __('reports');
}
However, it always defaults to the English (en) language, even when the application's locale is set to another language.
0 Replies