update router locale definition