Files
kulakpos_web/vendor/symfony/translation
eko54r dcaf267458
All checks were successful
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 14s
Build, Push and Deploy / build-and-push (push) Successful in 3m14s
Build, Push and Deploy / deploy-staging (push) Successful in 25s
Build, Push and Deploy / deploy-production (push) Has been skipped
update lock clucknut
2026-04-18 20:32:18 +07:00
..
2026-03-30 14:54:57 +07:00
2026-03-30 14:54:57 +07:00
2026-03-30 14:54:57 +07:00
2026-03-30 14:54:57 +07:00
2026-03-30 14:54:57 +07:00
2026-03-30 14:54:57 +07:00
2026-03-30 14:54:57 +07:00
2026-03-30 14:54:57 +07:00
2026-04-18 20:32:18 +07:00
2026-03-30 14:54:57 +07:00
2026-03-30 14:54:57 +07:00
2026-03-30 14:54:57 +07:00
2026-03-30 14:54:57 +07:00
2026-03-30 14:54:57 +07:00
2026-03-30 14:54:57 +07:00
2026-03-30 14:54:57 +07:00
2026-03-30 14:54:57 +07:00
2026-03-30 14:54:57 +07:00
2026-03-30 14:54:57 +07:00
2026-03-30 14:54:57 +07:00
2026-03-30 14:54:57 +07:00
2026-03-30 14:54:57 +07:00
2026-03-30 14:54:57 +07:00
2026-03-30 14:54:57 +07:00
2026-03-30 14:54:57 +07:00
2026-03-30 14:54:57 +07:00
2026-03-30 14:54:57 +07:00
2026-03-30 14:54:57 +07:00
2026-03-30 14:54:57 +07:00
2026-03-30 14:54:57 +07:00
2026-03-30 14:54:57 +07:00

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 ! »

Sponsor

Help Symfony by sponsoring its development!

Resources