firebase database - RealTimeDataBase shows different text depending on language device Android -


is possible use realtimedatabase google set content depending on device's language?

right have different string.xml this, show content database google.

for example, in description of main screen shows content in english english users, in russian russians , on, taking info realtimedatabase, knows how it?

you may store content under language node in database. example:

 - english:  - - content1  - - content2  - french:  - - content1  - - content2 

so can device language , query database parameter child. should handle case don't have content in device's language.


Comments

Popular posts from this blog

python - Operations inside variables -

Generic Map Parameter java -

arrays - What causes a java.lang.ArrayIndexOutOfBoundsException and how do I prevent it? -