4👍
Use the get_current_language
tag:
<!doctype html>
{% load i18n %}
{% get_current_language as LANGUAGE_CODE %}
<html class="no-js" lang="{{ LANGUAGE_CODE }}">
Source:stackexchange.com
4👍
Use the get_current_language
tag:
<!doctype html>
{% load i18n %}
{% get_current_language as LANGUAGE_CODE %}
<html class="no-js" lang="{{ LANGUAGE_CODE }}">