| 1 |
<wpml-config> |
| 2 |
<!-- |
| 3 |
MxChat WPML / Polylang compatibility. |
| 4 |
|
| 5 |
Registers the chat widget's user-facing display strings (sub-keys of the |
| 6 |
single `mxchat_options` array option) as WPML "admin texts" so they appear |
| 7 |
automatically under WPML -> String Translation (domain: admin_texts_mxchat_options). |
| 8 |
Polylang reads this same file. No PHP behavior change; installs without a |
| 9 |
multilingual plugin are unaffected. |
| 10 |
|
| 11 |
Scope rule: ONLY natural-language strings a visitor actually sees in the |
| 12 |
widget. API keys, toggles, colors, numbers, model ids, and internal config |
| 13 |
are deliberately excluded so an owner never sees a key or a hex code in the |
| 14 |
translation editor. Plan: plan-mxchat-20260624-6bebb0. |
| 15 |
--> |
| 16 |
<admin-texts> |
| 17 |
<key name="mxchat_options"> |
| 18 |
<!-- Widget chrome --> |
| 19 |
<key name="top_bar_title" /> |
| 20 |
<key name="ai_agent_text" /> |
| 21 |
<key name="intro_message" /> |
| 22 |
<key name="input_copy" /> |
| 23 |
<key name="pre_chat_message" /> |
| 24 |
<key name="reset_chat_label" /> |
| 25 |
<key name="rate_limit_message" /> |
| 26 |
<!-- Email / name capture gate --> |
| 27 |
<key name="email_blocker_header_content" /> |
| 28 |
<key name="email_blocker_button_text" /> |
| 29 |
<key name="name_field_placeholder" /> |
| 30 |
<!-- Satisfaction rating prompts --> |
| 31 |
<key name="satisfaction_rating_question" /> |
| 32 |
<key name="satisfaction_rating_thanks" /> |
| 33 |
<key name="satisfaction_rating_placeholder" /> |
| 34 |
<key name="satisfaction_rating_saved" /> |
| 35 |
</key> |
| 36 |
</admin-texts> |
| 37 |
</wpml-config> |
| 38 |
|