Choosing language I see http://github.com/ and OpenBSD.org got 2 examples how to. Github has a dropdown and openbsd.org just links. Which kind of UI for this use case could you recommend? I now take the parameter hl=el for instance for greek which switches i18n internals to greek or other language and present available languages like this
{% get_current_language as LANGUAGE_CODE %} <b>{{ LANGUAGE_CODE }}</b>{% get_available_languages as LANGUAGES %}{% for LANGUAGE in LANGUAGES %}{% ifnotequal LANGUAGE_CODE LANGUAGE.0 %} <a href='?hl={{ LANGUAGE.0 }}'>{{ LANGUAGE.0 }}</a>{% endifnotequal %}{% endfor %}
It's possible to think other parameter handling than for instance http get hl=el for a greek ui and there is no obvious standard. Most sites seem to use a dropdown where a combined dropdown with most common languages directly by links also look feasible option. I hope you can comment or recommend these alternatives.