JM Lord
JM Lord

Reputation: 1197

Share / move localized strings across Android projects

Some applications often happen to use the same strings. Say we have project A already translated in 19 languages, in which many strings will be used in a similar context in project B.

Is there a tool that could extract a subset of strings from the 19 localized xml in project A and contribute them to project B's xml files?

For example, in the Android Studio translation editor, if we could copy-paste the whole rows from one file to another, that would already help a lot!

Upvotes: 4

Views: 1283

Answers (1)

instanceMaster
instanceMaster

Reputation: 501

You can create Android Library (AAR) with all the string (and other resources) you want to share across your projects. Details are here: https://developer.android.com/studio/projects/android-library.html

Upvotes: 1

Related Questions