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

Copying GridField data to translation


Go to End


2 Posts   685 Views

Avatar
Faloude

Community Member, 55 Posts

1 March 2016 at 7:46am

Hi All. I have a page in my website that has a dataobject (with about 65 database records added through a GridField in the CMS). After entering all the data, I installed the translatable module and added 3 languages. The entered data is only stored in the default language, the gridfield is empty in other languages.

How do I copy all the data to the different page languages? It's very tedious to re-enter them.

Avatar
Faloude

Community Member, 55 Posts

17 April 2016 at 8:39pm

Hey Eligasht,

I solved this issue by switching over from SilverStripe Translatable to SilverStripe Fluent module: https://github.com/tractorcow/silverstripe-fluent

This translation mod proved to be much more flexible and user friendly than Translatable.
-> It provides translatable DataObjects feature out-of-the-box
-> When entering new records in a GridField, the record is created in all languages. You can then edit (translate) the content for the record per language