You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I use "Create translation key" from a Twig template and select an existing YAML file (messages.es.yml for example), it creates the whole path to the key.
messages.es.yml before
acme:
index:
main:
title: 'Administración'
then I write in a Twig template
{{ 'acme.index.main.description' | trans }}
The plugin shows 'missing translation' and offers me to 'create translation key', I accept that, select the messages.es.yml file and it creates the whole path:
Haehnchen
changed the title
Automatic translation from Twig to YAML generates full path
[Yaml] Automatic translation from Twig to YAML generates full path
Apr 7, 2016
When I use "Create translation key" from a Twig template and select an existing YAML file (messages.es.yml for example), it creates the whole path to the key.
messages.es.yml before
then I write in a Twig template
The plugin shows 'missing translation' and offers me to 'create translation key', I accept that, select the messages.es.yml file and it creates the whole path:
The expected behaviour (as before PHPStorm 2016.1) would be to create only the missing key:
Sorry about my poor english.
The text was updated successfully, but these errors were encountered: