quran / quran_android

a quran reading application for android
http://android.quran.com
GNU General Public License v3.0
2.01k stars 888 forks source link

Translate the interface #2086

Open AhmadMusa089 opened 2 years ago

AhmadMusa089 commented 2 years ago

Assalamu Alaikum Wa Rahmatullah!

Is it possible to add a language for app interface?

benomaire commented 2 years ago

Which language?

AhmadMusa089 commented 2 years ago

@benomaire brother, I would like to add Bengali language..

benomaire commented 2 years ago

Do you prefer to work in

AhmadMusa089 commented 2 years ago

I prefer to editing xml, brother @benomaire ...

benomaire commented 2 years ago
  1. Download the English file located here: https://github.com/quran/quran_android/blob/master/app/src/main/res/values/strings.xml
  2. Replace English with Bengali.
  3. While editing, do not touch text like @string/menu_jump_last_page.
  4. If you see %1$d or %2$d or %d, assume it is a number like 7 and keep it as it is in the Bengali text.
  5. If you see %1$s, assume it is some text, usually Surah Name. Keep it as it is in the Bengali text.
  6. Do not translate keys with translatable="false".
  7. If you want to get the plurals correctly in Bengali, you may need to take a look at this page: https://developer.android.com/guide/topics/resources/string-resource
  8. When you are done, push the file in a new directory named values-bn

Let me know if you need any help

AhmadMusa089 commented 2 years ago

Shukran...

@rafidalhaque brother, you can work now!

rafidalhaque commented 2 years ago

Shukran...

@rafidalhaque brother, you can work now!

Jazakallahu Khair, dear brother! For your assistance! I starts working..

cronksreen commented 1 year ago

need any help ?

AhmadMusa089 commented 1 year ago

need any help ?

@cronksreen shukria, it is almost done...