Sets a variable with the active locale (useful into the views)