fix the black-layout bug and add chinese locale settings