Quran_android: [Turkish] Diyanet Isleri translation is outdated

Created on 10 Mar 2020  ·  13Comments  ·  Source: quran/quran_android

Salam.

The one we have is same as in the tanzil and, apparently, tanzil has an old version.

See, for comparison, Al-Imran 199:

tanzil | (official) Diyanet İşleri
------------- | -------------
Kitap ehlinden Allah'a huşu duyarak inanıp, Allah'ın ayetlerini az bir değere değişmeyenler vardır. İşte onların ecirleri Rablerinin katındadır. Şüphesiz Allah'ın hesabı çabuktur. | Kitap ehlinden öyleleri var ki, Allah'a, size indirilene ve kendilerine indirilene, Allah'a derinden saygı duyarak inanırlar. Allah'ın âyetlerini az bir değere satmazlar. Onlar var ya, işte onların, Rableri katında mükafatları vardır. Şüphesiz Allah hesabı çabuk görendir.

Most helpful comment

deployed - jazakAllah khairan for this @ozbek !

All 13 comments

Wa3laikum alsalam,
JazakAllah khairan - can someone volunteer to scrape this and get us a new version?

I could take on that... We had a table somewhere which surah/ayah refers to which page?

Would JSON format work for you? Also, there are many cases where multiple ayahs are merged in translation text.

Al-Fatihah:

{"1.1": "Bismillahirrahmânirrahîm"},
{"1.2-4": "Hamd, Âlemlerin Rabbi, Rahmân, Rahîm, hesap ve ceza gününün (ahiret gününün) maliki Allah'a mahsustur."},
{"1.5": "(Allahım!) Yalnız sana ibadet ederiz ve yalnız senden yardım dileriz."},
{"1.6-7": "Bizi doğru yola, kendilerine nimet verdiklerinin yoluna ilet; gazaba uğrayanlarınkine ve sapıklarınkine değil."}

Aal-E-Imran:

{"3.1": "Elif Lâm Mîm."},
{"3.2": "Allah, kendisinden başka hiçbir ilah bulunmayandır. Diridir, kayyumdur."},
{"3.3-4": "O, sana Kitab'ı hak ve kendisinden öncekileri doğrulayıcı olarak indirdi. O, daha önce Tevrat'ı ve İncil'i insanlar için birer hidayet olarak indirmişti.Furkan'ı da indirdi. Şüphesiz, Allah'ın âyetlerini inkar edenler için şiddetli bir azap vardır. Allah mutlak güç sahibidir, intikam sahibidir."}

Is that good enough?

sure, that would work - perhaps easier even is csv using a non comma delimiter - maybe | - but no problem either way.

i have some way to deal with those duplicates (i have to double check) but i do it for the Arabic tafaseer now too so can do the same for this to say "see ayah 3" when you look at 3:4 for example.

jazakAllah khairan for doing this!

jazakAllah khairan - will try this out and update you.

i wrote a script to parse this format (just need to make it into the database format). i am think something needs tweaking though - at the bottom for example, there is:

[
  {
    "112.1": "De ki: \"O, Allah'tır, bir tektir.\""
  },
  {
    "112.2": "\"Allah Samed'dir. (Her şey O'na muhtaçtır, o, hiçbir şeye muhtaç değildir.)\""
  },
  {
    "112.3": "Ondan çocuk olmamıştır (Kimsenin babası değildir). Kendisi de doğmamıştır (kimsenin çocuğu değildir).\""
  },
  {
    "112.4": "\"Hiçbir şey O'na denk ve benzer değildir.\""
  },
  {
    "112.1-5": "De ki: \"Yarattığı şeylerin kötülüğünden, karanlığı çöktüğü zaman gecenin kötülüğünden, düğümlere üfleyenlerin kötülüğünden, haset ettiği zaman hasetçinin kötülüğünden, sabah aydınlığının Rabbine sığınırım.\""
  },
  {
    "112.1-6": "De ki: \"Cinlerden ve insanlardan; insanların kalplerine vesvese veren sinsi vesvesecinin kötülüğünden, insanların Rabbine, insanların Melik'ine, insanların İlah'ına sığınırım.\""
  }
]

and there is no 113 and 114.

Updated above.

can you give this a shot? had to change 18:46 (copied it directly from the website) because the data was saying "null" only for it - also a handful of rows were split across 2 pages so had to join those with the script but all is good - if you want to see the linking properly you'll have to trick the app into thinking the minimum version is 5 - line 109 of BaseTranslationPresenter, otherwise you'll see numbers.

quran.tr.diyanet.db.zip

Looks good to me :+1:

had to change 18:46 (copied it directly from the website) because the data was saying "null"

I don't know how that could happen :\ Probably a network issue or the text wasn't available when I was crawling... I don't know )

Ping @ahmedre! What's happening with this one? :)

deployed - jazakAllah khairan for this @ozbek !

Was this page helpful?
0 / 5 - 0 ratings

Related issues

ahmedre picture ahmedre  ·  12Comments

muafakul picture muafakul  ·  14Comments

sadraNOORME picture sadraNOORME  ·  5Comments

ahmedre picture ahmedre  ·  4Comments

MahmoudMabrok picture MahmoudMabrok  ·  4Comments