zendframework/zf2 — pull request #4979 by shadowdani (2013-08-17 17:00:14+00:00)
Title: Add multiple translation text domains to Zend\Navigation

Add a new option "textdomain" to a navigation page. If present, the navigation view helper passes it to the translator, allowing for multiple text domains in one container/navigation block.

Example config:

'navigation' => array(
'default' => array(
'page1' => array(
'label' => 'Page 1',
'route' => 'page1',
'textdomain' => 'MyFirstModule'
),
'page2' => array(
'label' => 'Page 2',
'route' => 'page2',
'textdomain' => 'MySecondModule'
),
)
)