2017 © Pedro PelĂĄez
 

library translation

Symfony Translation Component

image

symfony/translation

Symfony Translation Component

  • Thursday, July 26, 2018
  • by fabpot
  • Repository
  • 9 Watchers
  • 3425 Stars
  • 69,838,238 Installations
  • PHP
  • 765 Dependents
  • 39 Suggesters
  • 37 Forks
  • 0 Open issues
  • 100 Versions
  • 9 % Grown

The README.md

Translation Component

The Translation component provides tools to internationalize your application., (*1)

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

The Translation component for Symfony 7.1 is backed by:, (*2)

  • Crowdin, a cloud-based localization management software helping teams to go global and stay agile.

Help Symfony by [sponsoring][3] its development!, (*3)

Resources

The Versions

26/07 2018
17/05 2018

2.7.x-dev

2.7.9999999.9999999-dev https://symfony.com

Symfony Translation Component

  Sources   Download

MIT

The Requires

  • php >=5.3.9

 

The Development Requires

17/05 2018

v2.7.47

2.7.47.0 https://symfony.com

Symfony Translation Component

  Sources   Download

MIT

The Requires

  • php >=5.3.9

 

The Development Requires

17/05 2018

v2.7.48

2.7.48.0 https://symfony.com

Symfony Translation Component

  Sources   Download

MIT

The Requires

  • php >=5.3.9

 

The Development Requires

17/05 2018

v2.7.49

2.7.49.0 https://symfony.com

Symfony Translation Component

  Sources   Download

MIT

The Requires

  • php >=5.3.9

 

The Development Requires

18/01 2018

3.3.x-dev

3.3.9999999.9999999-dev https://symfony.com

Symfony Translation Component

  Sources   Download

MIT

The Requires

 

The Development Requires

18/01 2018
18/01 2018
18/01 2018
17/01 2018

v2.7.41

2.7.41.0 https://symfony.com

Symfony Translation Component

  Sources   Download

MIT

The Requires

  • php >=5.3.9

 

The Development Requires

17/01 2018

v2.7.42

2.7.42.0 https://symfony.com

Symfony Translation Component

  Sources   Download

MIT

The Requires

  • php >=5.3.9

 

The Development Requires

17/01 2018

v2.7.43

2.7.43.0 https://symfony.com

Symfony Translation Component

  Sources   Download

MIT

The Requires

  • php >=5.3.9

 

The Development Requires

17/01 2018

v2.7.44

2.7.44.0 https://symfony.com

Symfony Translation Component

  Sources   Download

MIT

The Requires

  • php >=5.3.9

 

The Development Requires

17/01 2018

v2.7.45

2.7.45.0 https://symfony.com

Symfony Translation Component

  Sources   Download

MIT

The Requires

  • php >=5.3.9

 

The Development Requires

17/01 2018

v2.7.46

2.7.46.0 https://symfony.com

Symfony Translation Component

  Sources   Download

MIT

The Requires

  • php >=5.3.9

 

The Development Requires

03/01 2018
03/01 2018

v2.7.40

2.7.40.0 https://symfony.com

Symfony Translation Component

  Sources   Download

MIT

The Requires

  • php >=5.3.9

 

The Development Requires

07/11 2017
07/11 2017
07/11 2017
07/11 2017
07/11 2017

v2.7.36

2.7.36.0 https://symfony.com

Symfony Translation Component

  Sources   Download

MIT

The Requires

  • php >=5.3.9

 

The Development Requires

07/11 2017

v2.7.37

2.7.37.0 https://symfony.com

Symfony Translation Component

  Sources   Download

MIT

The Requires

  • php >=5.3.9

 

The Development Requires

07/11 2017

v2.7.38

2.7.38.0 https://symfony.com

Symfony Translation Component

  Sources   Download

MIT

The Requires

  • php >=5.3.9

 

The Development Requires

07/11 2017

v2.7.39

2.7.39.0 https://symfony.com

Symfony Translation Component

  Sources   Download

MIT

The Requires

  • php >=5.3.9

 

The Development Requires

02/10 2017
30/09 2017

v2.7.35

2.7.35.0 https://symfony.com

Symfony Translation Component

  Sources   Download

MIT

The Requires

  • php >=5.3.9

 

The Development Requires