Android string.xml resource file from server

后端 未结 4 1883
遇见更好的自我
遇见更好的自我 2021-01-12 08:33

As we know already e.g. we cannot change res folder values and files at runtime,

I am working on an app, in which we are supporting more than 25 languag

4条回答
  •  没有蜡笔的小新
    2021-01-12 09:01

    Unfortunatelly resources couldn't be changed after compilation. The only way for you is to download language shema from server (i.e when app starts) and save it (or update if needed) in sqlite, file or in shared preferences (the storage options: https://developer.android.com/guide/topics/data/data-storage.html#filesInternal).

提交回复
热议问题