Skip Navigation

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.

Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 -
- 13:00 – 18:00 13:00 – 18:00 13:00 – 18:00 13:00 – 18:00 13:00 – 18:00 -

Supporter timezone: America/Sao_Paulo (GMT-03:00)

This topic contains 5 replies, has 2 voices.

Last updated by janL-8 1 year, 6 months ago.

Assisted by: Mateus Getulio.

Author Posts
August 4, 2023 at 9:12 am #14153833

janL-8

Tell us what you are trying to do?
I am trying to translate a button (BUY TICKETS) on a single event page, using elementor pro, but cannot find it in string translations.

Is there any documentation that you are following?
Some from past similar experiences, but to no avail.

Is there a similar example that we can see?
No

What is the link to your site?
hidden link

Screenshot 2023-08-04 at 12.10.01.png
August 4, 2023 at 6:58 pm #14156637

Mateus Getulio
Supporter

Languages: English (English ) Portuguese (Brazil) (Português )

Timezone: America/Sao_Paulo (GMT-03:00)

Hello there

Thanks for your contact, and welcome to the WPML support forum!

Can you please do the following procedure to try to locate those strings?

- Please go to WPML -> Theme and plugins localization
- Select all plugins in the list and click on "Scan selected plugins for strings"
- When that finishes, select your theme in the other list and click on "Scan selected themes for strings"
- Now go to WPML -> String Translation and search for one of the items you couldn't find to translate and see if it will display now

If that doesn't work, please try to enable the option "Look for strings while pages are rendered" in WPML -> String Translation. Then visit that page in which the widget is located and go back to the String Translation, refresh the page and check if you'll be able to locate the strings now. (Please don't forget to uncheck the option "Look for strings while pages are rendered" once you're done).

Another attempt that you can try is to include those strings in String Translation following this procedure:

- Go to WPML -> String Translation and click on "Translate texts in admin screens" at the bottom of the page
- Search for one of the items you can't translate
- Select that string and include it in the String Translation
- Go to WPML -> String Translation and search now for that item and see if it will display now for translation

Please let me know how you proceed with these possible solutions. Looking forward to your reply!

Kind regards,
Mateus.

August 7, 2023 at 12:13 pm #14163597

janL-8

Hey, I finally managed to add these translations to the string translations, but the translations are not showing up. Maybe cache needs to be emptied?

Thank you for your help.

August 7, 2023 at 8:02 pm #14166153

Mateus Getulio
Supporter

Languages: English (English ) Portuguese (Brazil) (Português )

Timezone: America/Sao_Paulo (GMT-03:00)

Hi there,

Thanks for your reply.

Yes, it might be necessary to clear the caches (server, website, browser...). Please try that and check if it'll help.

If you're still stuck, I would like to request temporary access (wp-admin and FTP) to your site to take a better look at the issue. You will find the needed fields for this below the comment area when you log in to leave your next reply. The information you will enter is private which means only you and I can see and have access to it.

Our Debugging Procedures

I will be checking various settings in the backend to see if the issue can be resolved. Although I won't be making changes that affect the live site, it is still good practice to backup the site before providing us access. In the event that we do need to debug the site further, I will duplicate the site and work in a separate, local development environment to avoid affecting the live site.

Privacy and Security Policy

We have strict policies regarding privacy and access to your information. Please see:
https://wpml.org/purchase/support-policy/privacy-and-security-when-providing-debug-information-for-support/

**IMPORTANT**

- Please make a backup of site files and database before providing us access.
- If you do not see the wp-admin/FTP fields this means your post & website login details will be made PUBLIC. DO NOT post your website details unless you see the required wp-admin/FTP fields. If you do not, please ask me to enable the private box. The private box looks like this: hidden link

Please, let me know if you need any additional details. Have a nice day.

August 9, 2023 at 8:38 pm #14178301

Mateus Getulio
Supporter

Languages: English (English ) Portuguese (Brazil) (Português )

Timezone: America/Sao_Paulo (GMT-03:00)

Hi there,

Thank you for providing the credentials.

Can you tell me how exactly did you insert the 'BUY TICKETS' text inside this button? We tried to do this through your Elementor templates:

- Swedish: hidden link, which seems to be the translation version, correct?

- English: hidden link, which although it is the second language on the website, this template is originally in English, as far as I can see

First, the button is missing from the English. Have you edited manually the Swedish template and inserted it there? Also, I'm not sure how to change this button text coming from The Events Calendar widget - and therefore translate it. Could you please clarify to us how the button is added?

At last, I'd like to ask you to access the Sandbox that I'll share with you the automatic login link in my next private reply. If possible, please install there all the necessaries components in order to replicate this issue, and try to do the same as you're doing in the original website. (Please observe that the intention here is not to migrate the whole site - you should install only the needed plugins/themes/settings/etc.)

This will give us the ability to focus specifically on the connection between WPML and the other components.

Please stay tuned for my next private message containing the access link. Thank you.

August 11, 2023 at 10:36 am #14187847

janL-8

Hey, I don't know how the button was added it was separate programmer, I am in contact with him now about changing the language on the button. Thanks for the help, I guess it has something to do with the programming he did.

The topic ‘[Closed] Can't find where to translate a button on single event page.’ is closed to new replies.