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.

This topic contains 3 replies, has 3 voices.

Last updated by Eran Helzer 1 year, 10 months ago.

Assisted by: Eran Helzer.

Author Posts
July 13, 2023 at 4:59 pm #14035181

rana-khurramM

Hi,

I have over 300 pages on my website and each page has many custom fields. Some have around 100 fields. So when I'm looking to translate a page from EN to FR, I need to check the "Translation is complete" checkbox in order to have the FR page ready. But since our pages are long, we are currently checking each and every single checkbox which is very time-consuming. Is there a way or a button where I can just check all the boxes at once? Is there a button for that or a workaround?

Screenshot 2023-07-13 at 12-55-20 Translations ‹ Condominium Authority of Ontario — WordPress.png
July 13, 2023 at 6:57 pm #14035753

Ahmed Mohammed
Supporter

Timezone: Africa/Cairo (GMT+03:00)

Hi there,

Thank you for contacting WPML support. While you are waiting for one of my colleagues to take this ticket and work on it, let me provide you with the first debugging steps or if I can help with the issue quickly.

I understand that you would like to check all checkboxes in WPML's classic translation editor.

When using the translation editor, if you would like to select all checkboxes so that you can mark all as complete, open up your browser console and add this in the Console:

jQuery(document).ready(function(){ jQuery(".icl_tm_finished").attr("checked", "checked"); });

Then, hit enter and check one box on the page. This should select all boxes.

Hope that helps 🙂

July 13, 2023 at 7:50 pm #14035899

rana-khurramM

Hi Ahmed,

Thanks for the response. I tried your method but it didn't work. I entered the code you sent in Chrome's console and pressed enter. I then selected a checkbox but only that checkbox was selected, not all checkboxes. I have attached a screenshot here.

ref.png
July 14, 2023 at 9:00 am #14038587

Eran Helzer
Supporter

Languages: English (English ) Hebrew (עברית )

Timezone: Asia/Jerusalem (GMT+03:00)

Hi,

Please try doing the same with this script, pasting it to the console.

jQuery(document).ready(function() {
  jQuery(".icl_tm_finished")
    .prop("disabled", false) // Enable the checkboxes
    .prop("checked", true); // Check the checkboxes
});

I tried this now, it works fine for me. You just need to unselect one box and re-select it.

Please update me on if this solves your issue.