Update SQLite database corresponding to locale android

I am using two locale settings in my app, initially I created a database and a table using the strings available in the string.xml(en-locale). When i try to change the locale dynamically. The other texts in the apps are changing with respect to the locale i had given. But the database content is not changing (i.e its not fetching the string from string(ta-rIN locale).

If i am right the database content is fixed once it is created, that’s why it is not changing with respect to the locale i had changed.

I might assume that one of the solution is to update the table(just by calling some constructors), but how to, how can i update the database content from another activity. enter image description here

Please help me what can i do to change the database content with corresponding to the locale i selected.

Asked on July 17, 2020 in XML.
Add Comment
0 Answer(s)

Your Answer

By posting your answer, you agree to the privacy policy and terms of service.