translation update and fix for some compile bugs