netlogix / symfony-tolgee-translation-provider
Symfony Tolgee Translation Provider Bridge
Installs: 1 778
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 4
Forks: 1
Open Issues: 3
Type:symfony-bridge
Requires
- php: ^7.2 || ^8.0 || ^8.1 || ^8.2
- symfony/config: ^5.4 || ^6.4
- symfony/http-client: ^5.4 || ^6.4
- symfony/intl: ^5.4 || ^6.4
- symfony/mime: ^5.4 || ^6.4
- symfony/polyfill-intl-icu: ^1.28
Requires (Dev)
- mockery/mockery: ^1.6
- phpunit/phpunit: ^9.6
- symfony/console: ^5.4 || ^6.4
- symfony/framework-bundle: ^5.4 || ^6.4
- symfony/phpunit-bridge: *
- symfony/translation: ^5.4 || ^6.4
This package is auto-updated.
Last update: 2024-12-21 00:03:46 UTC
README
Provides Tolgee integration for Symfony Translation.
DSN example
For https:
DSN=tolgees://PROJECT_ID:API_KEY@default/FILTER_STATES
For http:
DSN=tolgee://PROJECT_ID:API_KEY@default/[FILTER_STATES]
where:
PROJECT_ID
is your tolgee Project IDAPI_KEY
is your Tolgee API key[FILTER_STATES]
this argument is optional.
Filter translations with state.
Possible values:UNTRANSLATED
,TRANSLATED
,REVIEWED
tolgee export API
You get the project ID from the project URL.
DevSetup
If you want to develop this package, you can use gitpod.io to start a development environment with all dependencies installed.
It also starts a local Tolgee server with a test project. http://localhost:8085
You can use the following commands to pull and push translations from/to Tolgee server.
tests/console translation:pull tests/console translation:push