{% if activeLocale == 'de' %}
    {% component 'staticMenuDE' class="nav navbar-nav navbar-right" %}
{% else %}
    {% component 'staticMenuEN' class="nav navbar-nav navbar-right" %}
{% endif %}

https://octobercms.com/plugin/rainlab-translate

Categories: October CMS