support 5.7 and translation.