add locale pre filter