Download the PHP package 68publishers/translation-bridge without Composer
On this page you can find all versions of the php package 68publishers/translation-bridge. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download 68publishers/translation-bridge
More information about 68publishers/translation-bridge
Files in 68publishers/translation-bridge
Package translation-bridge
Short Description Bridges between integrations of translation component and '68publishers bundles.
License MIT
Informations about the package translation-bridge
Translation bridge
About
The package contains bridges for the following integrations of symfomy/translation into Nette Framework:
Why? Because we want to keep our bundles independent of specific integrations so applications can use any of the integrations mentioned above and will be still compatible with our bundles.
Installation
The best way to install 68publishers/translation-bridge is using Composer:
Configuration
Usage
Translation Resources Provider
Extensions can provide paths with translation resources.
Translator Aware
All services that implement an interface TranslatorAwareInterface
will automatically receive the Translator instance.
Prefixed Translator Factory
The Container contains an autowired service of type PrefixedTranslatorFactoryInterface
for creating prefixed translators.
Translator Localizer
The Container contains the service of type TranslatorLocalizerInterface
for manipulating with the Translator locale.
Translator Locale Resolver
The Translator's locale can be resolved with own resolvers like this:
Contributing
Before opening a pull request, please check your changes using the following commands
All versions of translation-bridge with dependencies
nette/di Version ^3.0.10
nette/utils Version ^3.2.5 || ^4.0
symfony/translation Version ^6.0 || ^7.0