Custom Texts
Your assistant can reword the texts Activoice shows around your content on your public pages and embeds: buttons, step titles, form labels, confirmation messages. Your campaigns' and petitions' own content is edited as usual.
Languages
Each supporter sees the pages in their browser's language, whatever the campaign's language. Reword the languages your supporters use; the others keep Activoice's texts.
How it works
- The assistant reads the texts of one language with
get_texts: each text with its default and your version. - It sends only the texts it changes with
set_texts. A text equal to the default is not kept. - It ends with
clean_texts, which removes your versions of texts the pages no longer have.
Your texts appear on your pages as soon as the assistant saves them: reload a page to see them.
Rules
A text keeps the structure of its default: the same variables in braces such as {name}, the same number of forms separated by |, and the same references such as @:campaign.share.emailContentTargets. Write {'@'} for a literal @ and {'|'} for a literal |. HTML shows as plain text. When a text is refused, the assistant is told why and fixes it.
Activoice updates never change your texts. A text Activoice renames or restructures shows its default again until you reword it.
The page supporters return to after paying a donation on Stripe keeps Activoice's texts.