Skip to content Skip to sidebar

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

Problem:

Solution:

Relevant Documentation:

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.

Tagged: 

This topic contains 5 replies, has 0 voices.

Last updated by Paola Mendiburu 5 months, 4 weeks ago.

Assisted by: Paola Mendiburu.

Author Posts
September 17, 2025 at 10:53 am #17409080

hugyakA

Background of the issue:
I am trying to find and translate the expression 'Please log in to create events,' which is part of the events calendar community event plugin. The issue can be seen on this page: hidden link.

Symptoms:
I expected to see a string translation option, but I didn't find it.

Questions:
How can I find and translate the expression 'Please log in to create events'?
Why is the string translation option not appearing for this expression?

September 17, 2025 at 11:10 am #17409126

hugyakA

Hi, I am here.

September 17, 2025 at 11:12 am #17409143

Paola Mendiburu
WPML Supporter since 11/2020

Languages: Spanish (Español ) Italian (Italiano )

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

Hi there!

I have converted into a ticket as I didn´t get answer on the chat.

Please try this: https://wpml.org/documentation/getting-started-guide/string-translation/finding-strings-that-dont-appear-on-the-string-translation-page/

If you can´t find it, 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.

Please let me know also from where do you add the text.

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 the 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

September 17, 2025 at 11:18 am #17409200

hugyakA

Hi, I added the requested details, thank you

September 17, 2025 at 2:15 pm #17410167

Paola Mendiburu
WPML Supporter since 11/2020

Languages: Spanish (Español ) Italian (Italiano )

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

I’m getting a 404 error on the login page. It seems the login URL might not be correct.

Could you please update it and let me know once it’s fixed?

September 17, 2025 at 5:06 pm #17410843

Paola Mendiburu
WPML Supporter since 11/2020

Languages: Spanish (Español ) Italian (Italiano )

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

Hi there!

The message “Please log in to create events.” comes from the Community Events add-on of The Events Calendar.

Originally, this text was hardcoded directly in the plugin and not prepared for translation. Because of that, WPML couldn’t detect it and it didn’t appear in String Translation.

Technically, it is located in this file:
wp-content/plugins/the-events-calendar-community-events/src/Events_Community/Callbacks/Event/Callback_Add_Edit.php

In the original code, the message was defined as a fixed string:

protected string $logout_page_tagline = 'Please log in to create events.';

Since it wasn’t wrapped in a translation function, WPML couldn’t recognize it.

I modified the code so that the string is now translatable by WPML:

    protected string $logout_page_tagline;

    public function __construct() {
        $this->logout_page_tagline = __( 'Please log in to create events.', 'tribe-events-community' );
    }

Now, if you go to WPML → String Translation, you will be able to translate this text.

I also recommend letting the plugin author know about this, so they can make it translatable by default in future releases.