ride/cli-i18n
Composer 安装命令:
composer require ride/cli-i18n
包简介
I18n commands for the CLI of a Ride application
README 文档
README
This module adds various I18n commands to the Ride CLI.
Commands
locales
This command shows an overview of the defined locales.
Syntax: locales
Alias: l
translation
This command shows an overview of the defined translations.
Syntax: translation <locale> [<query>]
<locale>: Locale of the translation<query>: Query to search the translations
Alias: t
translation set
This command sets a translation from the provided locale.
Syntax: translation set <locale> <key> <translation>
<locale>: Locale of the translation<key>: Key of the translation<translation>: Value for the translation
Alias: ts
translation unset
This command unsets a translation from the provided locale.
Syntax: translation unset <locale> <key>
<locale>: Locale of the translation<key>: Key of the translation
Alias: tu
translation missing
This command makes sure all locales have the same keys defined by adding translation keys which are missing but defined in an other locale.
Syntax: translation missing
Alias: tm
Related Modules
Installation
You can use Composer to install this application.
composer require ride/cli-i18n
统计信息
- 总下载量: 430
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 2
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2016-01-19