dev-master
9999999-devSilex i18n routing service provider.
MIT
The Requires
The Development Requires
by Саша Стаменковић
1.0.0
1.0.0.0Silex i18n routing service provider.
MIT
The Requires
The Development Requires
Silex i18n routing service provider.
symfony upgrade fixer • twig gettext extractor • wisdom • centipede • permissions handler • extraload • gravatar • locurro • country list • transliterator , (*1)
Silex i18n routing service provider., (*2)
routes
.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)
Silex i18n routing service provider.
MIT
Silex i18n routing service provider.
MIT