How to use multiple DDP_DEFAULT_CONNECTION URLs? Please Help!

I want to add multi language support for my cordova app. The backend is deployed on multiple servers with different URLs like, and so on. Since Google doesn’t allow to deploy multiple apks for different languages I have to use different DDP_DEFAULT_CONNECTION Urls depending on the language.

I tried to add something in the index.html to change __meteor_runtime_config__.DDP_DEFAULT_CONNECTION_URL but it doesn’t work.

I’ve also tried to fork boilerplate-generator which creates the index.html but it doesn’t have any effect. The index.html looks still the same.

What I tried to change is this part:

 <script type='text/javascript'>
    __meteor_runtime_config__ = JSON.parse(decodeURIComponent({{meteorRuntimeConfig}}));

Does anybody know if the boilerplate-generator generates the index.html for cordova? I tried to override the template but the new version isn’t used.