finish lang_detach lang_indexedby lang_reindex lang_replace

Signed-off-by: zhouyou <zhouyoug@gmail.com>