modify the locale resource