I want to add multi language support for my cordova app. The backend is deployed on multiple servers with different URLs like de.mydomain.com, en.mydomain.com 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_UR
L 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}}));