Make ajax request locale-aware.