fix issue when language list is empty and translation checkbox is used