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

hleinan58955
hleinan58955

I have successfully translated the page using Rainlabs Translate plugin - except the theme fields. I have added "translatable: true" to the fields in the fields.yaml file for the fields I want to translate, it does not show a multi language switch like it says it should from the documentation. Is there another setting I a missing, except installing the plugin, defining the languages, and adding "translatable: true" to the fields i want to add translations to? ( https://packagist.org/packages/rainlab/translate-plugin#user-content-theme-data-translation )

This is my fields.yaml file:

tabs:
    fields:
        website_name:
            tab: Basic Info
            label: Website Name
            type: text
            default: Company name
            translatable: true

Last updated

mjauvin
mjauvin

What version of Rainlab.Translate do you have installed?

hleinan58955
hleinan58955

I am using the latest version: 1.6.7

mjauvin
mjauvin

Latest version is 1.7.2

Theme settings translation was added in 1.6.8

https://github.com/rainlab/translate-plugin/releases

Use edgeUpdates=>true in config/cms.php to get latest versions

mjauvin
mjauvin

If you don't want to use edge updates, I'll arrange for newer versions to be marked stable, they've been released for long enough without any bug reported.

mjauvin
mjauvin

You should now be able to update RainLab.Translate to latest (1.7.2) without using edgeUpdates.

hleinan58955
hleinan58955

WOW! Really nice! It works like a charm.

One question: When using a repeater in the theme fields.yaml file (type: repeater), it looks like the different text fields within are ignoring the "translatable: true" flag. Is this by design?

Last updated

hleinan58955
hleinan58955

Update: I managed to translate each repeater, and not each repeater item.

mjauvin
mjauvin

Yes, only repeater entries are translatable, not their internal fields.

1-9 of 9

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