LexikTranslationBundle
LexikTranslationBundle copied to clipboard
Wrong path saved to database
When I import the translations from yml files to the database with a custom import path, the path isn't saved correctly. It strips all slashes from the path and adds ../../../
in front.
Example:
The command lexik:translations:import --import-path=resources/translations
results in ../../../resourcestranslations
in the lexik_translation_file table.
When running lexik:translations:export
an error is shown "Warning: file_put_contents(/vagrant/app/../../../resourcestranslations/messages.en.yml): failed to open stream: No such file or directory"
I'm using PHP 7.1 on Linux with version 4.0.1 of the bundle. Tried also with master.