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 topic contains 9 replies, has 2 voices.

Last updated by Andrés 4 months, 3 weeks ago.

Assigned support staff: Andrés.

Author Posts
May 30, 2019 at 10:53 am #3922273

riseC

Hello,
We have a recent posts widget on our website footer, we need to translate posts titles

May 30, 2019 at 11:46 am #3922795

Andrés
Supporter

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

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

Hello again, 🙂

Could you please tell me how to add that widget in our test site?
hidden link

Best regards,
Andrés

May 30, 2019 at 11:55 am #3922803

riseC

Hello,
appearance > theme options > Footer Settings
Thanks

May 30, 2019 at 1:06 pm #3922997

Andrés
Supporter

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

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

Thanks for comment. It seems that we have to handle this situation as we did here:
https://wpml.org/forums/topic/some-srting-can-not-translated/#post-3904177

Code this time will end like this:

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

And you will have to look for the [adforest_theme][sb_footer_pages]0 options in WP;L > String Translations.

Does it work for you?

May 30, 2019 at 1:17 pm #3923155

riseC

Hello Andrés,
you give us a solution for pages these not pages this post, is there way to translate it.

May 30, 2019 at 1:33 pm #3923389

riseC

You can check our website.

May 30, 2019 at 1:37 pm #3923413

Andrés
Supporter

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

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

I apologize but I don't see the difference as I can't read Arabic. In our test site it is translated, have you tried my previous solution? Or could you try to show me in the test site what you are trying to do? That would be really helpful. 🙂

May 30, 2019 at 1:39 pm #3923465

Andrés
Supporter

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

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

It works in the same way for pages or posts, you only need to translate the ID. Otherwise, I may not be understanding your situation. If that is the case, could you provide more details so I can be of better help?

Regards

May 30, 2019 at 1:46 pm #3923485

riseC

Hello Andrés,
Thank you for your kindness
at this theme, we add recent posts on theme options, not a widget, we need to add string manually like the previous solution but for post not pages.
this our website english version
hidden link

May 30, 2019 at 1:57 pm #3923531

Andrés
Supporter

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

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

This is what I'm doing:
- I go to the Dashboard > Appereance > Theme options > Footer settings > Quick links. There I can only add pages, there is no way to add posts.

If you are doing anything different or you are working in a different, I really appreciate your help because I have the impression we are talking about different scenarios.