Skip to content Skip to sidebar

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

Supporter timezone: Europe/Madrid (GMT+02:00)

Tagged: 

This topic contains 37 replies, has 1 voice.

Last updated by sonishA 2 hours, 58 minutes ago.

Assisted by: Paola Mendiburu.

Author Posts
April 20, 2026 at 11:27 am #17980596

sonishA

All the categories in in the dropdown are translated but Category All is still appearing in english whereas in String Translation its translated (Its coming from tutor lms pro)

Even when I click any of the category in Amharic version , it redirects me to English version

Can you guide me how to solve this

Thank you so much for your help

April 20, 2026 at 8:05 pm #17982175

sonishA

String translation is mixing everything up
Now my site is in English and its showing "Amharic translation"

When I switch to Amharic site my tutor LMS Pro book/courses are not loading it gives 404 error whereas previously it was working fine

Its a live site
Please check it ASAP
Books are showing in Amharic in tutor lms but when I preview it gives error , only books in english are displaying fine

123.png
April 22, 2026 at 11:15 am #17987204

Paola Mendiburu
WPML Supporter since 11/2020

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

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

Hi there!

This is Paola and I hope you are well!

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.

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

April 23, 2026 at 11:44 am #17990087

Paola Mendiburu
WPML Supporter since 11/2020

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

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

In order to investigate the issue without affecting your site, could you please install Tutor LMS pro in the following test site?
hidden link

April 23, 2026 at 11:51 am #17990102

sonishA

You have my admin login details , In that I have installed WP file manager
please install what you want to test

Thank you

April 24, 2026 at 7:31 am #17991843

Paola Mendiburu
WPML Supporter since 11/2020

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

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

Ok thank you.

I will work on it.

April 26, 2026 at 12:12 pm #17995269

sonishA

any update?

hidden link

Please check this page at the bottom of image "Kids who read this" is still in english even I translated it in String Translation

This is total enrolled option of tutor LMS
Which I added via elemtor and changed the text from Enrolled to "Kids who read this"

Kindly help me solve these ASAP

Thank you

April 27, 2026 at 9:53 am #17996454

sonishA

I am waiting
Can you please do on priority basis

April 27, 2026 at 9:54 am #17996455

Paola Mendiburu
WPML Supporter since 11/2020

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

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

Hi there!

Regarding the string "Kids who read this" you need to translate the template in order to translate the that text as it is coming from Elementor.
Go to the original template hidden link and translate to the other languages with the translation editor.

Please let me know if you have any porblems.

April 27, 2026 at 10:02 am #17996471

sonishA

hidden link

What about for category - All
As its a template and its translated in your taxonomy translation section

April 27, 2026 at 10:30 am #17996505

Paola Mendiburu
WPML Supporter since 11/2020

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

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

I can see that the text is coming from the [tutor_filter_bar] shortcode. However, after inspecting the plugin code, I wasn’t able to find the string “Category - All” defined anywhere.

This suggests it might be coming from a custom override (for example, in the theme) or a custom implementation of the shortcode.

Could you please confirm if this shortcode has been customized or if there are any theme overrides or custom snippets involved?

April 27, 2026 at 10:57 am #17996554

sonishA

I am using tutor lms code

these categories are coming from tutor lms plugin

I added them in functions.php to create a shortcode to display in my design

/* ============================================================
Shortcode: [tutor_filter_bar]
Multi-filter dropdowns that keep all filters active together
============================================================ */
function sa_tutor_filter_bar_shortcode() {

// Taxonomy map → Label
$taxonomy_map = array(
'course-level' => 'Reading Level - All',
'course-category' => 'Category - All',
'course-tag' => 'Features - All',
'course-language' => 'Language - All'
);

// Exclude these slugs from category dropdown
$exclude_category_slugs = array('language','amharic','english','oromiffa','tigrigna');

// Start wrapper
$output = '<div class="sa-tutor-filter-bar">';

// Current filters from URL
$current_filters = array(
'course-category' => isset($_GET['course-category']) ? sanitize_text_field($_GET['course-category']) : '',
'course-level' => isset($_GET['course-level']) ? sanitize_text_field($_GET['course-level']) : '',
'course-tag' => isset($_GET['course-tag']) ? sanitize_text_field($_GET['course-tag']) : '',
'course-language' => isset($_GET['course-language']) ? sanitize_text_field($_GET['course-language']) : '',
);

foreach ($taxonomy_map as $taxonomy => $label_text) {

if (!taxonomy_exists($taxonomy)) continue;

$terms = get_terms(array(
'taxonomy' => $taxonomy,
'hide_empty' => false,
'lang' => apply_filters('wpml_current_language', NULL),
));

if (empty($terms) || is_wp_error($terms)) continue;

// Build dropdown
$output .= '<select onchange="window.location.href=this.value"
style="padding:10px;border-radius:6px;border:1px solid #ddd;min-width:160px;">';

// All option link – keep other filters
$all_query = array_filter($current_filters);
unset($all_query[$taxonomy]);
$all_url = add_query_arg($all_query, $base_url);

$output .= '<option value="'.esc_url($all_url).'">' . esc_html($label_text) . '</option>';

// Loop terms
foreach ($terms as $term) {

// Skip excluded category slugs
if ($taxonomy === 'course-category' && in_array($term->slug, $exclude_category_slugs)) continue;

$query = $current_filters;
$query[$taxonomy] = $term->slug;
$term_url = add_query_arg(array_filter($query), $base_url);

$selected = ($current_filters[$taxonomy] === $term->slug) ? 'selected' : '';

$output .= '<option value="'.esc_url($term_url).'" '.$selected.'>'.esc_html($term->name).'</option>';
}

$output .= '</select>';
}

$output .= '</div>';

// Styling
$output .= '<style>
.sa-tutor-filter-bar{
display:flex;flex-wrap:wrap;gap:12px;align-items:center;margin:18px 0;
}
@media (max-width:768px){
.sa-tutor-filter-bar{flex-direction:column;align-items:stretch;}
.sa-tutor-filter-bar select{width:100%!important;}
}
</style>';

return $output;
}
add_shortcode('tutor_filter_bar', 'sa_tutor_filter_bar_shortcode');

I am using this

12.png
April 27, 2026 at 11:35 am #17996693

Paola Mendiburu
WPML Supporter since 11/2020

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

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

I’ve reviewed your setup and the issue was not coming from WPML or Tutor LMS, but from the custom shortcode code added in your functions.php.

The labels like “Category - All” were hardcoded there, so WPML could detect them but not properly apply the translation on the frontend.

After updating the code to correctly register and translate the strings using WPML functions (wpml_register_single_string and wpml_translate_single_string), the translations are now displayed correctly.

So the issue is now resolved and everything should work as expected.

April 27, 2026 at 12:46 pm #17996948

sonishA

Thank you so much

hidden link
When I select category filter here , it redirects me to home page
whereas it should take me to exact result on
hidden link this page

This is how it was working previously before WPML

Even in english version I am facing same issue

Reading Levels are working fine but not category filters

April 28, 2026 at 7:40 am #17998602

Paola Mendiburu
WPML Supporter since 11/2020

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

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

Hi there!

Please try now and let me now if it works.

Thanks.