diff --git a/metadata/com.anysoftkeyboard.languagepack.persian.txt b/metadata/com.anysoftkeyboard.languagepack.persian.txt
new file mode 100644
index 0000000000..ecc7be8804
--- /dev/null
+++ b/metadata/com.anysoftkeyboard.languagepack.persian.txt
@@ -0,0 +1,37 @@
+Category:Office
+License:Unknown
+Web Site:http://www.pedramhayati.com/2011/05/15/persianfarsi-language-for-android
+Source Code:https://github.com/pi3ch/persian_anysoftkeyboard
+Issue Tracker:https://github.com/pi3ch/persian_anysoftkeyboard/issues
+
+Name:AnySoftKeyboard: Persian
+Summary:Language pack for AnySoft keyboard
+Description:
+N.B You may need to install Persian fonts. This process would require root
+and is described on the website.
+
+* Full Persian keyboards
+* Farsi and Pinglish word suggestion and auto completion
+* Persian numbers
+
+Dictionaries are based on
+[http://ece.ut.ac.ir/dbrg/Hamshahri/download.html Hamshahri Corpus].
+.
+
+Repo Type:git
+Repo:https://github.com/pi3ch/persian_anysoftkeyboard
+
+#Uses old format, therefore we won't use ASK-API
+Build Version:20120613-persian-numbers,4,!no licence 5c341f2e73,patch=xml.patch;rules.patch,\
+srclibs=AnySoftKeyboardTools@73e9a09496,prebuild=\
+mkdir -p res/raw/ dict/ && rm -rf assets/ gen/ && \
+cp res/xml/pi.xml dict/words.xml && ant dict -f custom_rules.xml && \
+mv res/raw/words_1.dict words_2.dict && \
+cp res/xml/fa.xml dict/words.xml && ant dict -f custom_rules.xml && \
+rm dict/words.xml && mv words_2.dict res/raw/
+
+Auto Update Mode:None
+Update Check Mode:RepoManifest
+Current Version:20120613-persian-numbers
+Current Version Code:4
+
diff --git a/metadata/com.anysoftkeyboard.languagepack.persian/rules.patch b/metadata/com.anysoftkeyboard.languagepack.persian/rules.patch
new file mode 100644
index 0000000000..f950dcbcc3
--- /dev/null
+++ b/metadata/com.anysoftkeyboard.languagepack.persian/rules.patch
@@ -0,0 +1,18 @@
+diff --git a/custom_rules.xml b/custom_rules.xml
+new file mode 100644
+index 0000000..575a987
+--- /dev/null
++++ b/custom_rules.xml
+@@ -0,0 +1,12 @@
++
++
++
++
++
++
++
++
++
diff --git a/metadata/com.anysoftkeyboard.languagepack.persian/xml.patch b/metadata/com.anysoftkeyboard.languagepack.persian/xml.patch
new file mode 100644
index 0000000000..1d2a9ef019
--- /dev/null
+++ b/metadata/com.anysoftkeyboard.languagepack.persian/xml.patch
@@ -0,0 +1,51 @@
+diff --git a/res/values/strings.xml b/res/values/strings.xml
+index c2b8920..57851ec 100755
+--- a/res/values/strings.xml
++++ b/res/values/strings.xml
+@@ -2,6 +2,7 @@
+
+ Persian for AnySoftKeyboard
+ Persian
+- Persian
++ Farsi
++ Pinglish
+ Persian (Pinglish)
+
+diff --git a/res/xml/dictionaries.xml b/res/xml/dictionaries.xml
+index 48243b3..85bab61 100755
+--- a/res/xml/dictionaries.xml
++++ b/res/xml/dictionaries.xml
+@@ -4,23 +4,20 @@
+ id := a UUID (you may want to generate this using our simple Java program at: /trunk/project/dict_creation (uuidgen_Windows.bat or uuidgen_Linux)
+ locale := a locate identifier for this dictionary. E.g., English will be en, Hebrew will be iw, etc.
+ nameResId := the resource Id which holds the name of the dictionary. See strings.xml.
+- type := currently we only support binary dictionaries.
+- dictionaryAssertName := the binary data holder
++ dictionaryResourceId := the binary data holder
+ description := some text you would like to add.
+ -->
+
+
+
+-
+\ No newline at end of file
++ id="634289ff-366c-4cd8-ab69-e8b0eab3fc25"
++ locale="pi"
++ nameResId="@string/pinglish_dictionary"
++ dictionaryResourceId="@raw/words_2"
++ description="Pinglish (Persian with English letters) common word from Hamshahri newspaper dataset"/>
++