mmelcor/yii2-transconv 问题修复 & 功能扩展

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

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

mmelcor/yii2-transconv

Composer 安装命令:

composer require mmelcor/yii2-transconv

包简介

A program to convert php translation files to po translation files.

README 文档

README

A program to convert php translation files to po translation files.

Installation

The preferred way to install this extension is through composer.

Either run

php composer.phar require --prefer-dist mmelcor/yii2-transconv "*"

or add

"mmelcor/yii2-transconv": "*"

to the require section of your composer.json file.

Usage

Once the extension is installed, simply use it in your code by adding the following to your console\config\main-local.php file (advanced) or config\console.php (basic) :

return [
	'bootstrap' => [ '[Other boostrap items]', 'transconv'],
	'modules' => [
		'[other modules]' => '[other module paths]',
		'transconv' => 'mmelcor\yii2transconv\Module',
	],
];

Then you can call

php yii transconv path/to/messages/

Before or after the conversion make sure that your i18n.php and i18n configuration have been set to use po files according to the Yii2 Internationalization setup. For more info see Yii2 Documentation.

统计信息

  • 总下载量: 34
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 4
  • 点击次数: 1
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2016-02-16

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固