« Home

Persian/Farsi Language for Android

update: 14 Jun 2012

Problem


Stock android-based devices do not have support for Persian/Farsi languages as yet (up to version 4.0) but there are some custom modified android devices that some-how support Persian languages. What I mean by Persian language support is the functionality to write and read Persian content. Since I have published one keyboard app for Persian language, many people have contacted me saying "app doesn't work" or how to install Persian fonts on their android devices. Here I am going to share some workarounds on how to install, setup, and configure Persian language support (or any other language) on your android device. This article might be in advanced level so you might ask Android-geek-guy to do it for you!

Persian keyboard for Android


Persian for AnySoftkeyboard is a Persian language keyboard layout for android devices. It can run on all android devices from v1.5+. You can see below app's screenshots:

Persian numbers Persian keyboard for android Pinglish Finglish Keyboard for android

Features


  • Full Persian keyboards
  • Persian words suggestion and auto completion
  • Persian numbers
  • Pinglish keyboard with Pinglish words suggestions

Usage


The key and main step to enable Persian language support is to have 'rooted' devices. What does it mean? It means that you should be able to modify android core files (including font files). No matter what android device you have (HTC, LG, Samsung, Nexus, Motorola etc), all of them are not-rooted. What does that mean? It means you cannot modify/install/add any font on your device. So no Persian language support! ... but wait! Nothing is impossible right? Some geeks have already found some solutions!

Root your device


There are different ways for each android device to get rooted. Here I list some articles for different devices. REMEMBER by rooting your android devices you MIGHT void your device guarantee. Keep this in mind and read the articles below to get your device rooted.

  • HOWTO root HTC Hero: link, another link
  • HOWTO root HTC Desire: link
  • HOWTO root HTC Desire HD: link
  • HOWTO root HTC Legent: link
  • HOWTO root HTC Incredible: link
  • HOWTO root other Android devces (LG, Samsung, Motorola, Nexus, Sony etc): link
  • 2 universal ways to root any Android devices: link1, link2

Congratulation! Your android device is not virgin anymore! Now you can go ahead and play with different part of your device!

Add Persian language support to android (Solution 1)


  • You have rooted device? Okay go ahead.

  • Get Arabic or Persian fonts from here or here.

  • Connect your device to the computer and run following commands (wth?)

adb root
adb shell mount -o rw,remount -t yaffs2 /dev/block/mtdblock3 /system 
 
  • Transfer fonts from /home/pi3ch/fonts/ to /system/fonts directory on your device and reboot.
adb push /home/pi3ch/fonts/ /system/fonts/
adb shell reboot 
 
  • Go to Google Play and search for AnySoftKeyboard, download and install it on your device.

  • Search for "Persian for AnySoftKeyboard" on Play, download and install on your device.

  • Select AnySoftKeyboard as your default keyboard and choose Persian as your keyboard in AnySoftKeyboard settings (Need help?).

  • Enjoy typing and searching in Persian!

Add Persian language support to android (Solution 2)


  • You have rooted device? Okay go ahead.
  • Download and flash one of the custom-made ROMs for your android device. What does it mean? There are some geeks out there that have spare time to modify android core files and make a better android system for your device. These modified android systems are called custom ROMs. Cyanogen (or CM) is a name of one the most famous custom ROMs that also support Persian language. Below link can help you to find a CM-based ROM for your device. CyanogenMod (CM) based roms for most of android devices
  • Go to Play and search for AnySoftKeyboard, download and install it on your device.

  • Search for "Persian for AnySoftKeyboard" on Play, download and install on your device.

  • Select AnySoftKeyboard as your default keyboard and choose Persian as your keyboard in AnySoftKeyboard settings (Need help?).

  • Enjoy typing and searching in Persian!

Pinglish keyboard


Pinglish keyboard has similar layout to English keyboard layout, the only difference is the suggested wordlist. To see this layout when you are on Persian layout, simply tap on ' > ABC >'. For example if you have enabled English and Persian and Persian (Pinglish) layouts the order going to be English (tap > ABC >) Persian (tap > ABC >) Persian (Pinglish) (tap > ABC >) English ...

Download


Download from Google play or you can alternatively download Persian for AnySoftKeyboard by scanning the QR code below with your android device.

Download Persian keyboard for Android

Tips for using Persian keyboard


  • Tap and hold on some letters to get alternative letters or numbers (e.g. گ ژ ی).
  • Tap on ی to get Persian ی .
  • To read Persian website you can use either Persian Web Browser or Opera Mini on your device.

Notes


  • Persian ی that comes in the middle of sentence coverts to a square with some android fonts. Thats the reason I set the default to Arabic ی .
  • This is open source application. Feel free to contribute:
  • If you have any issues/feedback/comment use github issues or comments below.