Issue 167: silverstripe-gallery doesnt work with languages other then EN

Reported by Qunabu Langfuhr, Sep 20, 2016

Steps to reproduce the problem:
1. install silverstripe with language other then EN (i used PL)
2. install silverstripe-gallery
3. doest work (no tabs are displayed)

Expected result:
Functionality like with EN language

Actual result:
No functionality at all 

How to fix it:

In you're code all _t functions are missing seconds parameter. There 

and should be 

$group->setTitle(_t('GalleryPage.SINGULARNAME', 'Gallery Page'));

otherwise yml with on language keys must be provided. 

Without this module is not working in different languages.

Comment 1 by Nicola Fontana, Sep 21, 2016

Or just provide a lang/pl.yml translation :)

In any case I will be glad to merge a pull request that addresses 
this issue: are you able to create it on github?
Status: Accepted

Created: 4 years 1 month ago by Qunabu Langfuhr

Updated: 4 years 1 month ago

Status: Accepted

Followed by: 1 person