Open cmerli opened 7 years ago
Hi !
I'm not sure to understand what you try to do.
Do you want to extract your messages from YML files into XLIFF files ?
If so, it's impossible. You should set your directories to /home/cristian/www/surex/backend/app
or /home/cristian/www/surex/backend/src
so that it can find translations keys.
I created a converter for this purpose. See https://github.com/php-translation/converter
Sorry to ask, but I really don't understand how to generate the XLIFF translation files from YAML. All my messages are in a YAML file now, in the translations directory
/www/surex/backend/app/Resources/translations
:validators.en.yml
I ran the command:
php bin/console translation:extract en --config=app --output-format=xliff
And this is what I got:
Is that supposed to generate XLIFF files? I don't get any. Is it ok to leave Custom Extractors blank?
Thanks
Bundle version: 1.3.1 Symfony version: 2.8.15