2017 © Pedro Peláez
 

library i18n-routing-service-provider

Silex i18n routing service provider.

image

umpirsky/i18n-routing-service-provider

Silex i18n routing service provider.

  • Saturday, March 12, 2016
  • by umpirsky
  • Repository
  • 1 Watchers
  • 7 Stars
  • 714 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 4 Forks
  • 0 Open issues
  • 2 Versions
  • 0 % Grown

The README.md

symfony upgrade fixertwig gettext extractorwisdomcentipedepermissions handlerextraloadgravatarlocurrocountry listtransliterator , (*1)

I18n Routing Service Provider Build Status

Silex i18n routing service provider., (*2)

Parameters

  • translator.domains.route: Translation message domain. The default value is routes.

Usage

To translate route patterns, just register service provider:, (*3)

<?php

$app->register(new Umpirsky\Silex\I18nRouting\Provider\I18nRoutingServiceProvider());

If you use controller providers you can take advantage of using Umpirsky\Silex\I18nRouting\Application which overrides Application::mount() method in order to translate prefixes. Alternatively, you can do this trick outside of the Application class, read more on dev.umpirsky.com., (*4)

In order for this to work, prefixes should be translated separately from patterns., (*5)

The Versions

12/03 2016

dev-master

9999999-dev

Silex i18n routing service provider.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Саша Стаменковић

23/10 2012

1.0.0

1.0.0.0

Silex i18n routing service provider.

  Sources   Download

MIT

The Requires

 

The Development Requires