Jump to:

10993 Posts in 2727 Topics by 1818 members

All other Modules

SilverStripe Forums » All other Modules » Problem with customtranslations

Discuss all other Modules here.

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

Page: 1
Go to End
Author Topic: 1197 Views
  • Eventyr
    Avatar
    Community Member
    1 Post

    Problem with customtranslations Link to this post

    Hi! Just installed module in root folder, but when I try to dev/build, see that:
    Fatal error: Call to undefined method i18n::register_plugin() in /home/rosyjski/public_html/customtranslations/_config.php on line 3.

    What can I change it to work?

  • mark_s
    Avatar
    Community Member
    78 Posts

    Re: Problem with customtranslations Link to this post

    Hi.

    You must be the first person I know to use it; very bleeding edge ;-)

    This requires the very latest sapphire 2.4 (actually, requires revision 104847 or greater), which you can get via svn. I don't think the standard download (5 May 2010) has this. I thought the doc had the revision constraint, but it didn't, although the module description on ss.org does. I'll update the docs accordingly.

    If you give it a go with the latest sapphire, let us know how you get on. I'd like to know what you think about it.

    Mark

  • pali
    Avatar
    Community Member
    33 Posts

    Re: Problem with customtranslations Link to this post

    hello Mark,

    it looks like your probably great module doesnt work with latest sapphire rev (106650)
    File i18n.php doesnt contain required method...

    pali

  • mark_s
    Avatar
    Community Member
    78 Posts

    Re: Problem with customtranslations Link to this post

    Hi. Are you using sapphire trunk or branches/2.4 ?

  • pali
    Avatar
    Community Member
    33 Posts

    Re: Problem with customtranslations Link to this post

    hello, svn URL is http://svn.silverstripe.com/open/phpinstaller/trunk so i hope its trunk

    pali

  • mark_s
    Avatar
    Community Member
    78 Posts

    Re: Problem with customtranslations Link to this post

    Ah, ok. That explains the lack of the method. branches/2.4 is the current stable release. The changes to i18n to support customtranslations has been applied to that, for inclusion in 2.4.1. Those changes have not been merged into trunk yet. I will have a look into that next week.

    Mark

  • mark_s
    Avatar
    Community Member
    78 Posts

    Re: Problem with customtranslations Link to this post

    Hi. I had a look at this. While I can put this change over to sapphire trunk, I wouldn't recommend using trunk on a production web site at present, as merges from 2.4 to trunk are still being worked through.

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