定制 nedryse/translateable-template-factory 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

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

nedryse/translateable-template-factory

最新稳定版本:v1.1.1

Composer 安装命令:

composer require nedryse/translateable-template-factory

包简介

Proper way how to load translator into the presenters and controls template in the Nette framework based applications

README 文档

README

#nedryse/translateable-template-factory (cc)# Pavel Železný (2bfree), 2014 (pavelzelezny.cz)

Requirements

Nette Framework 2.4.0 or higher

Documentation

Proper way how to load translator into the presenters and controls template in the Nette framework based applications

Instalation

Prefered way to intall is by the Composer

composer require nedryse/translateable-template-factory:~1.1

Or by manualy adding into the composer.json

{
	"require":{
		"nedryse/translateable-template-factory": "~1.1"
	}
}

Setup

Add following code into the config.neon

common:
	services:
		nette.templateFactory: Nedryse\Nette\Bridges\ApplicationLatte\TranslatableTemplateFactory

Usage

At the moment of the template creation in the presenter or in the control, the translator is already loaded in it

统计信息

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

GitHub 信息

  • Stars: 1
  • Watchers: 3
  • Forks: 1
  • 开发语言: PHP

其他信息

  • 授权协议: WTFPL
  • 更新时间: 2014-11-30