2017 © Pedro Peláez
 

library part-translate-bundle

Bundle for Symfony3. Integrates twig filter for translating parts of the string

image

bubnov/part-translate-bundle

Bundle for Symfony3. Integrates twig filter for translating parts of the string

  • Monday, January 23, 2017
  • by bubnov
  • Repository
  • 1 Watchers
  • 0 Stars
  • 16 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 4 Versions
  • 0 % Grown

The README.md

partTranslateBundle

Бандл для Symfony3 добавляет новый фильтр для twig шаблонизатора

  • Применяется к строке как фильтр в шаблоне
  • Переводит все маркеры в строке, записанные в формате %\S+%

### Установка

Выполнить:
```sh
composer require bubnov/part-translate-bundle:~3.0
```

Добавить бандл в конфигурацию AppKernel
```php
// app/AppKernel.php
public function registerBundles()
{
    return array(
        // ...
        new Bubnov\PartTranslateBundle\BubnovPartTranslateBundle(),
        // ...
    );
}
```

### Использование

В twig-шаблоне twig {# Ваш шаблон #} Этот маркер требуется перевести: {{ 'markers.tobe.translate' | partTranslate }}, (*1)

Credits

Bundle code is written by Mikhail Bubnov bubnov.mihail@gmail.com https://github.com/bubnov-mikhail, (*2)

License

This bundle is under the MIT license., (*3)

The Versions

23/01 2017

dev-master

9999999-dev

Bundle for Symfony3. Integrates twig filter for translating parts of the string

  Sources   Download

MIT

The Requires

 

by Mihail Bubnov

twig filter bundle symfony translate symfony bundle parts

23/01 2017

3.0.2

3.0.2.0

Bundle for Symfony3. Integrates twig filter for translating parts of the string

  Sources   Download

MIT

The Requires

 

by Mihail Bubnov

twig filter bundle symfony translate symfony bundle parts

04/10 2016

3.0.1

3.0.1.0

Bundle for Symfony3. Integrates twig filter for translating parts of the string

  Sources   Download

MIT

The Requires

 

by Mihail Bubnov

twig filter bundle symfony translate symfony bundle parts

30/09 2016

3.0.0

3.0.0.0

Bundle for Symfony3. Integrates twig filter for translating parts of the string

  Sources   Download

MIT

The Requires

 

by Mihail Bubnov

twig filter bundle symfony translate symfony bundle parts