Localization for route title?
Closed this issue · 1 comments
mdsina commented
In extension.config.js you can describe the route title. But can it be localizable?
{
path: '/access',
component: 'domain/RemoteAccess',
title: 'Remote Access', // <-- this one
}
ekaragodin commented
For localizing the page title you should set a special key in locales:
<?php
$messages = [
'app' => [
'domain' => [
'RemoteAccess' => [
'title' => 'Remote Access Title',
],
],
],
];