Chris
Chris

Reputation: 1311

Update various strings.xml for valid reason

I'm developing an application which is multi-lingual supported. Now i have not filled my values folder with any strings. My doubt is

Or is there any other way to achieve this?

Upvotes: 0

Views: 41

Answers (1)

Gabe Sechan
Gabe Sechan

Reputation: 93569

Not directly- the android string system requires everything to be in resources at compile time. Of course, you can always just not use that and provide your own string lookup. Back in the mid-2000s we did that on some big websites with a Berkley DB of all the various strings in each language, and we just pulled new DBs as needed. But to do something like that you'd have to completely not use Android's built in system and roll your own.

Upvotes: 1

Related Questions