0

is there any way to use different string files? I know that I can create files for another languages, but I want to load different files for English, depending on some initial value. It will be good if I could have one more file with default value. It is possible?

maatik5
  • 148
  • 16

1 Answers1

1

Android string resources are optimized for supporting different locales and you can force app to use particular locale. If you want use custom dictionaries for one language I would recommend to use custom class that will read string-array resources. Imho nice example is: Dirty Phrasebook

Few articles about this app, Source code

3mpty
  • 1,354
  • 8
  • 16
  • It's ok, but it isn't comfortable option in my project, but...I think It is the only way to do this. – maatik5 Jun 24 '15 at 06:56
  • It's Android :P. Allows many things apart from standard ones but it doesn't mean that will help with those :) – 3mpty Jun 24 '15 at 11:28