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
- 8:00 – 15:00 8:00 – 15:00 8:00 – 15:00 8:00 – 15:00 8:00 – 15:00 -
- 16:00 – 17:00 16:00 – 17:00 16:00 – 17:00 16:00 – 17:00 16:00 – 17:00 -

Supporter timezone: Europe/Rome (GMT+01:00)

This topic contains 8 replies, has 1 voice.

Last updated by Alejandro 5 days, 19 hours ago.

Assisted by: Alejandro.

Author Posts
February 2, 2025 at 8:58 pm #16660572

SarunasL-2

Background of the issue:
I am trying to review a translation from English to Lithuanian on the page: hidden link.

Symptoms:
I expected to see a review for the translation, but instead, I got the error message: 'Deja, Jūs negalite peržiūrėti juodraščių.'

Questions:
Why am I unable to review the translation?
What does the error message 'Deja, Jūs negalite peržiūrėti juodraščių.' mean?

February 2, 2025 at 9:01 pm #16660574

SarunasL-2

I don't like the ticket number I got WPML Support Ticket [16660572], because of my religious views i find lucifer to be a complete scum shit, please asign me new number instead of that in respect of my religious views.

February 3, 2025 at 5:48 pm #16663995

Alejandro
Supporter

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

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

Hello,

I'm Alejandro, WPML's Deputy Support Manager and I'll assist you today.

1) I'm sorry that you feel the ticket number disrespects your religion but unfortunately that number is automaticallu assigned to that reply not to the actual ticket (we don't work with a single "ticket number") and can't be changed. However, I can assure you that number has nothing to do with the occult, it's just a number as any other.

2) The preview you're trying to check is from an elementor library page, you can't review those in the front-end mode as with pages, because that page you usually see for elementor templates is a preview, not a real front-end page. the same would happen if you try to review a draft that was translated.

You can go to WPML > Translations and set those pages as reviewed ad then edit the page and check the translations in the actual front-end or via the translation Editor.

If you don't know how that is done, I can try to record a video showing you how to do it.

Please let me know how it goes.

Regards,

February 3, 2025 at 7:57 pm #16664306

SarunasL-2

Please record or send screenshots.

February 3, 2025 at 8:03 pm #16664322

SarunasL-2

why would there be a huge review button on front end if it shouldn't work that way? Aren't you thinking about something else?

Screenshot 2025-02-03 220212.png
February 3, 2025 at 8:59 pm #16664491

SarunasL-2

By the way if someone will find the religuos problem to be the same, here's a Chrsitian friendly script, that they could run with tampermonkey extension:
// ==UserScript==
// @name Chirstian Script
// @namespace hidden link
// @version 1.1
// @description Replace all instances of debils number with "satan is gay" and with "devil is a looser" on webpages
// @author Your Name
// @match *://*/*
// @grant none
// ==/UserScript==

(function() {
'use strict';

function replaceText(node) {
if (node.nodeType === Node.TEXT_NODE) {
// Check if the text contains 666 or 999 before replacing
if (node.nodeValue.includes("666") || node.nodeValue.includes("999")) {
node.nodeValue = node.nodeValue.replace(/666/g, "satan is gay");
node.nodeValue = node.nodeValue.replace(/999/g, "devil is a looser");
}
} else {
for (let child of node.childNodes) {
replaceText(child);
}
}
}

function handleMutations(mutations) {
for (const mutation of mutations) {
if (mutation.type === 'childList' || mutation.type === 'characterData') {
for (const node of mutation.addedNodes) {
if (node.nodeType === Node.TEXT_NODE || node.nodeType === Node.ELEMENT_NODE) {
replaceText(node);
}
}
}
}
}

const observer = new MutationObserver(handleMutations);

observer.observe(document.body, { childList: true, subtree: true, characterData: true });

// Initial run
replaceText(document.body);

})();

February 3, 2025 at 9:02 pm #16664493

Alejandro
Supporter

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

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

Hi there,

I'll prepare a recording for you explaining the whole situation 🙂 (I'll send it in the next answer, I need to prepare the proper environment for this, first).

And, the thing is that WordPress is very verydynamic and flexible and there's something called a "Post Type". most of them work like pages and posts, but then you have particular ones like templates, header and footers, etc.

Those are like "components" of a page, and they could also gather dynamic content so they do not really have a "public" link (a link that other users can access).

We can't really differentiate between a post type like a post or a page or one like a template and the review option appears because you have setting that mentions that you should review first before publishing it or well you can have it published and review afterwards.

It's weird and we'll be refining those process as we find ways for it, to make the entire workflow better, but the best way to see it is: if the end user, can't see the content, then it's very likely that you won't be able to see the review. you can still edit it from the Translation Editor, just not with a "front-end" view. does that make sense?

February 3, 2025 at 9:10 pm #16664496

SarunasL-2

just make sure not to show the ticketnumber anywhere in the video, thanks

February 4, 2025 at 5:28 pm #16668073

Alejandro
Supporter

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

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

Hi there!

I have good news, If you update to WPML 4.7 you should be able to review those templates, maybe not ALL of them but I tested this particular feature today with WPML 4.7 (which is due next week) and things worked well as you can see here: hidden link

We currently have an RC (Release Candidate) stable enough to work on a site, but I'd advise caution because it's still not the latest official version. you can give it a try on a staging site first or after a proper backup to see if it works 🙂

If it STILL doesn't work on WPML 4.7 then you can allow me access to the page and tell me the name of the template so I can run some tests and find out why it's not working. This is only valid if WPML 4.7 is installed.

Regards,