ride/cli-i18n 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

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

GitHub 信息

  • Stars: 0
  • Watchers: 8
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2016-01-19

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固