Build localization into the API