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

Problem:
How to translate links on Sticky Side Buttons plugin
Solution:
- add the following line:

$this->buttons  = get_option( 'ssb_buttons' );

in the plugin file

ssb-ui.php 

within icons function (as per image ssb_updated.jpg)
Relevant Documentation:
https://github.com/maevelander/sticky-side-buttons/issues/4

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 10 replies, has 2 voices.

Last updated by Apulia Vending s.r.l. 1 year, 5 months ago.

Assigned support staff: Bruno Kos.

Author Posts
January 15, 2019 at 10:33 am #3092148

Apulia Vending s.r.l.

I am trying to:
translate the link string of the "Sticky Side Buttons" plugin. I followed the instructions you provided here:
hidden link

But, even if translated, the link is not correctly working.

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

Could you help, please?

Thanks in advance.

January 15, 2019 at 11:07 am #3092427

Bruno Kos
Supporter

Languages: English (English )

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

Hi,

Thank you for contacting WPML support!

I've checked that thread but noticed some things:
- maevelander added the wontfix label 3 days ago (so possibly this is not working)
- the plugin is not within our list: https://wpml.org/documentation/plugins-compatibility/

The problem is that in all languages, these links point to Italian versions, correct?

In order to debug this issue further quickly, would you be willing to provide me with temporary WordPress admin username so I could investigate the issue directly? I have marked your next reply private so you can safely add this information.

https://wpml.org/purchase/support-policy/privacy-and-security-when-providing-debug-information-for-support/

Please make a full backup of your site before sharing this information.

Regards,
Bruno Kos

January 15, 2019 at 11:25 am #3092500

Bruno Kos
Supporter

Languages: English (English )

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

Hi,

Can you update site plugins first before we resume debugging this? We can only support our clients if they have the latest versions installed, as this means that there have been many upgrades, bug fixes and general improvements since.

For example, I see that you have:
WPML Multilingual CMS 4.0.6. which dates back to August 27, 2018. I also see other WPML addons being outdated, such as String Translation.

I am not saying that it will fix the issue, but rather that we need to exclude the possibility of an older plugin causing the issue.

Let me know once you get there!

Regards,
Bruno Kos

January 15, 2019 at 11:32 am #3092523

Apulia Vending s.r.l.

Hi Bruno,
you're right, I just updated almost everything needed to.

Thanks.

Best regards

January 15, 2019 at 12:00 pm #3092607

Bruno Kos
Supporter

Languages: English (English )

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

Hi,

It seems like in this current setup, it may not working and we will need to escalate this to plugin authors.

Please check my next private message. This is the step we are performing to ensure that this is not a server related thing, but a bug related to plugin in general.

I have created a test website with a clean WordPress install.

Can you upload that plugin there, set WPML and at least two languages and try creating few buttons to translate (one page translation should do).

Regards,
Bruno Kos

January 15, 2019 at 12:49 pm #3092853

Apulia Vending s.r.l.

Hi Bruno,
I just did all you suggested to do. I hope that's enough.

Thanks for your help.

January 15, 2019 at 2:12 pm #3093222

Bruno Kos
Supporter

Languages: English (English )

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

Hi,

Yes, that will do, thank you for taking the time to do this!

Check this image - in our clean install, fields are there but when translated, they don't get updated via String Translation. 🙁

I will need to escalate this ticket to our compatibility team and they will recheck this and consult plugin authors. They are however already familiar with this and seems like that it wasn't fixed for nearly year and half so I can't give any exact estimate on when it is going to happen. I will keep this thread update as soon as I hear from them. I will find out if the workaround is still valid and how to get it working.

Regards,
Bruno Kos

January 15, 2019 at 2:15 pm #3093244

Apulia Vending s.r.l.

Hi Bruno,
thank you so much for your interest and for your efforts.

I'll be waiting for your news.

Hope to hear from you soon.

Best regards

January 15, 2019 at 2:22 pm #3093274

Bruno Kos
Supporter

Languages: English (English )

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

Hi,

Hoping to have some good news for you soon!

Regards,
Bruno Kos

January 15, 2019 at 4:03 pm #3093834

Bruno Kos
Supporter

Languages: English (English )

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

Hi,

Our 2nd tier responded, as this have been reported in our internal documentation before. Please check these images:

Can you add this line in the location visible on the image?

$this->buttons  = get_option( 'ssb_buttons' );

This is the location of the file (sandbox site):
hidden link

Not sure if you already made some changes on hidden link - can you remove the plugin (using FTP) and then reupload the latest one from WordPress.org site and then add this code inside?

You can also have a look at our sandbox site where this has been implemented and works on translated pages.
hidden link

Regards,
Bruno Kos

January 15, 2019 at 4:10 pm #3093883

Apulia Vending s.r.l.

Everything works fine now, thank you very much.