Please make sure to update to WPML 4.3.4 before reporting any issue

Hi, Amit here, I am the WPML Support Manager, our current ticket queue is high, update your WPML plugins and make sure you meet the minimal requirements for running WPML before reporting an issue please - many tickets are resolved doing that

Please look at our updated list of Known Issues and you can also use our support search to find helpful information and of course review our documentation before opening a ticket.

If you do need to open a ticket please make sure to provide us with all the needed information as described in this page

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:
We want to translate the topbar pages option of adforest theme.

Solution:
- Add the top bar options (adforest_theme > top_bar_pages) with this code at WPML > Settings > Custom XML Configuration:

<wpml-config>
    <admin-texts>
        <key name="adforest_theme">
            <key name="top_bar_pages">
                <key name="0" />
                <key name="1" />
                <key name="2" />
                <key name="3" />
          </key>
        </key>
    </admin-texts>
</wpml-config>

- So far only the "0" key is active as only there is one page added. You can append more keys if you add more than 4 pages.
- Then, I went to WPML > String Translation.
- I translated the ID of the page (2503) for 2506 and 2507 which are its translated pages ID's.

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

This topic contains 16 replies, has 2 voices.

Last updated by riseC 5 months, 3 weeks ago.

Assigned support staff: Andrés.

Author Posts
May 26, 2019 at 9:15 am #3891415

riseC

Hello,
We use Arabic English website and we have some strings we cannot translate, this strings footer pages links and topbar pages links

May 27, 2019 at 6:11 am #3893647

Andrés
Supporter

Languages: English (English ) Spanish (Español ) French (Français )

Timezone: Europe/Paris (GMT+01:00)

Hello there,

Welcome to WPML support forum.

How to translate those strings depends on how they were created. As we can only work in one issue at the time, let's investigate what happens on your top bar.

Could you please tell me in a detailed way how this strings have been added?

If it is a standard menu created with WordPress, this link may help you:
https://wpml.org/documentation/getting-started-guide/translating-menus/

Best regards,
Andrés

May 27, 2019 at 7:19 am #3893949

riseC

Hello,
These strings have been added By theme options
our wordpress login
[removed]

May 27, 2019 at 7:43 am #3894153

Andrés
Supporter

Languages: English (English ) Spanish (Español ) French (Français )

Timezone: Europe/Paris (GMT+01:00)

You have share your credentials in our public forum, I highly recommend you to modify them to avoid any security issue.

Your theme Adforest is not in our compatibility list, however it doesn't necessarily imply that it is not compatible, just that our team has not tested yet.
https://wpml.org/documentation/theme-compatibility/

Thus, if those items were added from your theme options:
1. Verify that your pages has been already translated.
2. Provided that you have the "WPML String Translation" AddOn installed please follow these steps:
- Go under "WPML -> Theme and plugins localization".
- Make sure that "Translate themes and plugins using WPML's String Translation only (don't load .mo files)" is active.
- Scroll down to "Strings in the theme" and click on "Scan the theme for strings".
- Once you followed the above steps go under "WPML -> String Translation". All strings available for translation should display in the table you see there.

Do you see them? If yes, all you need to do is click on "translations" next to each string you want to translate and enter + save your translations.

Documentation:
https://wpml.org/documentation/getting-started-guide/string-translation/

May 27, 2019 at 10:01 am #3895623

riseC

Hello,
We did all that you told us to do, but we can not find strings also.
Can you login to our site?

May 27, 2019 at 10:03 am #3895631

Andrés
Supporter

Languages: English (English ) Spanish (Español ) French (Français )

Timezone: Europe/Paris (GMT+01:00)

Let's try this before as it's possible that those strings have been recognised but not associated yet to the String Translation panel. For this, could you go to:
- WPML > String Translation
- Click on the blue link at the bottom of the page: "Translate texts in admin screens »"
- Look for un option similar to "theme_mods_voice", "+Adforest" or something like that. Here you should find all strings associated to your theme options.
- Check the checkbox for your strings of interest.
- Click on the button "Apply"
Now, all your selected strings, should appear in the String Translation panel

Reference :
https://wpml.org/documentation/getting-started-guide/translating-theme-options/

May 27, 2019 at 10:32 am #3895965

riseC

Hello,
we did what you told us to do and we find pages id and translate it but still pages text not translated.

May 27, 2019 at 11:27 am #3896485

Andrés
Supporter

Languages: English (English ) Spanish (Español ) French (Français )

Timezone: Europe/Paris (GMT+01:00)

In that case is probable that your theme is not multilingual ready.

I have created a test website with a clean WordPress install. You can access it through this link:
(one click login link here). Through this link you will be automatically logged in.
hidden link

Please upload an original and the last version of your theme Adforest to this test install and setup it the same way as in your website. In this way we can check if this is a compatibility issue.


Please note that we only need your theme, you don't need to setup a entire website or clone your existing site.

May 27, 2019 at 12:51 pm #3897295

riseC

Hello,
We uploaded theme
Thanks.

May 27, 2019 at 3:34 pm #3899177

Andrés
Supporter

Languages: English (English ) Spanish (Español ) French (Français )

Timezone: Europe/Paris (GMT+01:00)

Thank you for your help! 🙂
Could you please tell me:
- It the plugins installed are part of your theme.
- How to reproduce the issue in a detailed way?

Regards

May 28, 2019 at 7:15 am #3903257

riseC

Hello Andrés,
Thank you for your kindness,
1- Yes, these plugins are required to theme work.
2- In the top bar and footer there are pages links, These pages to can add from theme options, we need to translate these pages, we attached screenshots to explain what we need arranged.
THanks.

May 28, 2019 at 8:53 am #3904177

Andrés
Supporter

Languages: English (English ) Spanish (Español ) French (Français )

Timezone: Europe/Paris (GMT+01:00)

Hello there,

Thank you for your instructions. Here below my comments:

- I removed the pages that you have added as they were not translated. Instead, I added a new page "AAA WPML" which was translated.
- I can see that the link works fine, but the label is showing the default language string.
- Then, I added the top bar options (adforest_theme > top_bar_pages) with this code at WPML > Settings > Custom XML Configuration:

<wpml-config>
    <admin-texts>
        <key name="adforest_theme">
            <key name="top_bar_pages">
                <key name="0" />
                <key name="1" />
                <key name="2" />
                <key name="3" />
          </key>
        </key>
    </admin-texts>
</wpml-config>

- So far only the "0" key is active as only there is one page added. You can append more keys if you add more than 4 pages.
- Then, I went to WPML > String Translation.
- I translated the ID of the page (2503) for 2506 and 2507 which are its translated pages ID's.
- If I go to the front-end, the label and the link are now working correctly.

Can you try it on your site now?

May 28, 2019 at 10:19 am #3905587

riseC

Hello,
Thank you very very very much.
our issues fixed.
thank you for your kindness.
The last request if you please, we added wpml switcher to our main menu and when hover over it display sub-menu. can you tell us how fix it?
Thanks.

May 28, 2019 at 10:54 am #3905875

Andrés
Supporter

Languages: English (English ) Spanish (Español ) French (Français )

Timezone: Europe/Paris (GMT+01:00)

I'm glad to know that your original issue was fixed. 🙂
For this new situation, there may be a incompatibility with your theme or another plugin. Could you please open a new ticket for it? You can assign it to me then.

Regards,
Andrés

May 29, 2019 at 11:00 am #3914437

riseC

Hello,
We have recent post titles on our theme footer, can you please tell us how can we translate it?
it`s not a widget
Thanks.