# Translation

PHP component of Symfony that provides tools to translate messages and internationalize an application.


Source: https://findsoftware.frbit.cloud/symfony-translation/
Last reviewed: 2026-11-16
Listed since: 2026-11-16

## Record

### Links

- home: https://symfony.com/packages/translation
- repository: https://github.com/symfony/translation
- docs: https://symfony.com/doc/current/translation.html

### Identity

- status: active
- maintainer: Fabien Potencier
- maintainerType: unknown
- parent: unknown
- firstRelease: 2011
- hqCountry: unknown

### Kind

- category: library
- hosting: php
- language: php
- runtime: php
- runtimeMin: php 8.4
- basedOn: unknown

### Content

- contentStore: not applicable
- databases: not applicable
- adminUi: not applicable
- headlessApi: not applicable
- templating: not applicable
- i18n: yes

### Rendering and deploy

- runsAs: not applicable
- renderingModes: not applicable
- installMethod: composer

### License

- licenseModel: open-source
- license: MIT

### Releases

- currentMajor: 8
- latestReleaseDate: 2026-11-04

### Adoption

- githubStargazers: 6598
- packagistDownloads: 986301422
- npmWeeklyDownloads: not applicable
- contributors: 224
- pluginCount: unknown
- packagistMonthlyDownloads: 32192789
- ecosystemsMonthlyDownloads: unknown
- httpArchiveSites: unknown
- wordpressActiveInstalls: unknown
- dependentRepos: 524870
- dependentPackages: 1883

### Sources

- name: https://symfony.com/packages/translation (read 2026-11-16)
- urls: https://symfony.com/packages/translation (read 2026-11-16)
- urls: https://api.github.com/repos/symfony/translation (read 2026-11-16)
- urls: https://symfony.com/doc/current/translation.html (read 2026-11-16)
- maintainer: https://github.com/symfony/translation/blob/v8.1.11/LICENSE (read 2026-11-16)
- firstRelease: https://repo.packagist.org/p2/symfony/translation.json (read 2026-11-16)
- language: https://api.github.com/repos/symfony/translation (read 2026-11-16)
- category: https://symfony.com/packages/translation (read 2026-11-16)
- i18n: https://symfony.com/packages/translation (read 2026-11-16)
- runtime: https://symfony.com/packages/translation (read 2026-11-16)
- runtimeMin: https://github.com/symfony/translation/blob/v8.1.11/composer.json (read 2026-11-16)
- installMethod: https://symfony.com/packages/translation (read 2026-11-16)
- license: https://github.com/symfony/translation/blob/v8.1.11/composer.json (read 2026-11-16)
- licenseModel: https://api.github.com/repos/symfony/translation (read 2026-11-16)
- currentMajor: https://api.github.com/repos/symfony/translation/releases/tags/v8.1.11 (read 2026-11-16)
- latestReleaseDate: https://api.github.com/repos/symfony/translation/releases/tags/v8.1.11 (read 2026-11-16)
- githubStargazers: https://api.github.com/repos/symfony/translation (read 2026-11-16)
- contributors: https://api.github.com/repos/symfony/translation/contributors?per_page=1 (read 2026-11-16)
- packagistDownloads: https://packagist.org/packages/symfony/translation.json (read 2026-11-16)
- packagistMonthlyDownloads: https://packagist.org/packages/symfony/translation.json (read 2026-11-16)
- dependentPackages: https://packages.ecosyste.ms/api/v1/registries/packagist.org/packages/symfony%2Ftranslation (read 2026-11-16)
- dependentRepos: https://packages.ecosyste.ms/api/v1/registries/packagist.org/packages/symfony%2Ftranslation (read 2026-11-16)

## Notes

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.

---

Data licensed CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Attributes are recorded, never scored; absent means unknown.
Credit, in full: FindSoftware, CC BY 4.0
