Sync Qin changes with latest revisions, added more multilanguage support