Transcribe Tag Examples
Entries
Assign entries to a language in the entry editor's Transcribe tab. Use the channel's short name in the tag:
{exp:transcribe:entries channel="about"}
{title}
{/exp:transcribe:entries}
This displays entries assigned to the current language. To include additional languages, add transcribe_add_lang="en|es", using your configured abbreviations. To include additional-language entries only when they lack a related entry in the current language, use fallback_lang="en|es".
Entry IDs
{exp:transcribe:entry_ids channel="about"}
This returns the IDs assigned to the current language in that channel, separated by pipes, for example 1|3. It returns no output when there are no matching entries.
Set a Language
Use a language name defined in Transcribe. This overrides automatic language selection and can redirect the visitor when the language changes, so do not place it in a template intended to follow the visitor's switcher choice.
{exp:transcribe:language name="French"}
{exp:transcribe:translate name="greetings"}Hello{/exp:transcribe:translate}
If the French translation of greetings is Bonjour, it replaces the fallback text.
Translate Variables
Create translations under Variables. Use the variable ID or name and a complete tag pair:
{exp:transcribe:translate id="1"}Hello{/exp:transcribe:translate}
{exp:transcribe:translate name="greetings"}Hello{/exp:transcribe:translate}
If no non-empty translation is found, the text inside the pair is returned.
Low Reorder Entry IDs
If Low Reorder is installed and has a set named test_reorder, its ID list can be passed into Transcribe. Use parse="inward" so the nested tag is parsed first:
{exp:transcribe:entries entry_id="{exp:low_reorder:entry_ids set='test_reorder'}" parse="inward"}
{title}
{/exp:transcribe:entries}
To preserve a supplied order and use the supplied IDs without related-entry substitution:
{exp:transcribe:entries fixed_order="{exp:low_reorder:entry_ids set='test_reorder'}" parse="inward" lookup_related="no"}
{title}
{/exp:transcribe:entries}