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:
Translating a text from the "Simple Side Tab" plugin.

Solution:
Add this custom XML to WPML -> Settings -> Custom XML config Tab:

<wpml-config>
    <admin-texts>
        <key name="rum_sst_plugin_options">
            <key name="text_for_tab"/></key>
        <key name="rum_sst_plugin_options">
            <key name="tab_url"/></key>
    </admin-texts>
</wpml-config>

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

This topic contains 7 replies, has 2 voices.

Last updated by Marcel 4 months, 3 weeks ago.

Assigned support staff: Marcel.

Author Posts
May 14, 2019 at 11:27 am #3806331

anniT-2

Tell us what you are trying to do? Please see the topic https://wpml.org/forums/topic/simpe-side-tab-translation/

I am sorry, I was very busy and traveling for another project. Can we please open the case still. I haven´t find a solution for it. I will give you the access for our page. Thank you!

Is there any documentation that you are following?

Is there a similar example that we can see?

What is the link to your site?

May 14, 2019 at 4:20 pm #3809113

Marcel
Supporter

Languages: English (English ) German (Deutsch )

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

Hi Anni,

Thank you for contacting WPML Support.

of course 🙂

I would eventually also need to request temporary access (WP-Admin and FTP) to your site
– preferably to a test site where the problem has been replicated if possible –
in order to be of better help and check if some configurations might need to be changed

Your next answer will be private which means only you and I have access to it.

❌ Please backup your database and website ❌

✙ I would additionally need your permission to de-activate and re-activate Plugins and the Theme, and to change configurations on the site. This is also a reason the backup is really important.

✙ Please add the Links to the […] Edit Screen, the Page/Post where you insert the […] and the corresponding Front End Page/Screen

Best Marcel

May 20, 2019 at 7:55 am #3844493

Marcel
Supporter

Languages: English (English ) German (Deutsch )

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

Hi Anni,

as your searched text was coming from an input field in the admin settings I used the following way to make it visible:

#1 WPML -> String Translation -> "Translate texts in admin screens »" which you will find in the bottom of the String Translation windows.

#2 I created an XML config for the text under WPML -> Settings -> Custom XML Configuration with the following XML code:

<wpml-config>
    <admin-texts>
        <key name="rum_sst_plugin_options">
            <key name="text_for_tab"/></key>
    </admin-texts>
</wpml-config>

Now you can translate it over the String Translation windows if you search for the text in the attached screenshot.

Best Marcel

May 20, 2019 at 11:55 am #3846549

anniT-2

Hi! Yes, the text is now changed 🙂

But how I "translate" the link. Of course the english version should go to the English page. Any idea for that?

May 20, 2019 at 12:30 pm #3846717

Marcel
Supporter

Languages: English (English ) German (Deutsch )

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

Hi again,

I added it in the same way as described before. The final XML looks like this:

<wpml-config>
    <admin-texts>
        <key name="rum_sst_plugin_options">
            <key name="text_for_tab"/></key>
        <key name="rum_sst_plugin_options">
            <key name="tab_url"/></key>
    </admin-texts>
</wpml-config>

So you will find it now in your String Translation table :).

Best Marcel

May 21, 2019 at 3:04 pm #3856459

anniT-2

My issue is resolved now. Thank you!

May 29, 2019 at 10:04 am #3914095

anniT-2

Hi! I have the same problem with the url again. But with Sticky Side Button. The button itself was in the sting but the url I can not find. I don´t understand the XML bit you mention above 🙂 How I should translate the url on hidden link?

May 29, 2019 at 10:22 am #3914159

Marcel
Supporter

Languages: English (English ) German (Deutsch )

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

Hi, please create a new ticke for this issue.
Best Marcel