21310 Posts in 5739 Topics by 2604 members
General Questions
SilverStripe Forums » General Questions » Help needed with PHPUnit & l18n TextCollector [SOLVED]
General questions about getting started with SilverStripe that don't fit in any of the categories above.
Moderators: martimiz, Howard, Sean, Ryan M., biapar, Willr, Ingo, swaiba, simon_w
|
Page:
1
|
Go to End | |
| Author | Topic: | 146 Views |
-
Help needed with PHPUnit & l18n TextCollector [SOLVED]

16 January 2013 at 2:09am
Hi,
I'm trying to use the l18n textcollector and localize my templates, but when I open dev/tasks/i18nTextCollectorTask, I get no response at all. I read that text collector requires PHPUnit, so I tried installing that, but opening dev/tests gives me an error, "Please install PHPUnit using pear". I tried installing PHPUnit using composer, but since I'm new to both of them, I'm having some trouble with it (it doesn't really help that installation instruction link in http://doc.silverstripe.org/framework/en/topics/testing is broken).
I think I managed to install dev dependencies using composer with composer update --dev (at least there's bunch of phpunit packages in vendor directory), but I'm pretty much stuck. Any ideas how to proceed?
I have composer installed globally using the Windows installer.
-
Re: Help needed with PHPUnit & l18n TextCollector [SOLVED]

13 February 2013 at 1:44am
So yeah, I guess there's no way to install PHPunit using composer in Windows so that it works. Installed with PEAR globally and works like a charm.
Only text collector still doesn't work. dev/tasks/i18nTextCollectorTask just throws a "connection aborted".
| 146 Views | ||
|
Page:
1
|
Go to Top |

