ornio/l10n-laravel
最新稳定版本:v1.0.2
Composer 安装命令:
composer require ornio/l10n-laravel
包简介
L10N translation service Laravel package
README 文档
README
L10N Laravel is a simple package that fetches translations from L10N localization app
Requirements
- PHP version 7.0 or higher
- Laravel version 6.0 or higher
Easy Installation
Install with composer
To install with Composer, simply require the latest version of this package.
composer require ornio/l10n-laravel
Quick Start
First add your unique l10n application token to your .env file:
L10N_TOKEN
Optionally you can add L10N_URL if it is different than default one:
L10N_URL
Publish files:
php artisan vendor:publish --tag="l10n"
Add your languages to l10n config file:
'languages' => [ 'en', 'nb', ]
Finally run the command that fetches translations and saves them to default language directory:
php artisan l10n:fetch-translations
统计信息
- 总下载量: 94
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2021-02-25