add Chinese localization and fixed some bugs