Great to hear that you are looking into this. :)

On 9 Feb, 09:06, Dianne Hackborn <hack...@android.com> wrote:
> Actually the resource table (which includes all strings) is not stored
> compressed, so it can be mmapped.  Worse, the strings are stored as UTF-16.
>  (I know, I know, that was dumb.  I am ashamed.)
>
> Bloated apps as the number of localizations increase is definitely an issue
> (look at Maps as an example), which we will hopefully be addressing this
> year.
>
>
>
>
>
> On Mon, Feb 8, 2010 at 2:00 PM, 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<android-developers%2Bunsubs 
> > cr...@googlegroups.com>
> > For more options, visit this group at
> >http://groups.google.com/group/android-developers?hl=en
>
> --
> Dianne Hackborn
> Android framework engineer
> hack...@android.com
>
> Note: please don't send private questions to me, as I don't have time to
> provide private support, and so won't reply to such e-mails.  All such
> questions should be posted on public forums, where I and others can see and
> answer them.

-- 
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

Reply via email to