PhpStorm
 
Get PhpStorm

Translations

Last modified: 17 June 2024

Depending on the types of an application being developed, you may have to work with the Symfony's Translation component to abstract strings and locale-specific pieces into resources/files that provide the correct data for a specific locale.

The Symfony Support plugin assists with internationalization (commonly abbreviated as i18n) by providing completion for known translations and domains. It warns whenever a non-existing translation is used. Additionally, it lets extract translations from within controllers and templates.

Note that for these features to work, the Translator service for the Symfony application needs to be enabled.