Slim3 JSP‎ > ‎

locale

This function returns the current locale that is set by FrontController#processLocale().
For example:
<%@taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>
<%@taglib prefix="f" uri="http://www.slim3.org/functions"%>

<fmt:setLocale value="${f:locale()}"/>

See demo and sample source.

Next...

Continue to timeZone.


Comments