The documentation on https://octobercms.com/plugin/rainlab-translate shows code examples like:
Event::listen('translate.localePicker.translateParams', function($page, $params, $oldLocale, $newLocale) {
if ($page->baseFileName == 'your-page-filename') {
return YourModel::translateParams($params, $oldLocale, $newLocale);
}
});
{{ form_open() }}
<select id='I18N_SELECT'>
<option value="none" hidden></option>
{% for code, name in locales %}
{% if code != activeLocale %}
<option value="{{code}}" name="locale">{{code | upper }}</option>
{% endif %}
{% endfor %}
</select>
{{ form_close() }}
where the <, > and " characters are displayed as <, > and ".
@LukeTowers is this due to some double-encoding happening on the marketplace?
@bennothommo it would make sense since it's properly rendered on github...
Yes @bennothommo, it's something that @daftspunk is going to have to fix.