Skip to content

Conversation

Remiii
Copy link
Contributor

@Remiii Remiii commented May 7, 2015

Add two new features:

1 / You can select in the CLI one or more bundles... and all the project bundles and app if you don't give the argument.

2 / You can select in the CLI one or more translation domains... and all the translation domains if you don't give the domains option.

CLI

app/console gtranslate:translate [--override] [-d|--domains[="..."]] localeFrom localeTo [bundles]

E.g.

$ app/console gtranslate:translate en fr AcmeFooBundle
$ app/console gtranslate:translate en it --domains=messages,foo,bar
$ app/console gtranslate:translate en es AcmeFooBundle,AcmeBarBundle --domains=messages,foo,bar

This two new features are add to the README doc.

Happy reviewing 😄

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant