Convert cyrillic alphabet to latin

Problem

I am updating my position on my WordPress website through mobile’s geolocation. Using OpenApi, I send to the endpoint my lat and long and it gaves me back location info, like country, street name, city, and so on.

I am currently in Bulgaria and the results are in cyrillic. I would like to convert the alphabet to latin.

Request

The results are simple strings but written in cyrillic alphabet. Do you know if there is a way to convert the alphabet to the latin?

Hey @Giacomo_Lanzi

There could be other modules available, but we can use OpenAI (ChatGPT) or 0codeKit here.

2 Likes