This is the technical support forum for WPML - the multilingual WordPress plugin.

Everyone can read, but only WPML clients can post here. WPML team is replying on the forum 6 days per week, 22 hours per day.

This thread is resolved. Here is a description of the problem and solution.

Problem:
how to translate rosa theme footer
Solution:
use the following XML:

<wpml-config>
    <admin-texts>
        <key name="theme_mods_rosa-child">
            <key name="rosa_options">
                <key name="copyright_text"/></key>
        </key>
        <key name="rosa_options">
            <key name="copyright_text"/></key>
        <key name="customify_options_minimal_details">
            <key name="copyright_text">
                <key name="value"/></key>
        </key>
    </admin-texts>
</wpml-config>

Relevant Documentation:
https://wpml.org/documentation/support/language-configuration-files/overriding-language-configuration-files/

This topic contains 3 replies, has 2 voices.

Last updated by alexK-25 1 week, 5 days ago.

Assigned support staff: Bruno Kos.

Author Posts
October 9, 2019 at 9:30 am #4721245

alexK-25

I am trying to: translate a theme option string

Link to a page where the issue can be seen: hidden link (footer)

I expected to see: © Dionysos Zonars 2019 • Ροβέρτου Γκάλλι 43, 11742 Αθήνα, Ελλάδα • Τηλ: +30210 9233182 • info@dionysoszonars.gr

Instead, I got: © Dionysos Zonars 2019 • 43, Rovertou Galli St. 11742 Athens, Greece • Tel: +30210 9233182 • info@dionysoszonars.gr

I have already tried https://wpml.org/documentation/getting-started-guide/translating-theme-options/ (screenshot attached)

I have already contacted the theme support but they were unable to provide me with a solution. I would like your assistance to fix this issue. I have translated everything else in the website successfully except from that string

October 9, 2019 at 11:41 am #4722245

Bruno Kos
Supporter

Languages: English (English )

Timezone: Europe/Zagreb (GMT+02:00)

Hi,

This has been escalated to our Compatibility team and may take some debugging time, I'll get back to you as soon as I have any news or questions for you.

Regards,
Bruno Kos

October 11, 2019 at 10:04 am #4737025

Bruno Kos
Supporter

Languages: English (English )

Timezone: Europe/Zagreb (GMT+02:00)

Hi,

Can you use this XML:

<wpml-config>
    <admin-texts>
        <key name="theme_mods_rosa-child">
            <key name="rosa_options">
                <key name="copyright_text"/></key>
        </key>
        <key name="rosa_options">
            <key name="copyright_text"/></key>
        <key name="customify_options_minimal_details">
            <key name="copyright_text">
                <key name="value"/></key>
        </key>
    </admin-texts>
</wpml-config>

Go to the WPML -> Settings page and click the Custom XML Configuration tab.
https://wpml.org/documentation/support/language-configuration-files/overriding-language-configuration-files/

It seems like that this entry is also saved within customify_options_minimal_details.

One click login for the sandbox is this:
hidden link

Have a look on I did it on the sandbox site:
hidden link

String translation:
hidden link

Result:
hidden link

Can you try on your site and tell me if it works?

Regards,
Bruno Kos

October 11, 2019 at 12:26 pm #4738097

alexK-25

That did the trick Bruno. Thank you for your help!