Files
kulakpos_web/vendor/symfony/translation
eko54r b5e3a778ce
All checks were successful
Build, Push and Deploy / build-and-push (push) Successful in 3m3s
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 16s
Build, Push and Deploy / deploy-staging (push) Successful in 32s
Build, Push and Deploy / deploy-production (push) Has been skipped
Build, Push and Deploy / cleanup (push) Successful in 1s
allow vendord
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
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