Reduce call to database to get locale code as we already have it