lexik / LexikTranslationBundle

This Symfony bundle allow to import translation files content into the database and provide a GUI to edit translations.
MIT License
428 stars 262 forks source link

Always set file, also for new key #269

Closed allartk closed 7 years ago

allartk commented 7 years ago

When using the profile data for adding new keys, after adding a translation, the file_id will be null. This pull is an attempt to set it to a best guess value base on domain transUnit and format param.

acrobat commented 7 years ago

We also hit this bug, without the file_id we can't export our translations. @cedric-g is possible to have a look at this fix and merge if this is correct? Thanks!

/cc @sdieunidou

sdieunidou commented 7 years ago

@allartk we have fixed tests on master, can you rebase your pull request please ?

sdieunidou commented 7 years ago

Fixed with #284