php-translation / Symfony Bundle
Licence: mit
Symfony integration for Translations
Stars: ✭ 275
Projects that are alternatives of or similar to Symfony Bundle
doctrine-json-odm
JSON Object-Document Mapping bundle for Symfony and Doctrine
Stars: ✭ 15 (-94.55%)
Mutual labels: symfony-bundle
mailchimp-bundle
MailChimp integration with Symfony and MailChimp API V3
Stars: ✭ 40 (-85.45%)
Mutual labels: symfony-bundle
Framework Bundle
The FrameworkBundle defines the main framework configuration, from sessions and translations to forms, validation, routing and more.
Stars: ✭ 3,056 (+1011.27%)
Mutual labels: symfony-bundle
dataflow-bundle
Data processing framework inspired by PortPHP
Stars: ✭ 13 (-95.27%)
Mutual labels: symfony-bundle
symfony-bundle-test
Smoke test your Symfony bundle
Stars: ✭ 86 (-68.73%)
Mutual labels: symfony-bundle
EasyAuditBundle
A Symfony Bundle To Log Selective Events
Stars: ✭ 84 (-69.45%)
Mutual labels: symfony-bundle
Laravel Nova Lang
🌌 Language files for Laravel Nova translated into 40+ languages. Feel free to submit your language or update an existing one!
Stars: ✭ 275 (+0%)
Mutual labels: translations
AmpHtmlBundle
AMP HTML⚡ Bundle - provide AMP HTML conversion to your Symfony projects.
Stars: ✭ 33 (-88%)
Mutual labels: symfony-bundle
Doctrinecachebundle
Symfony2 Bundle for Doctrine Cache
Stars: ✭ 2,813 (+922.91%)
Mutual labels: symfony-bundle
react-template
An enterprise react template application showcasing - Testing strategy, Global state management, middleware support, a network layer, component library integration, localization, PWA support, route configuration, lazy loading and CI/CD
Stars: ✭ 44 (-84%)
Mutual labels: translations
phpspreadsheet-bundle
A Symfony bundle to integrate with PHPOffice's PhpSpreadsheet library
Stars: ✭ 47 (-82.91%)
Mutual labels: symfony-bundle
KnpDisqusBundle
A Symfony bundle to fetch and render disqus comments via their API. Your SEO other-half will love it.
Stars: ✭ 62 (-77.45%)
Mutual labels: symfony-bundle
Dunglasactionbundle
Symfony controllers, redesigned
Stars: ✭ 269 (-2.18%)
Mutual labels: symfony-bundle
time-ago-bundle
Provides a simple twig filter for expressing time difference in words.
Stars: ✭ 13 (-95.27%)
Mutual labels: symfony-bundle
StatsdBundle
Symfony bundle proving a statsd service and smooth integration in sf2
Stars: ✭ 54 (-80.36%)
Mutual labels: symfony-bundle
Prestasitemapbundle
A symfony bundle that provides tools to build a rich application sitemap. The main goals are : simple, no databases, various namespace (eg. google image), respect constraints etc.
Stars: ✭ 272 (-1.09%)
Mutual labels: symfony-bundle
Olivia
💁♀️Your new best friend powered by an artificial neural network
Stars: ✭ 3,114 (+1032.36%)
Mutual labels: translations
Mojito
An automation platform that enables continuous localization.
Stars: ✭ 256 (-6.91%)
Mutual labels: translations
Translation Bundle
Symfony integration for PHP Translation
Install
Install this bundle via Composer:
$ composer require php-translation/symfony-bundle
If you're using Symfony Flex - you're done! Symfony Flex will create default configuration for you, change it if needed. If you don't use Symfony Flex, you will need to do a few more simple steps.
- First, register the bundle:
# config/bundles.php
return [
// ...
Translation\Bundle\TranslationBundle::class => ['all' => true],
];
- Then, configure the bundle. An example configuration looks like this:
# config/packages/php_translation.yaml
translation:
locales: ["en"]
edit_in_place:
enabled: false
config_name: app
configs:
app:
dirs: ["%kernel.project_dir%/templates", "%kernel.project_dir%/src"]
output_dir: "%kernel.project_dir%/translations"
excluded_names: ["*TestCase.php", "*Test.php"]
excluded_dirs: [cache, data, logs]
# config/packages/dev/php_translation.yaml
translation:
symfony_profiler:
enabled: true
webui:
enabled: true
- And the last step, add new routes:
# config/routes/dev/php_translation.yaml
_translation_webui:
resource: "@TranslationBundle/Resources/config/routing_webui.yaml"
prefix: /admin
_translation_profiler:
resource: '@TranslationBundle/Resources/config/routing_symfony_profiler.yaml'
# config/routes/php_translation.yaml
_translation_edit_in_place:
resource: '@TranslationBundle/Resources/config/routing_edit_in_place.yaml'
prefix: /admin
Documentation
Read the full documentation at http://php-translation.readthedocs.io.
Note that the project description data, including the texts, logos, images, and/or trademarks,
for each open source project belongs to its rightful owner.
If you wish to add or remove any projects, please contact us at [email protected].