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've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

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   2449 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