Source

wheezy.web / demos / quickstart-i18n / content / templates / shared / snippet / menu-locale.html

1
2
3
4
5
6
#require(_)
@require(path_for, route_args)
<i>
    <a href="@path_for(route_args.route_name, locale='en')">#_('English')</a> | \
    <a href="@path_for(route_args.route_name, locale='ru')">#_('Russian')</a>
</i>