add localization support part2