文件名称:multi-language
文件大小:9KB
文件格式:ZIP
更新时间:2024-06-02 02:35:28
HTML
laravel-admin多国语言 安装 composer require laravel-admin-extensions/multi-language 设定档 首先,添加扩展配置 在config/admin.php 'extensions' => [ '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' => '简体中文'
【文件预览】:
multi-language-master
----.gitignore(75B)
----src()
--------Widgets()
--------Http()
--------Middlewares()
--------MultiLanguage.php(256B)
--------MultiLanguageServiceProvider.php(1KB)
----resources()
--------views()
----LICENSE(1KB)
----composer.json(837B)
----README.md(2KB)
----routes()
--------web.php(316B)