Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

We've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

General Questions /

General questions about getting started with SilverStripe that don't fit in any of the categories above.

Moderators: martimiz, Sean, Ed, biapar, Willr, Ingo, swaiba

Help needed with PHPUnit & l18n TextCollector [SOLVED]


Go to End


4 Posts   1746 Views

Avatar
teel

Community Member, 5 Posts

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.

Avatar
teel

Community Member, 5 Posts

25 January 2013 at 4:12am

Anyone?

Avatar
teel

Community Member, 5 Posts

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".

Avatar
innoweb

Community Member, 9 Posts

28 June 2013 at 10:49pm

I have the same problem with 3.0.5, connection aborted.
anyone?