Silex i18n routing service provider.

1.0.0 2012-10-23 05:43 UTC

This package is not auto-updated.

Last update: 2024-03-30 11:16:58 UTC



symfony upgrade fixertwig gettext extractorwisdomcentipedepermissions handlerextraloadgravatarlocurrocountry listtransliterator

I18n Routing Service Provider Build Status

Silex i18n routing service provider.


  • Translation message domain. The default value is routes.


To translate route patterns, just register service provider:


$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

In order for this to work, prefixes should be translated separately from patterns.