Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feature / add translations generator #137

Closed
wtorsi opened this issue Mar 17, 2018 · 2 comments
Closed

feature / add translations generator #137

wtorsi opened this issue Mar 17, 2018 · 2 comments
Labels
Feature New Feature

Comments

@wtorsi
Copy link

wtorsi commented Mar 17, 2018

Hi,
It will be great to add support a generation of the translation file.
At this moment it can be done by creating custom Generator, because at this moment it is not possible to override existing file.

@sadikoff
Copy link
Contributor

Hi @wtorsi,
What do you mean under generation of translation file? There is bin/console translation:update command which parses app and writes translation files.

@javiereguiluz
Copy link
Member

I think @sadikoff is right. Symfony already provides a powerful command to do this: https://symfony.com/doc/current/translation.html#extracting-translation-contents-and-updating-catalogs-automatically If you were proposing to generate an empty XLIFF file ... I think it's better to not do that in this bundle because that kind of file is a bit generic and in this bundle we prefer to only generate Symfony code. Thanks!

@javiereguiluz javiereguiluz added the Feature New Feature label Apr 3, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature New Feature
Projects
None yet
Development

No branches or pull requests

3 participants