Jump to:

17452 Posts in 4473 Topics by 1971 members


SilverStripe Forums » Archive » gallery module translation

Our old forums are still available as a read-only archive.

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

Page: 1
Go to End
Author Topic: 1028 Views
  • janulka
    Community Member
    80 Posts

    gallery module translation Link to this post

    I downloaded some translation packs from http://translate.silverstripe.com, everything fine apart from gallery module translation..

    then i uploaded php file to galley/lang/nb_NO.php, but nothing changed

    Fields in GalleryPage are defined following:

    new NumericField( 'MediaPerLine', 'Media Files Per Line' ),

    Then when I change the field to:..

    new NumericField ( "MediaPerPage", _t( 'GalleryPage.MEDIAPERPAGE', 'Media Files Per Page' )),

    .. the translation shows ok.

    Is there a "translations-ready" GalleryPage.php I can download from somewhere? Or do I have to manually change all fields in GalleryPage.php?

    Or is there an easier way how to add translation to gallery module?


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.