I'm trying to get Symfony 5.3's Translation Providers working with Crowdin in my app. I'm using ICU format, trying to translate from pseudo-language to English (from "user.button.add" to "Add User").
The connection up works fine, I can run bin/console translation:push crowdin --force
to get all my strings from the local file to appear in their user interface.
Then I go to Crowdin and translate a string, save the translation, approve the translation and quit the editor.
My problem starts when I try to update the local file via the Symfony CLI.
The command I'm using is bin/console translation:pull crowdin --intl-icu --domains=messages --locales=en
and I have three observations:
- When I remove my local translation file and run the command, a new file appears, but with default Symfony's translation (__user.button.add)
- When I run the command with the local file in place, it does not get updated with the translations present in Crowdin
- When I go to Crowdin and try to export the XLF file manually, it contains the translations as expected.
I have used localise.biz with some success, but the same set of steps does not work with Crowdin, which makes me think I might be missing something on the Crowdin side of things?
Any kick in the right direction would be appreciated. Thanks for reading.