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
In an existing project running on Symfony 2.8, I have all my translations done in YAML files (as the Symfony documentation recommend it). The YAML files are in the Resources/translations directory of each bundle of the project.
I installed the php-translation bundle and did an extract of the translations of my application with the command : app/console translation:extract app
My problem is that all the existing translations aren't imported in the XLF files, so it seems that I should insert all the 1500 translations of my app again.
Is there a possibility for importing the existing translations ? If not, I would be interested in helping to implement this functionnality.
David
The text was updated successfully, but these errors were encountered:
Thank you for coming back with an answer. I assume you are using the symfony bundle and not just the extractor library.
The bundle symfony core should pick up all existing translation in your yaml files and store them in memory. When the bundle's extract command has been running it will try to merge all translations.
Hello,
In an existing project running on Symfony 2.8, I have all my translations done in YAML files (as the Symfony documentation recommend it). The YAML files are in the Resources/translations directory of each bundle of the project.
I installed the php-translation bundle and did an extract of the translations of my application with the command :
app/console translation:extract app
My problem is that all the existing translations aren't imported in the XLF files, so it seems that I should insert all the 1500 translations of my app again.
Is there a possibility for importing the existing translations ? If not, I would be interested in helping to implement this functionnality.
David
The text was updated successfully, but these errors were encountered: