تخطي إلى المحتوى تخطي إلى الشريط الجانبي

Waiting for author

Topic Tags: Compatibility

Overview of the issue

When using Fluent Forms with WPML, custom error messages added directly to individual forms are translatable via the Advanced Translation Editor, but default messages from Fluent Forms’ global settings (e.g., “This field is required.”) are not available for translation.

Workaround

  • Go to WPML > Settings > Custom XML Configuration in your WordPress dashboard.
  • Add the following XML configuration and save:
    <wpml-config>
      <admin-texts>
        <key name="_fluentform_global_form_settings">
          <key name="default_messages">
            <key name="*"/>
          </key>
        </key>
      </admin-texts>
    </wpml-config>
            
  • Go to WPML > String Translation to translate the global error messages.

اترك ردًا

الرجاء البقاء في الموضوع واحترام الآخرين. إذا كنت بحاجة إلى مساعدة في مشكلات غير متعلقة بهذا المنشور، استخدم منتدى الدعم الخاص بنا لبدء محادثة أو تقديم تذكرة.

يمكنك استخدام هذه الوسوم:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>