Skip to content
This repository has been archived by the owner on Nov 25, 2020. It is now read-only.

How to change domain translation? #66

Open
Ronan-Lenor opened this issue Aug 28, 2015 · 6 comments
Open

How to change domain translation? #66

Ronan-Lenor opened this issue Aug 28, 2015 · 6 comments

Comments

@Ronan-Lenor
Copy link

i can't find it in the doc

@bocharsky-bw
Copy link
Contributor

The translation_domain key in configuration

@Ronan-Lenor
Copy link
Author

oh! so there's not dynamic modification like:

$breadcrumbs->addItem( "hello", '/', array(), 'myNewDomain' );

:(

@bocharsky-bw
Copy link
Contributor

Also you can pass translation domain as an option to the wo_breadcrumbs_render() Twig function.

@Ronan-Lenor
Copy link
Author

thanks, you saved my day.

maybe i should pull a request to add a domain option in the other method.
it would be more convenient to use it in a controller i guess

@bocharsky-bw
Copy link
Contributor

Yes, you should, PRs are welcome. I think Rich Sage could take a time to review it.

@Ronan-Lenor
Copy link
Author

yep you are right, let's ask. it's free haha ;)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants