I18n does not work in apps packed with Voltbuilder

Code:

<meta http-equiv="Content-Security-Policy" content="
    default-src *; 
    style-src * 'unsafe-inline'; 
    script-src * 'unsafe-inline'; 
    media-src *; img-src * data:; 
" />

Tip : If you’re pasting code, html or config files, surround the code with triple back ticks (```), before the first line and after the last one. It will be formatted properly.

I dug in to this a bit more. It’s not the CSP in this case. To access local files, the browser iOS uses inside an app (wxWebView) needs to be told to use the local filesystem.

Add these lines to your config.xml:

<preference name="scheme" value="app" />
<preference name="hostname" value="localhost" />

(This turned out to be an excellent question - I had no idea this was the answer)

Now “i18n” packed with Voltbuilder for ios runs!!

Thank you very much. Excellent service!