Jump to:

22983 Posts in 11709 Topics by 2827 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, Sean, biapar, Willr, Ingo, swaiba, simon_w

Page: 1
Go to End
Author Topic: 332 Views
  • teel
    Avatar
    Community Member
    5 Posts

    Help needed with PHPUnit & l18n TextCollector [SOLVED] Link to this post

    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.

  • teel
    Avatar
    Community Member
    5 Posts
  • teel
    Avatar
    Community Member
    5 Posts

    Re: Help needed with PHPUnit & l18n TextCollector [SOLVED] Link to this post

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

  • innoweb
    Avatar
    Community Member
    5 Posts

    Re: Help needed with PHPUnit & l18n TextCollector [SOLVED] Link to this post

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

    332 Views
Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.