Joint Translation and Unit Conversion for End-to-end Localization