All Projects → symfony → Translation

symfony / Translation

Licence: mit
The Translation component provides tools to internationalize your application.

Programming Languages

PHP
23972 projects - #3 most used programming language

Projects that are alternatives of or similar to Translation

Webfactoryicutranslationbundle
Enables ICU message formatting for translations in Symfony applications.
Stars: ✭ 27 (-99.56%)
Mutual labels:  translation, i18n, symfony, l10n
Intl
A PHP replacement layer for the C intl extension that also provides access to the localization data of the ICU library.
Stars: ✭ 2,323 (-62.51%)
Mutual labels:  symfony, symfony-component, intl, component
Globalize
A JavaScript library for internationalization and localization that leverages the official Unicode CLDR JSON data
Stars: ✭ 4,612 (-25.56%)
Mutual labels:  i18n, l10n, intl
Cache
The Cache component provides an extended PSR-6 implementation for adding cache to your applications.
Stars: ✭ 3,606 (-41.8%)
Mutual labels:  symfony, symfony-component, component
Messenger
The Messenger component helps application send and receive messages to/from other applications or via message queues.
Stars: ✭ 603 (-90.27%)
Mutual labels:  symfony, symfony-component, component
Ember Intl
Localization library for any Ember Application or Addon
Stars: ✭ 412 (-93.35%)
Mutual labels:  translation, i18n, intl
Polyfill Php70
This component provides features unavailable in releases prior to PHP 7.0.
Stars: ✭ 3,270 (-47.22%)
Mutual labels:  symfony, symfony-component, component
Dependency Injection
The DependencyInjection component allows you to standardize and centralize the way objects are constructed in your application.
Stars: ✭ 3,635 (-41.33%)
Mutual labels:  symfony, symfony-component, component
Lock
Creates and manages locks, a mechanism to provide exclusive access to a shared resource.
Stars: ✭ 299 (-95.17%)
Mutual labels:  symfony, symfony-component, component
Polyfill Apcu
This component provides apcu_* functions and the APCUIterator class to users of the legacy APC extension.
Stars: ✭ 629 (-89.85%)
Mutual labels:  symfony, symfony-component, component
Fluent.js
JavaScript implementation of Project Fluent
Stars: ✭ 622 (-89.96%)
Mutual labels:  translation, i18n, l10n
Polyfill Intl Grapheme
This component provides a partial, native PHP implementation of the Grapheme functions from the Intl extension.
Stars: ✭ 690 (-88.86%)
Mutual labels:  symfony, symfony-component, component
Workflow
The Workflow component provides tools for managing a workflow or finite state machine.
Stars: ✭ 418 (-93.25%)
Mutual labels:  symfony, symfony-component, component
Security Acl
Symfony Security ACL Component
Stars: ✭ 321 (-94.82%)
Mutual labels:  symfony, symfony-component, component
Dom Crawler
The DomCrawler component eases DOM navigation for HTML and XML documents.
Stars: ✭ 3,499 (-43.53%)
Mutual labels:  symfony, symfony-component, component
Yaml
The Yaml component loads and dumps YAML files.
Stars: ✭ 3,359 (-45.79%)
Mutual labels:  symfony, symfony-component, component
Config
The Config component helps you find, load, combine, autofill and validate configuration values of any kind, whatever their source may be (YAML, XML, INI files, or for instance a database).
Stars: ✭ 3,671 (-40.75%)
Mutual labels:  symfony, symfony-component, component
Filesystem
The Filesystem component provides basic utilities for the filesystem.
Stars: ✭ 4,111 (-33.65%)
Mutual labels:  symfony, symfony-component, component
Js Lingui
🌍📖 A readable, automated, and optimized (5 kb) internationalization for JavaScript
Stars: ✭ 3,249 (-47.56%)
Mutual labels:  translation, i18n, intl
Gotext
Go (Golang) GNU gettext utilities package
Stars: ✭ 292 (-95.29%)
Mutual labels:  translation, i18n, l10n

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

The Translation component for Symfony 5.4/6.0 is backed by:

  • Crowdin, a cloud-based localization management software helping teams to go global and stay agile.
  • Lokalise, a continuous localization and translation management platform that integrates into your development workflow so you can ship localized products, faster.

Help Symfony by sponsoring its development!

Resources

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].