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 language, hance APK size is increased drastically due to these string files, we are very concerned about the APK size, so we don't want to keep all these string.xml
files locally in the project(inside apk).
What we are thinking is we will keep only English string.xml
inside res
, and all other locales string.xml
should be downloaded from the server on application launch on the need basis.
So we are planning to create our own getResource( key, currentLocale)
, and then this will read from an XML(or text) file which will be downloaded from the server.
Please suggest any better ideas or some ways around it.
Thanks for your support.