Skip to content

Ataxo/copycopter-php-klient

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Copycopter PHP Client

Nette Translator library for loading translates from copycopter.

Requirements

Usage

Place class into libs dir. To load translator we recommend implement class initialization into config.neon and load as context variable into templates.

common:
	parameters:
		copycopterApiKey: yourApiKey
	services:
		translator: Translator(%copycopterApiKey%)

In BasePresenter.php:

startup(){
    $this->template->setTranslator($this->context->translator);
}

In PHP:

t('string to translate')

Copyright

Ondrej Podolinský, 2013, Ataxo Interactive a.s.

License

LGPL

About

Copypoter client for PHP. You can then edit your translations live with copycopter server. More info: http://copycopter.com

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages