Problem: You are experiencing a fatal error when switching your WordPress site to a second language (Arabic) using Elementor and WPML. The error message displayed is:
1
Fatal error: Uncaught ValueError: Unknown format specifier "�"
. Additionally, the automatic translation feature in WPML isn't functioning as expected. Solution: We resolved the fatal error by correcting a string translation issue. Here are the steps we followed: 1. In WPML -> Strings Translation, search for 'New %s'. 2. Ensure that the placeholder '%s' is translated correctly. In this case, it should be translated to 'جديد %s' for Arabic. This adjustment fixed the fatal error related to the language switch. For the layout issues in the Products tab, we corrected all strings containing '%s' in the Dokan domain within WPML -> Strings Translation.
If this solution does not resolve your issue, or if it seems outdated or irrelevant to your case, 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. If problems persist, please open a new support ticket.
نستخدم ملفات تعريف الارتباط لتحسين موقعنا الإلكتروني وخدماتنا.
تسمح لنا موافقتك بمعالجة بيانات مثل سلوك التصفح.
قد يؤثر عدم الموافقة على بعض الميزات.
وظيفي
نشط دائماً
مطلوب لكي يعمل موقعنا الإلكتروني ويتواصل بشكل صحيح.
التفضيلات
The technical storage or access is necessary for the legitimate purpose of storing preferences that are not requested by the subscriber or user.
الإحصائيات
نستخدمها لتحليل إحصائيات موقعنا.
المعلومات التي يتم جمعها مجهولة الهوية تماماً. التخزين الفني أو الوصول الذي يتم استخدامه حصريًا لأغراض إحصائية مجهولة الهوية. بدون أمر قضائي، أو الامتثال الطوعي من قبل مزود خدمة الإنترنت الخاص بك، أو سجلات إضافية من طرف ثالث، لا يمكن عادةً استخدام المعلومات المخزنة أو المسترجعة لهذا الغرض بمفردها لتحديد هويتك.
التسويق
تقوم ملفات تعريف الارتباط هذه بتتبع تصفحك لتقديم إعلانات ذات صلة بك.