Provides tools to internationalize your application
Alternatives To Translation
Project NameStarsDownloadsRepos Using ThisPackages Using ThisMost Recent CommitTotal ReleasesLatest ReleaseOpen IssuesLicenseLanguage
Translation6,557103,3591,6312 days ago600November 29, 2023mitPHP
Provides tools to internationalize your application
Stopwatch2,73213,74763323 days ago506July 05, 2023mitPHP
Provides a way to profile code
Symfony Docs2,103
15 hours ago124otherHTML
The Symfony documentation
Mailer1,3749826019 days ago184November 14, 2023mitPHP
Helps sending emails
Contao3139112 days ago254November 30, 2023375lgpl-3.0PHP
Contao Open Source CMS
Symfony2 Checklist145
7 years ago7GCC Machine Description
Zetcode Zh9812 years ago3March 19, 2022otherJavaScript
:books: [译] Zetcode 中文系列教程
Doctrine Functions853946 years ago14December 21, 20172mitPHP
📚 Set of DQL Function for MySQL
Composer Diff75
2 months ago17May 11, 20223mitPHP
Compares composer.lock changes and generates Markdown report so you can use it in PR description.
Telegram Notifier59
123 days ago75January 01, 20231mitPHP
Symfony Telegram Notifier Bridge
Alternatives To Translation
Select To Compare

Alternative Project Comparisons

Translation Component

The Translation component provides tools to internationalize your application.

Getting Started

$ composer require symfony/translation
use Symfony\Component\Translation\Translator;
use Symfony\Component\Translation\Loader\ArrayLoader;

$translator = new Translator('fr_FR');
$translator->addLoader('array', new ArrayLoader());
$translator->addResource('array', [
    'Hello World!' => 'Bonjour !',
], 'fr_FR');

echo $translator->trans('Hello World!'); // outputs Bonjour !


Help Symfony by sponsoring its development!


Popular Symfony Projects
Popular Pull Requests Projects
Popular Frameworks Categories
Related Searches

Get A Weekly Email With Trending Projects For These Categories
No Spam. Unsubscribe easily at any time.
Pull Requests
Symfony Component