Hello, I have an address like "Mountain View, Unit...
# getting-started
y
Hello, I have an address like "Mountain View, United States" I would like to translate addresses like these to Arabic addresses. does anyone have an idea how I can do this is there certain apis? google translate does a great job with this, I tried apis like https://libretranslate.com its just not the same
h
If Google Translate does it right, just use that: https://cloud.google.com/translate/docs/overview Also, this question doesn't seem kotlin-specific at all.
y
ya but google translate require money dont it?
y
This question might be more apt for #C09222272 because this isn't really Kotlin-specific. To answer your question though, I've tried and gotten good results out of LLMs translating from English to Arabic and vice versa. I'd imagine one of the low-powered Anthropic models might do very well at this task, since it doesn't require many tokens or anything. Not affiliated with any AI companies btw, I just happen to know that Anthropic has cheaper models.
👍 1
Oh also, I think Google Maps has Arabic addresses at least in Arab countries, and so maybe the Maps API could help?