PluginProbe ʕ •ᴥ•ʔ
SureForms – Drag & Drop Contact Form & Form Builder, Payment Form, Survey, Quiz & Calculator / 2.12.1
SureForms – Drag & Drop Contact Form & Form Builder, Payment Form, Survey, Quiz & Calculator v2.12.1
2.12.2 2.12.1 2.12.0 2.11.1 2.11.0 2.10.1 2.10.0 2.9.1 2.9.0 2.8.2 2.8.1 2.7.0 2.7.1 2.8.0 trunk 0.0.10 0.0.11 0.0.12 0.0.13 0.0.2 0.0.3 0.0.4 0.0.5 0.0.6 0.0.7 0.0.8 0.0.9 1.0.0 1.0.1 1.0.2 1.0.3 1.0.4 1.0.5 1.0.6 1.0.7 1.1.0 1.1.1 1.1.2 1.10.0 1.10.1 1.11.0 1.12.0 1.12.1 1.12.2 1.12.3 1.13.0 1.13.1 1.13.2 1.2.0 1.2.1 1.2.2 1.2.3 1.2.4 1.2.5 1.3.0 1.3.1 1.3.2 1.4.0 1.4.1 1.4.2 1.4.3 1.4.4 1.4.5 1.5.0 1.5.1 1.6.0 1.6.1 1.6.2 1.6.3 1.6.4 1.6.5 1.7.0 1.7.1 1.7.2 1.7.3 1.7.4 1.8.0 1.9.0 1.9.1 2.0.0 2.0.1 2.0.2 2.1.0 2.1.1 2.2.0 2.2.1 2.2.2 2.3.0 2.4.0 2.5.0 2.5.2 2.6.0
sureforms / wpml-config.xml
sureforms Last commit date
admin 1 week ago assets 1 week ago images 1 month ago inc 1 week ago languages 1 week ago modules 1 week ago templates 3 weeks ago plugin-loader.php 3 weeks ago readme.txt 1 week ago sureforms.php 1 week ago wpml-config.xml 1 month ago
wpml-config.xml
33 lines
1 <wpml-config>
2 <!--
3 SureForms WPML Configuration.
4
5 Tells WPML which SureForms structures are translatable.
6
7 Design principles:
8 1. The `sureforms_form` CPT is NOT translatable — we ship ONE form per
9 `post_id` and translate its strings via WPML String Translation.
10 This keeps entries unified on a single form regardless of language.
11 2. Block-attribute strings (labels, placeholders, help, errorMsg, option
12 labels, etc.) are NOT declared here. They are registered
13 programmatically at form-save time by String_Collector using a
14 per-form naming scheme (`form_{form_id}_block_{block_id}_{attribute}`)
15 so each form's strings stay grouped together in WPML's String
16 Translation UI rather than appearing as flat per-block-type entries.
17 3. ALL form-level meta — submit button text, notifications, confirmation
18 messages and the restriction message — is registered programmatically by
19 String_Collector under a per-form naming scheme (e.g. `form_{form_id}_submit_button`)
20 rather than via `<custom-fields>`. This keeps every form's strings grouped
21 together in WPML's String Translation UI, avoids WPML's nested-array
22 <custom-fields-texts> quirks, and prevents a duplicate/dead declaration
23 competing with the programmatic registration at render time.
24
25 @since x.x.x
26 -->
27
28 <!-- Do NOT duplicate the SureForms form CPT per language. -->
29 <custom-types>
30 <custom-type translate="0">sureforms_form</custom-type>
31 </custom-types>
32 </wpml-config>
33