—UPDATED FROM THE COMMENTS—
As Symfony 2.1, you must use
{{ app.request.locale }}
or
{{ app.request.getLocale() }}
which returns app.request.locale
if available and app.request.defaultLocale
if app.request.locale
is not set.
—UPDATED FROM THE COMMENTS—
As Symfony 2.1, you must use
{{ app.request.locale }}
or
{{ app.request.getLocale() }}
which returns app.request.locale
if available and app.request.defaultLocale
if app.request.locale
is not set.