add lang manage function.