Cordova 仅西班牙语应用程序,带PhoneGap构建
我在使用PhoneGap Build构建应用程序时遇到问题。我使用3.3.0版 我的应用程序只有西班牙语版本。但当我创建应用程序并将其安装到iPhone上时,会出现一些消息,如复制、粘贴、选择图像。。。保持英语水平。 我需要这封信用西班牙语写。 有图像可以查看我的错误:Cordova 仅西班牙语应用程序,带PhoneGap构建,cordova,Cordova,我在使用PhoneGap Build构建应用程序时遇到问题。我使用3.3.0版 我的应用程序只有西班牙语版本。但当我创建应用程序并将其安装到iPhone上时,会出现一些消息,如复制、粘贴、选择图像。。。保持英语水平。 我需要这封信用西班牙语写。 有图像可以查看我的错误: d2r1vs3d9006ap.cloudfront.net/s3_images/1086847/error1_inline.png d2r1vs3d9006ap.cloudfront.net/s3_images/1086848
d2r1vs3d9006ap.cloudfront.net/s3_images/1086847/error1_inline.png
d2r1vs3d9006ap.cloudfront.net/s3_images/1086848/error2_inline.png
d2r1vs3d9006ap.cloudfront.net/s3_images/1086849/error3_inline.png
在HTML代码中,我将:
<!DOCTYPE html>
<html lang="es">
<head>
<meta charset="utf-8">
<meta content="width=device-width, minimum-scale=1.0, maximum-scale=1.0;" name="viewport">
<meta name="viewport" content="width=device-width, initial-scale=1.0,maximum-scale=1.0;" /> ...
这是我的config.xml:
<?xml version="1.0" encoding="UTF-8" ?>
<widget xmlns = "http://www.w3.org/ns/widgets"
xmlns:gap = "http://phonegap.com/ns/1.0"
id = "es.dario.app"
versionCode="10"
version = "1.0">
<name>Titulo de la App</name>
<description>Descipción de la App</description>
<author href="Dario">Dario</author>
<content src='login.html'/>
<access origin="*"/>
<!-- PREFERENCE -->
<preference name="phonegap-version" value="3.3.0" />
<preference name="orientation" value="portrait" />
<preference name="fullscreen" value="true" />
<preference name="stay-in-webview" value="false" />
<preference name="target-device" value="universal" />
<preference name="prerendered-icon" value="true" />
<preference name="ios-statusbarstyle" value="default" />
<preference name="detect-data-types" value="true" />
<preference name="exit-on-suspend" value="false" />
<preference name="show-splash-screen-spinner" value="true" />
<preference name="auto-hide-splash-screen" value="true" />
<preference name="EnableViewportScale" value="true" />
<preference name="TopActivityIndicator" value="white" />
<preference name="KeyboardDisplayRequiresUserAction" value="true" />
<preference name="android-minSdkVersion" value="7" />
<preference name="android-installLocation" value="internalOnly" />
<preference name="SplashScreenDelay" value="5000" />
<preference name="BackgroundColor" value="0xffffff"/>
<preference name="disable-cursor" value="true" />
<!-- PLATFORM -->
<gap:platform name="ios" />
<gap:platform name="android" />
<gap:platform name="winphone" />
<!-- PLUGIN -->
<gap:plugin name="org.apache.cordova.inappbrowser" />
<gap:plugin name="nl.x-services.plugins.socialsharing" />
<!-- FEATURE -->
<feature name="http://api.phonegap.com/1.0/camera"/>
<!-- ICONOS -->
<icon src="icons/ios/icon57.png" gap:platform="ios" width="57" height="57" />
<icon src="icons/ios/icon72.png" gap:platform="ios" width="72" height="72" />
<icon src="icons/ios/icon114.png" gap:platform="ios" width="114" height="114" />
<icon src="icons/ios/icon144.png" gap:platform="ios" width="144" height="144" />
<icon src="icons/ios/icon76.png" gap:platform="ios" width="76" height="76" />
<icon src="icons/ios/icon120.png" gap:platform="ios" width="120" height="120" />
<icon src="icons/ios/icon152.png" gap:platform="ios" width="152" height="152" />
<icon src="icons/android/icon36.png" gap:platform="android" gap:density="ldpi" />
<icon src="icons/android/icon48.png" gap:platform="android" gap:density="mdpi" />
<icon src="icons/android/icon72.png" gap:platform="android" gap:density="hdpi" />
<icon src="icons/android/icon-96.png" gap:platform="android" gap:density="xhdpi" />
<icon src="icons/android/icon144.png" gap:platform="android" gap:density="xxhdpi" />
<icon src="icons/winphone/icon62.png" gap:platform="winphone" />
<icon src="icons/winphone/icon173.png" gap:platform="winphone" gap:role="background" />
<icon src="icon64.png" />
<!-- SPLASH -->
<gap:splash src="splash/ios/splash320x480.png" gap:platform="ios" width="320" height="480" />
<gap:splash src="splash/ios/splash480x320.png" gap:platform="ios" width="480" height="320" />
<gap:splash src="splash/ios/splash640x960.png" gap:platform="ios" width="640" height="960" />
<gap:splash src="splash/ios/splash960x640.png" gap:platform="ios" width="960" height="640" />
<gap:splash src="splash/ios/splash640x1136.png" gap:platform="ios" width="640" height="1136" />
<gap:splash src="splash/ios/splash1136x640.png" gap:platform="ios" width="1136" height="640" />
<gap:splash src="splash/ios/splash768x1024.png" gap:platform="ios" width="768" height="1024 " />
<gap:splash src="splash/ios/splash1024x768.png" gap:platform="ios" width="1024" height="768" />
<gap:splash src="splash/ios/splash1536.png" gap:platform="ios" width="1536" height="2048" />
<gap:splash src="splash/ios/splash2048.png" gap:platform="ios" width="2048" height="1536" />
<gap:splash src="splash/android/splash240x400.png" gap:platform="android" gap:density="ldpi" />
<gap:splash src="splash/android/splash320x480.png" gap:platform="android" gap:density="mdpi" />
<gap:splash src="splash/android/splash480x800.png" gap:platform="android" gap:density="hdpi" />
<gap:splash src="splash/android/splash720x960.png" gap:platform="android" gap:density="xhdpi" />
<gap:splash src="splash/winphone/splash480x800.png" gap:platform="winphone" />
<gap:splash src="splash.png" />
</widget>
为了安装和运行我的应用程序,我在编译后从Phonegap版本下载了.ipa。
连接到MAC后,当我使用iTunes打开它时,双击iTunes中应用程序的.ipa并安装它
你能帮我吗?
谢谢我也有同样的问题,在互联网上到处找,但找不到答案。。。经过深思熟虑,我终于明白了 我刚刚在config.xml文件中添加了以下内容:
<gap:config-file platform="ios" parent="CFBundleDevelopmentRegion" overwrite="true">
<string>French</string>
</gap:config-file>
在您的情况下,您只需要将法语替换为西班牙语或任何其他语言,它应该会起作用!但我想现在对你来说可能有点晚了
我使用的是Phonegap 3.7.0您在设备上使用的语言是什么?这些信息似乎来自操作系统,而不是应用程序。要看西班牙语的手机,手机的语言必须是西班牙语。西班牙语。。。全部用西班牙语。。。