How can I get current locale in thymeleaf template ?
I've tried
<html xmlns:th="http://www.thymeleaf.org" lang="${#locale}" xml:lang="${#locale}" class="no-js">
and
<html xmlns:th="http://www.thymeleaf.org" lang="${request.locale}" xml:lang="${request.locale}" class="no-js">
but none of both works
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…