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

Regarding inclusion of Multiple domains #80

Closed
bharatesh opened this issue Nov 9, 2012 · 1 comment
Closed

Regarding inclusion of Multiple domains #80

bharatesh opened this issue Nov 9, 2012 · 1 comment

Comments

@bharatesh
Copy link

First of all thanks a lot for those all developers who contributed to build this great tool. Very powerful and works like a charm.

Now my Question 1 is:

in config.yml I defined following configurations

shoppingcart:
dirs: [%kernel.root_dir%/../src/MyDays/testBundle/Resources/views/ShoppingCart, %kernel.root_dir%/../src/MyDays/extendedBundle/Resources/views/ShoppingCart]
output_dir: %kernel.root_dir%/Resources/translations/shoppingcart
ignored_domains: [messages]
domains: [shoppingcart]
excluded_names: [*TestCase.php, *Test.php]
excluded_dirs: [cache, data, logs]
#extractors: [alias_of_the_extractor]
keep: Yes

I accept that now translation messages to be available in shoppingcart.en.xlif on using below command

php app/console translation:extract de --config=shoppingcart

Command executes normally but fail to generate xlif file. If any body know any solution or hints.
Thanks in advance.

Question2:
if I comment out

extractors: [alias_of_the_extractor]

It will give an error of alias_of_the_etractor is not found. Please give me some hint here as well.

@bharatesh
Copy link
Author

A small correction to above post.

I accept to get shoppingcart.de.xlif on usage of below command

php app/console translation:extract de --config=shoppingcart

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

No branches or pull requests

1 participant