Making the locale correctly set before always_load

Signed-off-by: Barta Tamás <barta.tamas.d@gmail.com>
Merge pull request #1577 from TamasBarta/1.8/develop

Making the locale correctly set before always_load