I want to convert Farsi letters to English letters in PHP and I don't want to translate them. In Farsi we call it Finglish or Pinglish as you can see here :
سلام -> Salam
علی -> Ali
and so on, I searched the web but didn't find any useful API to use. Any idea?
Google has also added Persian (Farsi) to Google Translate, making it easy to translate any text from Farsi into English and from English into Farsi.
Clicking on the icon to toggle on/off the current transliteration or clicking on the arrow next to it to select another input tool. When Transliteration is toggled on, the button becomes a darker grey . When using a transliteration, type the word phonetically in Latin characters.
In the Estonian language, the phrase "12 months" is said "kaksteist kuud."
What you're describing is called transliteration or Romanization. You might want to try using Transliterator::transliterate, which uses ICU transliteration.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With