3068 Posts in 868 Topics by 650 members
|
Page:
1
|
Go to End | |
| Author | Topic: | 196 Views |
-
translate content from DataObjects (SS3.0.2)

5 October 2012 at 9:01pm Last edited: 6 October 2012 3:56am
(SS3.0.2)
hi,
i can't use the _t() function in DataObjects.
i tried this:class ImageGalleryObject extends DataObject {
static public $singular_name = _t('ImageGalleryObject.BUTTON', 'Picture');
static public $plural_name = _t('ImageGalleryObject.BUTTONS', 'Pictures');...
}
But it doesn't work. i get a 'Internal Server Error'.the translations are right set.
Where is the Problem?
| 196 Views | ||
|
Page:
1
|
Go to Top |

