{"meta":{"name":"FindSoftware","page":"https://findsoftware.frbit.cloud/symfony-translation/","markdown":"https://findsoftware.frbit.cloud/symfony-translation.md","license":"https://creativecommons.org/licenses/by/4.0/","attribution":"FindSoftware, CC BY 4.0","note":"Attributes are recorded, never scored. An absent field means unknown, never zero and never bad."},"record":{"id":"symfony-translation","name":"Translation","urls":{"home":"https://symfony.com/packages/translation","repository":"https://github.com/symfony/translation","docs":"https://symfony.com/doc/current/translation.html"},"category":["library"],"description":"PHP component of Symfony that provides tools to translate messages and internationalize an application.","maintainer":"Fabien Potencier","firstRelease":2011,"hosting":["php"],"language":"php","runtime":["php"],"runtimeMin":"php 8.4","contentStore":null,"databases":null,"adminUi":null,"headlessApi":null,"templating":null,"i18n":"yes","runsAs":null,"renderingModes":null,"installMethod":"composer","licenseModel":"open-source","license":"MIT","currentMajor":"8","latestReleaseDate":"2026-11-04T00:00:00.000Z","githubStargazers":6598,"contributors":224,"packagistDownloads":986301422,"npmWeeklyDownloads":null,"packagistMonthlyDownloads":32192789,"dependentRepos":524870,"dependentPackages":1883,"checkedAt":"2026-11-16T00:00:00.000Z","addedAt":"2026-11-16T00:00:00.000Z","sources":[{"field":"name","url":"https://symfony.com/packages/translation","checkedAt":"2026-11-16T00:00:00.000Z"},{"field":"urls","url":"https://symfony.com/packages/translation","checkedAt":"2026-11-16T00:00:00.000Z"},{"field":"urls","url":"https://api.github.com/repos/symfony/translation","checkedAt":"2026-11-16T00:00:00.000Z"},{"field":"urls","url":"https://symfony.com/doc/current/translation.html","checkedAt":"2026-11-16T00:00:00.000Z"},{"field":"maintainer","url":"https://github.com/symfony/translation/blob/v8.1.11/LICENSE","checkedAt":"2026-11-16T00:00:00.000Z"},{"field":"firstRelease","url":"https://repo.packagist.org/p2/symfony/translation.json","checkedAt":"2026-11-16T00:00:00.000Z"},{"field":"language","url":"https://api.github.com/repos/symfony/translation","checkedAt":"2026-11-16T00:00:00.000Z"},{"field":"category","url":"https://symfony.com/packages/translation","checkedAt":"2026-11-16T00:00:00.000Z"},{"field":"i18n","url":"https://symfony.com/packages/translation","checkedAt":"2026-11-16T00:00:00.000Z"},{"field":"runtime","url":"https://symfony.com/packages/translation","checkedAt":"2026-11-16T00:00:00.000Z"},{"field":"runtimeMin","url":"https://github.com/symfony/translation/blob/v8.1.11/composer.json","checkedAt":"2026-11-16T00:00:00.000Z"},{"field":"installMethod","url":"https://symfony.com/packages/translation","checkedAt":"2026-11-16T00:00:00.000Z"},{"field":"license","url":"https://github.com/symfony/translation/blob/v8.1.11/composer.json","checkedAt":"2026-11-16T00:00:00.000Z"},{"field":"licenseModel","url":"https://api.github.com/repos/symfony/translation","checkedAt":"2026-11-16T00:00:00.000Z"},{"field":"currentMajor","url":"https://api.github.com/repos/symfony/translation/releases/tags/v8.1.11","checkedAt":"2026-11-16T00:00:00.000Z"},{"field":"latestReleaseDate","url":"https://api.github.com/repos/symfony/translation/releases/tags/v8.1.11","checkedAt":"2026-11-16T00:00:00.000Z"},{"field":"githubStargazers","url":"https://api.github.com/repos/symfony/translation","checkedAt":"2026-11-16T00:00:00.000Z"},{"field":"contributors","url":"https://api.github.com/repos/symfony/translation/contributors?per_page=1","checkedAt":"2026-11-16T00:00:00.000Z"},{"field":"packagistDownloads","url":"https://packagist.org/packages/symfony/translation.json","checkedAt":"2026-11-16T00:00:00.000Z"},{"field":"packagistMonthlyDownloads","url":"https://packagist.org/packages/symfony/translation.json","checkedAt":"2026-11-16T00:00:00.000Z"},{"field":"dependentPackages","url":"https://packages.ecosyste.ms/api/v1/registries/packagist.org/packages/symfony%2Ftranslation","checkedAt":"2026-11-16T00:00:00.000Z"},{"field":"dependentRepos","url":"https://packages.ecosyste.ms/api/v1/registries/packagist.org/packages/symfony%2Ftranslation","checkedAt":"2026-11-16T00:00:00.000Z"}],"status":"active","ai":"authored"},"prose":"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.\n\n## Worth knowing\n\nTranslating 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."}