2011/8/17 Nick Risaro <nris...@gmail.com> > On Wed, Aug 17, 2011 at 3:26 PM, Daniel Rindt <daniel.ri...@googlemail.com > > wrote: > >> Hi droids, >> >> i am looking for a possibility to access to the translation via the >> translation key like "my_cart". The reason is that the datasource is more >> complex and written in xml which is residing in res/raw. So in this xml is >> just configured which translation key should be used. How can i achieve >> that? >> > > What? >
Hi Nick, the regular way is like getString(R.string.my_cart); but i wan't to have it like: getString("my_cart"); because i just have the key. Thanks -- 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