You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, @saber13812002
You can do this.
First,open your project to config/admin.php,then find the extensions array , the following code.
'multi-language' => [
'enable' => true,
// the key should be same as var locale in config/app.php// the value is used to show'languages' => [
'en' => 'English',
'zh-CN' => '簡體中文',
'zh-TW' => '繁體中文',
'fa' =>'Persian',
'ar' =>'Arabic'
],
// default locale'default' => 'zh-TW',
// if or not show multi-language login page, optional, default is true'show-login-page' => true,
// if or not show multi-language navbar, optional, default is true'show-navbar' => true,
// the cookie name for the multi-language var, optional, default is 'locale''cookie-name' => 'locale'
],
Second,find the Http/Kernel.php file,and append the following code in $middlewareGroups array .
how can i apply changes for rtl languages like arabic or persian?
The text was updated successfully, but these errors were encountered: