0

I am stuck at two things.

  1. I need to convert my android app from English to two other languages(let's say Urdu and Telugu).
  2. And also convert the data which is coming from backend. Sometimes I get the Urdu language from backend and show it in the same language in my app also but my app is showing QUESTION MARKS.

so for 1: is there any library I can use to convert the whole application into another language by a single click or creating strings.xml for all languages only the solution?

for 2: How to show the backend data into the desired language from the app?

someone, please help

Manognya
  • 1
  • 2

1 Answers1

0
  1. StackOverflow: Change app language programmatically in Android

Article: https://proandroiddev.com/change-language-programmatically-at-runtime-on-android-5e6bc15c758


  1. You should write your own resource manager if you want to translate the app from the backend server.
Nikita Lapin
  • 149
  • 1
  • 1
  • 8
  • for 1: all the examples showing to write in each activity. but couldn't find any solution for writing one code for whole application. And can you show me sample how to create resource manager? – Manognya Jul 11 '19 at 08:33
  • It's Russian, but hope you'll understand google translate https://habr.com/ru/company/badoo/blog/346458/ https://habr.com/ru/company/badoo/blog/348350/ – Nikita Lapin Jul 12 '19 at 09:17