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: Exception
This topic contains 5 replies, has 0 voices.
Last updated by Paola Mendiburu 6 months ago.
Assisted by: Paola Mendiburu.
| Author | Posts |
|---|---|
| September 17, 2025 at 10:53 am #17409080 | |
|
hugyakA |
Background of the issue: Symptoms: Questions: |
| 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 **IMPORTANT** |
| 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: 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. |