Linux 软件免费装

Multilingual Contact Form 7 with Polylang

开发者 andreasmuench
更新时间 2024年6月27日 23:01
捐献地址: 去捐款
PHP版本: 5.6 及以上
WordPress版本: 6.5.5
版权: GPLv2 or later
版权网址: 版权信息

标签

translate language contact form 7 polylang multilingual

下载

1.0.6 1.0.7 1.0.10 1.0.11 1.0.5 1.0.8 1.0.9

详情介绍:

This plugin makes it possible to use Contact Form 7 forms on multilingual pages by using Polylang and its string translations. Other than existing solutions you don´t have to create a form for each language, but you can use one single CF7 form for all languages. How does it work? With this plugin active, you can setup translatable placeholders in your forms, emails and form messages. The placeholders are using curly braces, like this: {Text to translate}. When these are setup, you can then translate the strings in Languages > String translations, filter for "Contact Form 7" https://youtu.be/XgT_XKmoDE0 Translate form messages This plugin gives you two ways of translating the form messages. The simple way: You only have to make sure the form messages are all set to the english default values. Then they are automatically translated via the normal plugin language pack. You may have to update your WordPress language packs after setting up your languages in Polylang. The custom way: Set the strings (or part of strings) you want to have translated in curly braces and they will appear in the Polylang string translations where you can translate them.

安装:

  1. Upload the zip to the /wp-content/plugins/ directory
  2. Activate the plugin through the 'Plugins' menu in WordPress
  3. You also need the plugins [Contact Form 7] (https://wordpress.org/plugins/contact-form-7/) and [Polylang] (https://wordpress.org/plugins/polylang/)
  4. Create a from and add the strings that have to be translated in curly braces, e.g. {Your Message}
  5. Translate the strings in Polylang via Languages > String translations, filter for "Contact Form 7"
  6. Create a page for the form for every of your website´s languages and add the same form to all of them

屏幕截图:

  • Translate strings in the Polylang String translations
  • Example contact form in different languages

常见问题:

Why are the form messages not translated ?

Make sure the form messages are set to their english default values (which might not be the case if the general UI language is different to english). Also make sure the Contact Form language packs for all your site´s languages are installed. Alternatively you can add curly braces around the message texts, so they are translatable via the Polylang string translations

What about feature X

Just go to the support forums and kindly ask for it, then we´ll see what we can do. Thank you!

更新日志:

1.0.11 1.0.10 1.0.9 1.0.8 1.0.7 1.0.6 1.0.5 1.0.4 1.0.3 1.0.2 1.0.1 1.0.0