문제

I have an Android application (E-commerce) in English, Now I want to change language to Arabic and RTL(Right to Left)

  • I am new in that, where and how much efforts it take?
  • What specific problems should I look out for?
도움이 되었습니까?

해결책

What i have done in my app:

  • fix layout. If you use the newest android studio the function "Analyse/Inspect-Code" provides warning if you for example use layout_alignParentRight (rtl independant) without layout_alignParentEnd (rtl dependant)
  • Make shure that all text are put into string resource files (app\src\main\res\values\strings.xml for the english text). Then copy this file to app\src\main\res\values-ar\strings.xml and let somboedy translate it to arabic. Use a texteditor that can handle mixed rtl/non-rtl text if you have arabic text with english placeholders. I use notepad++ with option set "enforce rtl".
라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 softwareengineering.stackexchange
scroll top