localize the resouce
fisrt version