Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/ios/95.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Ios 使用Cordova中的编辑配置更改InfoPlist.String_Ios_Cordova - Fatal编程技术网

Ios 使用Cordova中的编辑配置更改InfoPlist.String

Ios 使用Cordova中的编辑配置更改InfoPlist.String,ios,cordova,Ios,Cordova,我正在尝试使用以下代码在Cordova中将本地化从英语更改为法语,但是它不起作用。我正在使用PhoneGap构建,所以用这种方式编辑实际文件是唯一的方法 我做错了什么 <edit-config file="locales/fr.lproj/InfoPlist.strings" mode="overwrite" platform="ios" target="NSLocationAlwaysUsageDescription"> <string>Always

我正在尝试使用以下代码在Cordova中将本地化从英语更改为法语,但是它不起作用。我正在使用PhoneGap构建,所以用这种方式编辑实际文件是唯一的方法

我做错了什么

<edit-config file="locales/fr.lproj/InfoPlist.strings" mode="overwrite" platform="ios" target="NSLocationAlwaysUsageDescription">

        <string>Always Usage French Reason</string>

</edit-config>

<edit-config file="locales/fr.lproj/InfoPlist.strings" mode="overwrite" platform="ios" target="NSLocationWhenInUseUsageDescription">

        <string>When In Usage French Reason</string>

</edit-config>

总是用法国的理由
当使用法语时,用法语解释