View Single Post
MohammadAG's Avatar
Posts: 2,473 | Thanked: 12,265 times | Joined on Oct 2009 @ Jerusalem, PS/IL
#120
Recitation is already implemented, not sure how to actually make into a package, it might be a bit hard to get this working side by side with the translations since they edit the whole .noor file.

Currently working on using Terminal (not a lot so won't be confusing) to change the language of the UI.
Code:
#!/bin/sh
CURRENT=run-standalone.sh cat /home/user/.noor | grep lang | grep -v \# | tail -c 3
echo "Supported languages:
 en (English - default)
 ar (Arabic)
 fa (Farsi)
 ml (Malayalam)
 ps (Pushto)
 tr (Turkish)
 nl (Dutch - Thanks to HtheB!)"
echo "Type the two letters of the language you want for the UI:"
read input_variable
sed -i s/lang\ \=\ $CURRENT/lang\ \=\ $input_variable/g /home/user/.noor
It isn't working well since it doesn't actually substitute the variables, instead it tries to changes lang = $CURRENT as it is, not as lang = en.
Will see how this goes.

Edit: One more thing, I didn't actually make noor, it's a PyGTK app made for linux, I just ported it, and qwerty12 helped loads with hildonization.

Looking up docs on how to change the Quran view to use kinetic scrolling (as in pygtkeditor and leafpad)

Last edited by MohammadAG; 2010-04-22 at 22:34.
 

The Following 2 Users Say Thank You to MohammadAG For This Useful Post: