2017 © Pedro Peláez
 

library translateable-template-factory

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

image

nedryse/translateable-template-factory

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

  • Wednesday, November 23, 2016
  • by zeleznypa
  • Repository
  • 2 Watchers
  • 1 Stars
  • 3,204 Installations
  • PHP
  • 1 Dependents
  • 0 Suggesters
  • 1 Forks
  • 0 Open issues
  • 4 Versions
  • 0 % Grown

The README.md

nedryse/translateable-template-factory (cc)

Pavel Železný (2bfree), 2014 (pavelzelezny.cz), (*1)

Requirements

Nette Framework 2.4.0 or higher, (*2)

Documentation

Proper way how to load translator into the presenters and controls template in the Nette framework based applications, (*3)

Instalation

Prefered way to intall is by the Composer, (*4)

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

Or by manualy adding into the composer.json, (*5)

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

Setup

Add following code into the config.neon, (*6)

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, (*7)

The Versions

23/11 2016

dev-master

9999999-dev https://github.com/nedryse/translateable-template-factory

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

  Sources   Download

WTFPL

The Requires

 

The Development Requires

translator nette dry nedryse

23/11 2016

v1.1.1

1.1.1.0 https://github.com/nedryse/translateable-template-factory

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

  Sources   Download

WTFPL

The Requires

 

The Development Requires

translator nette dry nedryse

23/11 2016

v1.1.0

1.1.0.0 https://github.com/nedryse/translateable-template-factory

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

  Sources   Download

WTFPL

The Requires

 

The Development Requires

translator nette dry nedryse

08/03 2016

v1.0.0

1.0.0.0 https://github.com/nedryse/translateable-template-factory

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

  Sources   Download

WTFPL

The Requires

 

The Development Requires

translator nette dry nedryse