finish locale udid fix (fix #1773)