This bundle provides a Pushull integration for Symfony Translation.
It is a fork of m2mtech/pushull-translation-provider updated for Pushull specific implementation of weblate.
composer require pushull/pushull-translation-providerIf you are not using Flex enable the bundle:
// config/bundles.php
return [
// ...
Pushull\PushullTranslationProvider\PushullTranslationProviderBundle::class => ['all' => true],
];Enable the translation provider:
# config/packages/translation.yaml
framework:
translator:
providers:
pushull:
dsn: '%env(PUSHULL_DSN)%'
locales: ['en', 'fr', 'it']and set the DSN in your .env file:
# .env
PUSHULL_DSN=pushull://PROJECT_NAME:API_TOKEN@PUSHULL_PROJECT_URLbin/console translation:push [options] pushull
bin/console translation:pull [options] pushullThis package has been developed for php 7.4 with compatibility tested for php 7.2 to 8.1.
composer testPlease see CHANGELOG for more information about recent changes.
Please see CONTRIBUTING for details.
Please see SECURITY on how to report security vulnerabilities.
- (c) 2022 m2m server software gmbh tech@m2m.at and their contributors
- (c) Pushull Ltd
The MIT License (MIT). Please see License File for more information.