in ZendFramework I used PoEdit.
Symfony provide 3 types libraries
· xliff: XLIFF file;
· php: PHP file;
· yml: YAML file.
I need Tool, wich collect translation KEYS from
- Controllers
trans('Symfony2 is great');
trans('Hello %name%', array('%name%' => $name));
transChoice( 'There is one apple|There are %count% apples', 10, array('%count%' => 10) );
- Twig
{% trans %}Hello %name%{% endtrans %}
{% transchoice count %} {0} There is no apples|{1} There is one apple|]1,Inf] There are %count% apples {% endtranschoice %}
...and give interface for translation this keys. Results should saved in any provided type library. In general , everything what PoEdit can.
I saw this links, but not try:
http://xliff-tools.freedesktop.org/wiki/
http://drupal.org/project/xliff
What Tool do you use?
