qberon-digital/symfony-tolgee-translation-provider

Symfony Tolgee Translation Provider Bridge

0.0.2 2024-02-22 10:43 UTC

This package is auto-updated.

Last update: 2024-05-22 11:14:59 UTC


README

Provides Tolgee integration for Symfony Translation.

Tolgee compatibility

The current implementation is only compatible with Tolgee API v2.

How to enable tolgee translation provider

Add tolgee provider to your translation yaml config.

config/translation.yaml

framework:
    translator:
        providers:
            tolgee:
                dsn: 'tolgee://<PROJECT_ID>:<API_TOKEN>@<HOST>:<PORT>'

Tag QberonDigital\Symfony\Translation\Tolgee\TolgeeProviderFactory::class with translation.provider_factory.