Translation
PHP component of Symfony that provides tools to translate messages and internationalize an application.
symfony.com/packages/translationrepositorydocs
Translation is a PHP component of Symfony that looks up translated messages for the user’s locale. Dictionaries can be written in YAML, PHP or XLIFF, and a locale can fall back to other locales. The docs also describe a Twig filter and tag for translating in templates, and the translation:extract command lists the messages the code and templates use. The default locale and the translation directory are set in the application’s configuration.
Worth knowing
Translating into languages other than English needs the PHP intl extension. Translation files can be pushed to and pulled from third-party translation platforms, through provider packages installed separately.
Identity
Rendering and deploy
- Install with
- composer1
Releases
Adoption
Sources
- 2026-11-16: name, links, Categories, Multilingual, Runtime, Install with
symfony.com/packages/translation - 2026-11-16: links, Written in, License model, GitHub stars
api.github.com/repos/symfony/translation - 2026-11-16: links
symfony.com/doc/current/translation.html - 2026-11-16: Maintainer
github.com/symfony/translation/blob/v8.1.11/LICENSE - 2026-11-16: First release
repo.packagist.org/p2/symfony/translation.json - 2026-11-16: Minimum runtime, License
github.com/symfony/translation/blob/v8.1.11/composer.json - 2026-11-16: Current major version, Last release
api.github.com/repos/symfony/translation/releases/tags/v8.1.11 - 2026-11-16: Contributors
api.github.com/repos/symfony/translation/contributors?per_page=1 - 2026-11-16: Packagist downloads, Packagist downloads a month
packagist.org/packages/symfony/translation.json - 2026-11-16: Dependent packages, Dependent repositories
packages.ecosyste.ms/api/v1/registries/packagist.org/packages/symfony%2Ftranslation