The application is multi-language (10 languages or so) and it has a lot of audio files in multiple languages. This makes it too large to be one app, thou the logic is all the same. So we decided to separate app into 1 app for 1 language.

What is the best approach to maintaining such app? The logic will be the same, but only resources will change. Having 10 separate projects would be a waste of time.

Maybe to create 9 library projects holding only language-specific data?

Ideally, I would be able to make changes and then export EN version, then export ES, then FR version, etc.

有帮助吗?

解决方案

Create one library project, the logic project.

Then, create a project by each language with have the library project.

Other form is use any VCS, as GIT, and create a brach for each language.

EDIT:

Library projects:

If the logic is the library project, you can create the apks directly from language projects.

But I don't know if you need "dummy files" in logic project for references.

SVC:

You create the master (principal) brach for english (for example). After, you create a new branch "spanish". In this branch, you reemplace the english files by spanish files.

If you need modify the logic, back to master branch, modify the files, change to spanish branch and merge the changes. The merge only modify the lines changed in master and hold the spanish files.

其他提示

Maybe your best choice is to make each language resource pack downloadable as a separate unit (a zipped file).
So each user will download the app and then the language pack (strings, audio files, graphics, videos, ...).

Ideally, you'll update the main app only.
Then the language packs - only if needed.

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top