[#3] Get current locale using helper functions and
save correct value for default locale instead of
'default'.