Thanks, Just what I thought. I will currently only support 4 languages, but the size of the apk is almost 400 kB already, and that's with only one language. Just wanted to try and keep the apk as small as possible. I will however include the other languages in the APK since they only will add something like 50 kB (or less I hope).
On 8 Feb, 23:00, "Mark Murphy" <mmur...@commonsware.com> wrote: > > Is it possible to have an external strings.xml or something like that? > > I'd like to translate my application into several different languages, > > but the apk would become to large if I include all languages. I would > > instead like to be able to load languages on demand (from an external > > url) and store them on the sdcard. > > > Is that possible in any way? How could I in that case use the new > > language? > > The built-in resource system cannot use language files outside the APK. > That doesn't prevent you from rolling your own system, though. > > Also, bear in mind that string resources are going to be compressed in the > APK file, so unless you have some insane number of strings (tens of > thousands), or lots of really long strings, I wouldn't expect size of the > APK to be a big concern. > > -- > Mark Murphy (a Commons Guy)http://commonsware.com > Android App Developer Books:http://commonsware.com/books.html -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en