This forum has moved to a new location and is in read-only mode. Please visit talk.octobercms.com to access the new location.

ivan_g
ivan_g

Hi there, I successfully managed to use the Builder plugin together the Translate plugin on single fields like input text or text area, that's really usefull.

But I would need to translate only specific fields into a repeater. Is this possible? Actually I just set the translate on the entire 'repeater' but it's not what I need. I mean, is there a working way to do something like this in a model? (to activate the translate switch on the right corner, only on o field into a repeater with for example name 'field1_to_translate')

public $implement = ['RainLab.Translate.Behaviors.TranslatableModel'];
public $translatable = ['title','repeater.field1_to_translate'];

thanks!

Last updated

ivan_g
ivan_g

and of course would be important to find a way to use also in nested repeaters, so for example to activate the translation for something like:

main_repeater.nested_repeater.field_to_translate

is something not yet possible with Translate plugin or I'm doing something wrong with the $translatable configurations?

thanks

Last updated

mjauvin
mjauvin

It's not currently possible, repeater fields are translated by adding different items for each language.

math-u
math-u

Is there any chance it will be developed as translable repeater and nested fields would be game changer for some multilingual sites?

Last updated

1-4 of 4

You cannot edit posts or make replies: the forum has moved to talk.octobercms.com.