Files
streamline-emr/docker/streamline-src/vendor/symfony/translation
alec.turner a424394109 Build modified streamline images
The official image from streamline does not currently work for the arm64
platform. As a temporary measure, the source code and docker build scripts
have been lifted from the official images and are used to build locally.

Some additional modifications are made to reduce overall image size, these
are documented in docker/README.md
2024-03-10 16:17:50 -07:00
..
2024-03-10 16:17:50 -07:00
2024-03-10 16:17:50 -07:00
2024-03-10 16:17:50 -07:00
2024-03-10 16:17:50 -07:00
2024-03-10 16:17:50 -07:00
2024-03-10 16:17:50 -07:00
2024-03-10 16:17:50 -07:00
2024-03-10 16:17:50 -07:00
2024-03-10 16:17:50 -07:00
2024-03-10 16:17:50 -07:00
2024-03-10 16:17:50 -07:00
2024-03-10 16:17:50 -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