Transcribe Documentation

Language Switcher

Transcribe provides a tag you can use to create a custom language switcher: language_links. Below are two examples of how you could use it:

Example as drop-down:

<form action="{exp:transcribe:action_url}" method="post">
<input type="hidden" name="XID" value="{XID_HASH}">
{exp:transcribe:language_links}
    <select name="lang">
        {languages}
            <option value="{abbreviation}"{if current} selected="selected"{/if}>{name}</option>
        {/languages}
    </select>
{/exp:transcribe:language_links}

<input type="submit" name="submit" value="Submit" />
</form>

Example as links list:

{exp:transcribe:language_links}
<ul>
    {languages}
        <li><a href="{link}"{if current} class="active"{/if}>{name}</a></li>
    {/languages}
</ul>
{/exp:transcribe:language_links}

If you are running into an issue with restricted characters in the URI, you will need to append '=&' to the value of $config['permitted_uri_chars'] in the control panel.

Trailing Slash

If you wish to remove the trailing slash when Transcribe redirects after the user chooses a language, add this config override setting to your `config.php` file:

$config['transcribe_trim_trailing_slash'] = 'yes';

Support

Having problems setting up and/or using Transcribe? Support is offered from 10am to 4pm EST weekdays. Send us an email at help@eeharbor.com and we will respond as quickly as we can.