Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

We're retiring the forums!

The SilverStripe forums have passed their heyday. They'll stick around, but will be read only. We'd encourage you to get involved in the community via the following channels instead:

General Questions /

General questions about getting started with SilverStripe that don't fit in any of the categories above.

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

SilverStripe 3.1 – ModelAdmin – Translatable – Can't create translation


Go to End


8 Posts   1776 Views

Avatar
joelg

Community Member, 134 Posts

26 July 2013 at 2:19am

Hi there,

I've created a model admin for a dataobject. Pretty basic.

I've then installed the Translatable module and added this to the dataobject.

In the model admin panel I'm now getting an extra tab called "Translations" and I can see a button saying "Create" underneath "Create new translation" – just like on pages in the SiteTree.

However when I push this buttons absolutely nothing happends? Any ideas?

Thanks

Joel

Avatar
joelg

Community Member, 134 Posts

31 July 2013 at 1:45am

Bump!

Avatar
Craftnet

Community Member, 58 Posts

9 August 2013 at 1:31am

Edited: 09/08/2013 1:31am

Anyone solution the problem?

Avatar
joelg

Community Member, 134 Posts

9 August 2013 at 1:33am

No... I'm still waiting for a solution.

For now I've manually created stuff in the database... Really sucks:-(

Avatar
Craftnet

Community Member, 58 Posts

9 August 2013 at 1:39am

I found this module https://github.com/bummzack/translatable-dataobject
For a while I was testing it

Avatar
joelg

Community Member, 134 Posts

9 August 2013 at 1:40am

Did it work?

Avatar
Craftnet

Community Member, 58 Posts

9 August 2013 at 1:44am

For this moment I was install and in DB create all fileds with __locale for example
I have a Title - for other lang was create Title__en_GB.

This module differs from the standard that does not create only the columns of locale but for each duplicate entry for another language.
Do not show me in a CMS option to enter into these new lines of translation - I am looking for :)
How I can make it I'll let you know.

Sorry for my bad English

Avatar
Craftnet

Community Member, 58 Posts

9 August 2013 at 3:52am

It's work.

Once installed according to the instructions you need to go to the translated language and to dataobject -> there you have the box that you can translate.

It seems to me that you have connected dataobject of Page by gridfield -> at least to me how it works -> otherwise I have not checked this form at this time is enough for me