Skip to content Skip to sidebar

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

Problem:
The client is experiencing an issue where the Arabic translation of their website only works when logged in as an admin. The translation does not work for users without admin access. The failure found was

PHP Fatal error:  Uncaught ValueError: Unknown format specifier "Ř"

.
Solution:
We identified that the issue was related to incorrect string translations in the Rankmath plugin. Specifically, placeholders like

%d

were not correctly maintained in the Arabic translations. To resolve this, follow these steps:
1. Navigate to WPML > String Translation.
2. Enter "Ř" into the text search field and check the "Include translations" box.
3. Look for strings such as

%d minute

and

%d minutes

and ensure the placeholders are correctly formatted. The correct translation for these should be

دقيقة %d

and not

د دقيقة%

.

If this solution does not resolve your issue or seems irrelevant due to updates or differences in your case, we recommend opening a new support ticket. Additionally, we highly recommend checking related known issues at https://wpml.org/known-issues/, verifying the version of the permanent fix, and confirming that you have installed the latest versions of themes and plugins. For further assistance, please visit our support forum at https://wpml.org/forums/forum/english-support/.

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 0 reply, has 1 voice.

Last updated by Andreas W. 8 months ago.

Assisted by: Andreas W..

Author Posts
March 30, 2025 at 12:14 am #16875884

Tonbojp

Hello Andreas,

Thank you so much. I will be editing my reviews on trustpilot. Thank you

April 1, 2025 at 3:24 pm #16883706

Andreas W.
WPML Supporter since 12/2018

Languages: English (English ) Spanish (Español ) German (Deutsch )

Timezone: America/Lima (GMT-05:00)

You are welcome 🙂