You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by mw...@apache.org on 2013/08/30 19:25:57 UTC

[07/36] Add edge for Spanish, French, and Chinese.

http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/992e9151/docs/zh/edge/cordova/geolocation/parameters/geolocation.options.md
----------------------------------------------------------------------
diff --git a/docs/zh/edge/cordova/geolocation/parameters/geolocation.options.md b/docs/zh/edge/cordova/geolocation/parameters/geolocation.options.md
new file mode 100644
index 0000000..3eb950c
--- /dev/null
+++ b/docs/zh/edge/cordova/geolocation/parameters/geolocation.options.md
@@ -0,0 +1,34 @@
+---
+
+license: Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
+
+           http://www.apache.org/licenses/LICENSE-2.0
+    
+         Unless required by applicable law or agreed to in writing,
+         software distributed under the License is distributed on an
+         "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+         KIND, either express or implied.  See the License for the
+         specific language governing permissions and limitations
+    
+
+   under the License.
+---
+
+# geolocationOptions
+
+若要自定义的地理定位检索的可选参数`Position`.
+
+    {maximumAge: 3000,超时: 5000,enableHighAccuracy: true} ;
+    
+
+## 选项
+
+*   **enableHighAccuracy**: 提供应用程序需要最佳的可能结果的提示。 默认情况下,该设备将尝试检索 `Position` 使用基于网络的方法。 将此属性设置为 `true` 告诉要使用更精确的方法,如卫星定位的框架。 *(布尔值)*
+
+*   **超时**: 时间 (毫秒) 从调用传递,允许的最大长度 `geolocation.getCurrentPosition` 或 `geolocation.watchPosition` 直到相应的 `geolocationSuccess` 回调执行。 如果 `geolocationSuccess` 不会在此时间内调用回调 `geolocationError` 传递回调 `PositionError.TIMEOUT` 错误代码。 (请注意,与一起使用时 `geolocation.watchPosition` 、 `geolocationError` 的时间间隔可以调用回调每 `timeout` 毫秒!)*(人数)*
+
+*   **maximumAge**: 接受其年龄大于指定以毫秒为单位的时间没有缓存的位置。*(人数)*
+
+## Android 的怪癖
+
+Android 2.x 仿真器不返回地理定位结果除非 `enableHighAccuracy` 选项设置为`true`.
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/992e9151/docs/zh/edge/cordova/geolocation/parameters/geolocationError.md
----------------------------------------------------------------------
diff --git a/docs/zh/edge/cordova/geolocation/parameters/geolocationError.md b/docs/zh/edge/cordova/geolocation/parameters/geolocationError.md
new file mode 100644
index 0000000..68de77f
--- /dev/null
+++ b/docs/zh/edge/cordova/geolocation/parameters/geolocationError.md
@@ -0,0 +1,28 @@
+---
+
+license: Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
+
+           http://www.apache.org/licenses/LICENSE-2.0
+    
+         Unless required by applicable law or agreed to in writing,
+         software distributed under the License is distributed on an
+         "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+         KIND, either express or implied.  See the License for the
+         specific language governing permissions and limitations
+    
+
+   under the License.
+---
+
+# geolocationError
+
+当有地理定位功能错误时执行的用户的回调函数。
+
+    function(error) {
+        // Handle the error
+    }
+    
+
+## 参数
+
+*   **错误**: 设备所返回的错误。*() PositionError*
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/992e9151/docs/zh/edge/cordova/geolocation/parameters/geolocationSuccess.md
----------------------------------------------------------------------
diff --git a/docs/zh/edge/cordova/geolocation/parameters/geolocationSuccess.md b/docs/zh/edge/cordova/geolocation/parameters/geolocationSuccess.md
new file mode 100644
index 0000000..4218880
--- /dev/null
+++ b/docs/zh/edge/cordova/geolocation/parameters/geolocationSuccess.md
@@ -0,0 +1,41 @@
+---
+
+license: Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
+
+           http://www.apache.org/licenses/LICENSE-2.0
+    
+         Unless required by applicable law or agreed to in writing,
+         software distributed under the License is distributed on an
+         "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+         KIND, either express or implied.  See the License for the
+         specific language governing permissions and limitations
+    
+
+   under the License.
+---
+
+# geolocationSuccess
+
+用户的地理位置变得可用时执行的回调函数 (当从调用 `geolocation.getCurrentPosition` ),或 (当从调用位置的更改时`geolocation.watchPosition`).
+
+    function(position) {
+        // Do something
+    }
+    
+
+## 参数
+
+*   **位置**: 返回设备的地理位置。*(位置)*
+
+## 示例
+
+    function geolocationSuccess(position) {
+        alert('Latitude: '          + position.coords.latitude          + '\n' +
+              'Longitude: '         + position.coords.longitude         + '\n' +
+              'Altitude: '          + position.coords.altitude          + '\n' +
+              'Accuracy: '          + position.coords.accuracy          + '\n' +
+              'Altitude Accuracy: ' + position.coords.altitudeAccuracy  + '\n' +
+              'Heading: '           + position.coords.heading           + '\n' +
+              'Speed: '             + position.coords.speed             + '\n' +
+              'Timestamp: '         + position.timestamp                + '\n');
+    }
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/992e9151/docs/zh/edge/cordova/globalization/GlobalizationError/globalizationerror.md
----------------------------------------------------------------------
diff --git a/docs/zh/edge/cordova/globalization/GlobalizationError/globalizationerror.md b/docs/zh/edge/cordova/globalization/GlobalizationError/globalizationerror.md
new file mode 100644
index 0000000..9413390
--- /dev/null
+++ b/docs/zh/edge/cordova/globalization/GlobalizationError/globalizationerror.md
@@ -0,0 +1,84 @@
+---
+
+license: Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
+
+           http://www.apache.org/licenses/LICENSE-2.0
+    
+         Unless required by applicable law or agreed to in writing,
+         software distributed under the License is distributed on an
+         "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+         KIND, either express or implied.  See the License for the
+         specific language governing permissions and limitations
+    
+
+   under the License.
+---
+
+# GlobalizationError
+
+从全球化 API 表示一个错误的对象。
+
+## 属性
+
+*   **代码**: 表示错误类型的以下代码之一 *(人数)* 
+    *   GlobalizationError.UNKNOWN _ 错误: 0
+    *   GlobalizationError.FORMATTING _ 错误: 1
+    *   GlobalizationError.PARSING _ 错误: 2
+    *   GlobalizationError.PATTERN _ 错误: 3
+*   **消息**: 一条文本消息,包括错误的解释,和/或详细说明*(字符串)*
+
+## 说明
+
+此对象创建和填充的科尔多瓦,并返回到出现错误时的回调。
+
+## 支持的平台
+
+*   Android 系统
+*   黑莓手机 WebWorks (OS 5.0 和更高)
+*   iOS
+
+## 快速的示例
+
+以下错误回调执行时,它会显示弹出式对话框中的文本类似于 `code: 3` 和`message:`
+
+    function errorCallback(error) {
+        alert('code: ' + error.code + '\n' +
+              'message: ' + error.message + '\n');
+    };
+    
+
+## 完整的示例
+
+    <!DOCTYPE HTML>
+    <html>
+      <head>
+        <title>GlobalizationError Example</title>
+        <script type="text/javascript" charset="utf-8" src="cordova.js"></script>
+        <script type="text/javascript" charset="utf-8">
+    
+        function successCallback(date) {
+          alert('month:' + date.month +
+                ' day:' + date.day +
+                ' year:' + date.year + '\n');
+        }
+    
+        function errorCallback(error) {
+          alert('code: ' + error.code + '\n' +
+                'message: ' + error.message + '\n');
+        };
+    
+        function checkError() {
+          navigator.globalization.stringToDate(
+            'notADate',
+            successCallback,
+            errorCallback,
+            {selector:'foobar'}
+          );
+        }
+    
+        </script>
+      </head>
+      <body>
+        <button onclick="checkError()">Click for error</button>
+      </body>
+    </html>
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/992e9151/docs/zh/edge/cordova/globalization/globalization.dateToString.md
----------------------------------------------------------------------
diff --git a/docs/zh/edge/cordova/globalization/globalization.dateToString.md b/docs/zh/edge/cordova/globalization/globalization.dateToString.md
new file mode 100644
index 0000000..25f9b56
--- /dev/null
+++ b/docs/zh/edge/cordova/globalization/globalization.dateToString.md
@@ -0,0 +1,87 @@
+---
+
+license: Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
+
+           http://www.apache.org/licenses/LICENSE-2.0
+    
+         Unless required by applicable law or agreed to in writing,
+         software distributed under the License is distributed on an
+         "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+         KIND, either express or implied.  See the License for the
+         specific language governing permissions and limitations
+    
+
+   under the License.
+---
+
+# globalization.dateToString
+
+返回一个日期格式设置为一个字符串,根据客户端的区域设置和时区。
+
+    navigator.globalization.dateToString(date, successCallback, errorCallback, options);
+    
+
+## 说明
+
+返回格式化的日期 `String` 通过 `value` 属性可从该对象作为一个参数传递`successCallback`.
+
+入站 `date` 参数的类型应为`Date`.
+
+如果有错误格式日期,然后 `errorCallback` 执行与 `GlobalizationError` 对象作为参数。 错误的期望的代码`GlobalizationError.FORMATTING\_ERROR`.
+
+`options`参数是可选的且其默认值:
+
+    {formatLength: '短',选择器: 日期和时间}
+    
+
+`options.formatLength`可以是 `short` , `medium` , `long` ,或`full`.
+
+`options.selector`可以是 `date` , `time` 或`date and time`.
+
+## 支持的平台
+
+*   Android 系统
+*   黑莓手机 WebWorks (OS 5.0 和更高)
+*   iOS
+*   Windows Phone 8
+
+## 快速的示例
+
+如果浏览器设置为 `en\_US` 的区域设置,这将显示一个弹出对话框与类似的文本 `date: 9/25/2012 4:21PM` 使用默认选项:
+
+    navigator.globalization.dateToString(
+        new Date(),
+        function (date) { alert('date: ' + date.value + '\n'); },
+        function () { alert('Error getting dateString\n'); },
+        { formatLength: 'short', selector: 'date and time' }
+    );
+    
+
+## 完整的示例
+
+    <!DOCTYPE HTML>
+    <html>
+      <head>
+        <title>dateToString Example</title>
+        <script type="text/javascript" charset="utf-8" src="cordova.js"></script>
+        <script type="text/javascript" charset="utf-8">
+    
+        function checkDateString() {
+          navigator.globalization.dateToString(
+            new Date(),
+            function (date) {alert('date: ' + date.value + '\n');},
+            function () {alert('Error getting dateString\n');,
+            {formatLength:'short', selector:'date and time'}}
+          );
+        }
+        </script>
+      </head>
+      <body>
+        <button onclick="checkDateString()">Click for date string</button>
+      </body>
+    </html>
+    
+
+## Windows Phone 8 怪癖
+
+*   `formatLength`选项仅支持 `short` 和 `full` 的值。
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/992e9151/docs/zh/edge/cordova/globalization/globalization.getCurrencyPattern.md
----------------------------------------------------------------------
diff --git a/docs/zh/edge/cordova/globalization/globalization.getCurrencyPattern.md b/docs/zh/edge/cordova/globalization/globalization.getCurrencyPattern.md
new file mode 100644
index 0000000..23dd35e
--- /dev/null
+++ b/docs/zh/edge/cordova/globalization/globalization.getCurrencyPattern.md
@@ -0,0 +1,105 @@
+---
+
+license: Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
+
+           http://www.apache.org/licenses/LICENSE-2.0
+    
+         Unless required by applicable law or agreed to in writing,
+         software distributed under the License is distributed on an
+         "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+         KIND, either express or implied.  See the License for the
+         specific language governing permissions and limitations
+    
+
+   under the License.
+---
+
+# globalization.getCurrencyPattern
+
+返回一个模式字符串格式化和分析根据客户端的用户首选项和 ISO 4217 货币代码货币值。
+
+     navigator.globalization.getCurrencyPattern(currencyCode, successCallback, errorCallback);
+    
+
+## 说明
+
+返回到模式 `successCallback` 与 `properties` 对象作为参数。该对象应包含以下属性:
+
+*   **模式**: 要格式化和分析货币值的货币模式。 模式按照 Unicode 技术标准 #35。 <http://unicode.org/reports/tr35/tr35-4.html>。 *(字符串)*
+
+*   **代码**: 模式的 ISO 4217 货币代码。*(字符串)*
+
+*   **分数**: 小数位数解析和货币的格式时要使用的数量。*(人数)*
+
+*   **舍**: 舍递增时分析和格式设置使用。*(人数)*
+
+*   **十进制**: 小数点符号用于分析和格式设置。*(字符串)*
+
+*   **分组**: 分组符号用于分析和格式设置。*(字符串)*
+
+入站 `currencyCode` 参数应该是 `String` 的 ISO 4217 货币代码,例如 '美元' 之一。
+
+如果有错误获得该模式,然后 `errorCallback` 执行与 `GlobalizationError` 对象作为参数。 错误的期望的代码`GlobalizationError.FORMATTING\_ERROR`.
+
+## 支持的平台
+
+*   Android 系统
+*   黑莓手机 WebWorks (OS 5.0 和更高)
+*   iOS
+
+## 快速的示例
+
+当浏览器设置为 `en\_US` 区域设置和所选的币种是美元,本示例将显示一个弹出对话框与类似的结果,请按照操作的文本:
+
+    navigator.globalization.getCurrencyPattern(
+        'USD',
+        function (pattern) {
+            alert('pattern: '  + pattern.pattern  + '\n' +
+                  'code: '     + pattern.code     + '\n' +
+                  'fraction: ' + pattern.fraction + '\n' +
+                  'rounding: ' + pattern.rounding + '\n' +
+                  'decimal: '  + pattern.decimal  + '\n' +
+                  'grouping: ' + pattern.grouping);
+        },
+        function () { alert('Error getting pattern\n'); }
+    );
+    
+
+预期的结果:
+
+    pattern: $#,##0.##;($#,##0.##)
+    code: USD
+    fraction: 2
+    rounding: 0
+    decimal: .
+    grouping: ,
+    
+
+## 完整的示例
+
+    <!DOCTYPE HTML>
+    <html>
+      <head>
+        <title>getCurrencyPattern Example</title>
+        <script type="text/javascript" charset="utf-8" src="cordova.js"></script>
+        <script type="text/javascript" charset="utf-8">
+    
+        function checkPattern() {
+          navigator.globalization.getCurrencyPattern(
+            'USD',
+            function (pattern) {alert('pattern: '  + pattern.pattern  + '\n' +
+                                      'code: '     + pattern.code     + '\n' +
+                                      'fraction: ' + pattern.fraction + '\n' +
+                                      'rounding: ' + pattern.rounding + '\n' +
+                                      'decimal: '  + pattern.decimal  + '\n' +
+                                      'grouping: ' + pattern.grouping);},
+            function () {alert('Error getting pattern\n');}
+          );
+        }
+    
+        </script>
+      </head>
+      <body>
+        <button onclick="checkPattern()">Click for pattern</button>
+      </body>
+    </html>
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/992e9151/docs/zh/edge/cordova/globalization/globalization.getDateNames.md
----------------------------------------------------------------------
diff --git a/docs/zh/edge/cordova/globalization/globalization.getDateNames.md b/docs/zh/edge/cordova/globalization/globalization.getDateNames.md
new file mode 100644
index 0000000..9700f65
--- /dev/null
+++ b/docs/zh/edge/cordova/globalization/globalization.getDateNames.md
@@ -0,0 +1,87 @@
+---
+
+license: Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
+
+           http://www.apache.org/licenses/LICENSE-2.0
+    
+         Unless required by applicable law or agreed to in writing,
+         software distributed under the License is distributed on an
+         "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+         KIND, either express or implied.  See the License for the
+         specific language governing permissions and limitations
+    
+
+   under the License.
+---
+
+# globalization.getDateNames
+
+返回一个数组的几个月的名称或一周内,根据客户端的用户首选项和日历天。
+
+    navigator.globalization.getDateNames(successCallback, errorCallback, options);
+    
+
+## 说明
+
+返回的数组的名称为 `successCallback` 与 `properties` 对象作为参数。 该对象包含 `value` 属性与 `Array` 的 `String` 的值。 从任一开始一年或一周内,根据所选的选项的第一天中的第一个月的数组功能名称。
+
+如果有错误取得名字,然后 `errorCallback` 执行与 `GlobalizationError` 对象作为参数。 错误的期望的代码`GlobalizationError.UNKNOWN\_ERROR`.
+
+`options`参数是可选的且其默认值:
+
+    {类型: '宽'、 项目: '月'}
+    
+
+值 `options.type` 可以是 `narrow` 或`wide`.
+
+值 `options.item` 可以是 `months` 或`days`.
+
+## 支持的平台
+
+*   Android 系统
+*   黑莓手机 WebWorks (OS 5.0 和更高)
+*   iOS
+*   Windows Phone 8
+
+## 快速的示例
+
+当浏览器设置为 `en\_US` 的区域设置,本示例显示一系列的十二个弹出对话框,每个月,与类似的文本一个 `month: January` :
+
+    navigator.globalization.getDateNames(
+        function (names) {
+            for (var i = 0; i < names.value.length; i++) {
+                alert('month: ' + names.value[i] + '\n');
+            }
+        },
+        function () { alert('Error getting names\n'); },
+        { type: 'wide', item: 'months' }
+    );
+    
+
+## 完整的示例
+
+    <!DOCTYPE HTML>
+    <html>
+      <head>
+        <title>getDateNames Example</title>
+        <script type="text/javascript" charset="utf-8" src="cordova.js"></script>
+        <script type="text/javascript" charset="utf-8">
+    
+        function checkDateNames() {
+          navigator.globalization.getDateNames(
+            function (names) {
+              for (var i=0; i<names.value.length; i++) {
+                alert('month: ' + names.value[i] + '\n');
+              }
+            },
+            function () {alert('Error getting names\n');},
+            {type:'wide', item:'months'}
+          );
+        }
+    
+        </script>
+      </head>
+      <body>
+        <button onclick="checkDateNames()">Click for date names</button>
+      </body>
+    </html>
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/992e9151/docs/zh/edge/cordova/globalization/globalization.getDatePattern.md
----------------------------------------------------------------------
diff --git a/docs/zh/edge/cordova/globalization/globalization.getDatePattern.md b/docs/zh/edge/cordova/globalization/globalization.getDatePattern.md
new file mode 100644
index 0000000..fdf7c7c
--- /dev/null
+++ b/docs/zh/edge/cordova/globalization/globalization.getDatePattern.md
@@ -0,0 +1,99 @@
+---
+
+license: Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
+
+           http://www.apache.org/licenses/LICENSE-2.0
+    
+         Unless required by applicable law or agreed to in writing,
+         software distributed under the License is distributed on an
+         "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+         KIND, either express or implied.  See the License for the
+         specific language governing permissions and limitations
+    
+
+   under the License.
+---
+
+# globalization.getDatePattern
+
+返回一个模式字符串格式化和解析日期根据客户端的用户首选项。
+
+    navigator.globalization.getDatePattern(successCallback, errorCallback, options);
+    
+
+## 说明
+
+返回到模式 `successCallback` 。作为一个参数传递的对象包含以下属性:
+
+*   **模式**: 要格式化和解析日期的日期和时间模式。 模式按照 Unicode 技术标准 #35。 <http://unicode.org/reports/tr35/tr35-4.html>。 *(字符串)*
+
+*   **时区**: 在客户端上的时区的缩写的名称。*(字符串)*
+
+*   **utc_offset**: 客户端的时区和协调通用时间当前区别秒。*(人数)*
+
+*   **dst_offset**: 在客户端的夏之间的秒数的当前夏令时偏移量的时区和客户端的夏时制储蓄的时区。*(人数)*
+
+如果您获取该模式,错误 `errorCallback` 执行与 `GlobalizationError` 对象作为参数。 错误的期望的代码`GlobalizationError.PATTERN\_ERROR`.
+
+`options`参数是可选的并且默认为以下值:
+
+    {formatLength: '短',选择器: 日期和时间}
+    
+
+`options.formatLength`可以是 `short` , `medium` , `long` ,或 `full` 。 `options.selector`可以是 `date` , `time` 或`date and
+time`.
+
+## 支持的平台
+
+*   Android 系统
+*   黑莓手机 WebWorks (OS 5.0 和更高)
+*   iOS
+*   Windows Phone 8
+
+## 快速的示例
+
+当浏览器设置为 `en\_US` 的区域设置,此示例显示弹出式对话框中的文本如 `pattern: M/d/yyyy h:mm a` :
+
+    function checkDatePattern() {
+        navigator.globalization.getDatePattern(
+            function (date) { alert('pattern: ' + date.pattern + '\n'); },
+            function () { alert('Error getting pattern\n'); },
+            { formatLength: 'short', selector: 'date and time' }
+        );
+    }
+    
+
+## 完整的示例
+
+    <!DOCTYPE HTML>
+    <html>
+      <head>
+        <title>getDatePattern Example</title>
+        <script type="text/javascript" charset="utf-8" src="cordova.js"></script>
+        <script type="text/javascript" charset="utf-8">
+    
+        function checkDatePattern() {
+          navigator.globalization.getDatePattern(
+            function (date) {alert('pattern: ' + date.pattern + '\n');},
+            function () {alert('Error getting pattern\n');},
+            {formatLength:'short', selector:'date and time'}
+          );
+        }
+    
+        </script>
+      </head>
+      <body>
+        <button onclick="checkDatePattern()">Click for pattern</button>
+      </body>
+    </html>
+    
+
+## Windows Phone 8 怪癖
+
+*   `formatLength`仅支持 `short` 和 `full` 的值。
+
+*   `pattern`的 `date and time` 模式返回只完整的日期时间格式。
+
+*   `timezone`返回全时区名称。
+
+*   `dst_offset`属性不受支持,并且总是返回零。
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/992e9151/docs/zh/edge/cordova/globalization/globalization.getFirstDayOfWeek.md
----------------------------------------------------------------------
diff --git a/docs/zh/edge/cordova/globalization/globalization.getFirstDayOfWeek.md b/docs/zh/edge/cordova/globalization/globalization.getFirstDayOfWeek.md
new file mode 100644
index 0000000..0790cea
--- /dev/null
+++ b/docs/zh/edge/cordova/globalization/globalization.getFirstDayOfWeek.md
@@ -0,0 +1,68 @@
+---
+
+license: Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
+
+           http://www.apache.org/licenses/LICENSE-2.0
+    
+         Unless required by applicable law or agreed to in writing,
+         software distributed under the License is distributed on an
+         "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+         KIND, either express or implied.  See the License for the
+         specific language governing permissions and limitations
+    
+
+   under the License.
+---
+
+# globalization.getFirstDayOfWeek
+
+返回客户端的用户首选项和日历星期的第一天。
+
+    navigator.globalization.getFirstDayOfWeek(successCallback, errorCallback);
+    
+
+## 说明
+
+周中天的编号 1,从开始位置 1 假定是星期日。 返回到天 `successCallback` 与 `properties` 对象作为参数。 对象应具有 `value` 属性与 `Number` 的值。
+
+如果有错误获得该模式,然后 `errorCallback` 执行与 `GlobalizationError` 对象作为参数。 错误的期望的代码`GlobalizationError.UNKNOWN\_ERROR`.
+
+## 支持的平台
+
+*   Android 系统
+*   黑莓手机 WebWorks (OS 5.0 和更高)
+*   iOS
+*   Windows Phone 8
+
+## 快速的示例
+
+当浏览器设置为 `en\_US` 的区域设置,这将显示一个弹出对话框与类似的文本`day: 1`.
+
+    navigator.globalization.getFirstDayOfWeek(
+        function (day) {alert('day: ' + day.value + '\n');},
+        function () {alert('Error getting day\n');}
+    );
+    
+
+## 完整的示例
+
+    <!DOCTYPE HTML>
+    <html>
+      <head>
+        <title>getFirstDayOfWeek Example</title>
+        <script type="text/javascript" charset="utf-8" src="cordova.js"></script>
+        <script type="text/javascript" charset="utf-8">
+    
+        function checkFirstDay() {
+          navigator.globalization.getFirstDayOfWeek(
+            function (day) {alert('day: ' + day.value + '\n');},
+            function () {alert('Error getting day\n');}
+          );
+        }
+    
+        </script>
+      </head>
+      <body>
+        <button onclick="checkFirstDay()">Click for first day of week</button>
+      </body>
+    </html>
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/992e9151/docs/zh/edge/cordova/globalization/globalization.getLocaleName.md
----------------------------------------------------------------------
diff --git a/docs/zh/edge/cordova/globalization/globalization.getLocaleName.md b/docs/zh/edge/cordova/globalization/globalization.getLocaleName.md
new file mode 100644
index 0000000..77c7c5e
--- /dev/null
+++ b/docs/zh/edge/cordova/globalization/globalization.getLocaleName.md
@@ -0,0 +1,72 @@
+---
+
+license: Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
+
+           http://www.apache.org/licenses/LICENSE-2.0
+    
+         Unless required by applicable law or agreed to in writing,
+         software distributed under the License is distributed on an
+         "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+         KIND, either express or implied.  See the License for the
+         specific language governing permissions and limitations
+    
+
+   under the License.
+---
+
+# globalization.getLocaleName
+
+获取客户端的当前区域设置的字符串标识符。
+
+    navigator.globalization.getLocaleName(successCallback, errorCallback);
+    
+
+## 说明
+
+返回到的区域设置标识符字符串 `successCallback` 与 `properties` 对象作为参数。 对象应具有 `value` 属性与 `String` 的值。
+
+如果有出错的区域设置,然后 `errorCallback` 执行与 `GlobalizationError` 对象作为参数。 错误的期望的代码`GlobalizationError.UNKNOWN\_ERROR`.
+
+## 支持的平台
+
+*   Android 系统
+*   黑莓手机 WebWorks (OS 5.0 和更高)
+*   iOS
+*   Windows Phone 8
+
+## 快速的示例
+
+当浏览器设置为 `en\_US` 的区域设置,这将显示弹出式对话框中的文本`locale: en\_US`.
+
+    navigator.globalization.getLocaleName(
+        function (locale) {alert('locale: ' + locale.value + '\n');},
+        function () {alert('Error getting locale\n');}
+    );
+    
+
+## 完整的示例
+
+    <!DOCTYPE HTML>
+    <html>
+      <head>
+        <title>getLocaleName Example</title>
+        <script type="text/javascript" charset="utf-8" src="cordova.js"></script>
+        <script type="text/javascript" charset="utf-8">
+    
+        function checkLocale() {
+          navigator.globalization.getLocaleName(
+            function (locale) {alert('locale: ' + locale.value + '\n');},
+            function () {alert('Error getting locale\n');}
+          );
+        }
+        </script>
+      </head>
+      <body>
+        <button onclick="checkLocale()">Click for locale</button>
+      </body>
+    </html>
+    
+
+## Windows Phone 8 怪癖
+
+*   返回为当前的国家地区在 ISO 3166 中定义的两个字母代码。
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/992e9151/docs/zh/edge/cordova/globalization/globalization.getNumberPattern.md
----------------------------------------------------------------------
diff --git a/docs/zh/edge/cordova/globalization/globalization.getNumberPattern.md b/docs/zh/edge/cordova/globalization/globalization.getNumberPattern.md
new file mode 100644
index 0000000..b5fa301
--- /dev/null
+++ b/docs/zh/edge/cordova/globalization/globalization.getNumberPattern.md
@@ -0,0 +1,119 @@
+---
+
+license: Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
+
+           http://www.apache.org/licenses/LICENSE-2.0
+    
+         Unless required by applicable law or agreed to in writing,
+         software distributed under the License is distributed on an
+         "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+         KIND, either express or implied.  See the License for the
+         specific language governing permissions and limitations
+    
+
+   under the License.
+---
+
+# globalization.getNumberPattern
+
+返回一个模式字符串格式化和分析数字根据客户端的用户首选项。
+
+    navigator.globalization.getNumberPattern(successCallback, errorCallback, options);
+    
+
+## 说明
+
+返回到模式 `successCallback` 与 `properties` 对象作为参数。该对象包含以下属性:
+
+*   **模式**: 要格式化和分析数字的数字模式。 模式按照 Unicode 技术标准 #35。 <http://unicode.org/reports/tr35/tr35-4.html>。 *(字符串)*
+
+*   **符号**: 符号格式设置和分析过程中,如 %或货币符号时使用。*(字符串)*
+
+*   **分数**: 小数位数解析和设置数字格式时要使用的数量。*(人数)*
+
+*   **舍**: 舍递增时分析和格式设置使用。*(人数)*
+
+*   **积极**: 积极数字分析和格式时要使用的符号。*(字符串)*
+
+*   **负面**: 要为负数时分析和格式设置使用的符号。*(字符串)*
+
+*   **十进制**: 小数点符号用于分析和格式设置。*(字符串)*
+
+*   **分组**: 分组符号用于分析和格式设置。*(字符串)*
+
+如果有错误获得该模式,然后 `errorCallback` 执行与 `GlobalizationError` 对象作为参数。 错误的期望的代码`GlobalizationError.PATTERN\_ERROR`.
+
+`options`参数是可选的并且默认值:
+
+    {类型: '十进制'}
+    
+
+`options.type`可以是 `decimal` , `percent` ,或`currency`.
+
+## 支持的平台
+
+*   Android 系统
+*   黑莓手机 WebWorks (OS 5.0 和更高)
+*   iOS
+*   Windows Phone 8
+
+## 快速的示例
+
+当浏览器设置为 `en\_US` 的区域设置,此时应显示一个弹出对话框与类似的结果,请按照操作的文本:
+
+    navigator.globalization.getNumberPattern(
+        function (pattern) {alert('pattern: '  + pattern.pattern  + '\n' +
+                                  'symbol: '   + pattern.symbol   + '\n' +
+                                  'fraction: ' + pattern.fraction + '\n' +
+                                  'rounding: ' + pattern.rounding + '\n' +
+                                  'positive: ' + pattern.positive + '\n' +
+                                  'negative: ' + pattern.negative + '\n' +
+                                  'decimal: '  + pattern.decimal  + '\n' +
+                                  'grouping: ' + pattern.grouping);},
+        function () {alert('Error getting pattern\n');},
+        {type:'decimal'}
+    );
+    
+
+结果:
+
+    图案: #,# 0.# # # 符号:。分数: 0 舍入: 0 积极: 消极:-十进制:。分组:,
+    
+
+## 完整的示例
+
+    <!DOCTYPE HTML>
+    <html>
+      <head>
+        <title>getNumberPattern Example</title>
+        <script type="text/javascript" charset="utf-8" src="cordova.js"></script>
+        <script type="text/javascript" charset="utf-8">
+    
+        function checkPattern() {
+          navigator.globalization.getNumberPattern(
+            function (pattern) {alert('pattern: '  + pattern.pattern  + '\n' +
+                                      'symbol: '   + pattern.symbol   + '\n' +
+                                      'fraction: ' + pattern.fraction + '\n' +
+                                      'rounding: ' + pattern.rounding + '\n' +
+                                      'positive: ' + pattern.positive + '\n' +
+                                      'negative: ' + pattern.negative + '\n' +
+                                      'decimal: '  + pattern.decimal  + '\n' +
+                                      'grouping: ' + pattern.grouping);},
+            function () {alert('Error getting pattern\n');},
+            {type:'decimal'}
+          );
+        }
+    
+        </script>
+      </head>
+      <body>
+        <button onclick="checkPattern()">Click for pattern</button>
+      </body>
+    </html>
+    
+
+## Windows Phone 8 怪癖
+
+*   `pattern`不支持属性,和 retuens 为空字符串。
+
+*   `fraction`不支持属性,并返回零。
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/992e9151/docs/zh/edge/cordova/globalization/globalization.getPreferredLanguage.md
----------------------------------------------------------------------
diff --git a/docs/zh/edge/cordova/globalization/globalization.getPreferredLanguage.md b/docs/zh/edge/cordova/globalization/globalization.getPreferredLanguage.md
new file mode 100644
index 0000000..388d8af
--- /dev/null
+++ b/docs/zh/edge/cordova/globalization/globalization.getPreferredLanguage.md
@@ -0,0 +1,72 @@
+---
+
+license: Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
+
+           http://www.apache.org/licenses/LICENSE-2.0
+    
+         Unless required by applicable law or agreed to in writing,
+         software distributed under the License is distributed on an
+         "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+         KIND, either express or implied.  See the License for the
+         specific language governing permissions and limitations
+    
+
+   under the License.
+---
+
+# globalization.getPreferredLanguage
+
+获取客户端的当前语言的字符串标识符。
+
+    navigator.globalization.getPreferredLanguage(successCallback, errorCallback);
+    
+
+## 说明
+
+返回到的语言标识符字符串 `successCallback` 与 `properties` 对象作为参数。 对象应具有 `value` 属性与 `String` 的值。
+
+如果有出错的语言,然后 `errorCallback` 执行与 `GlobalizationError` 对象作为参数。 错误的期望的代码`GlobalizationError.UNKNOWN\_ERROR`.
+
+## 支持的平台
+
+*   Android 系统
+*   黑莓手机 WebWorks (OS 5.0 和更高)
+*   iOS
+*   Windows Phone 8
+
+## 快速的示例
+
+当浏览器设置为 `en\_US` 的区域设置,此时应显示弹出式菜单对话框的文本与 `language: English` :
+
+    navigator.globalization.getPreferredLanguage(
+        function (language) {alert('language: ' + language.value + '\n');},
+        function () {alert('Error getting language\n');}
+    );
+    
+
+## 完整的示例
+
+    <!DOCTYPE HTML>
+    <html>
+      <head>
+        <title>getPreferredLanguage Example</title>
+        <script type="text/javascript" charset="utf-8" src="cordova.js"></script>
+        <script type="text/javascript" charset="utf-8">
+    
+        function checkLanguage() {
+          navigator.globalization.getPreferredLanguage(
+            function (language) {alert('language: ' + language.value + '\n');},
+            function () {alert('Error getting language\n');}
+          );
+        }
+        </script>
+      </head>
+      <body>
+        <button onclick="checkLanguage()">Click for language</button>
+      </body>
+    </html>
+    
+
+## Windows Phone 8 怪癖
+
+*   返回当前语言的 ISO 639-1 两个字母代码。
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/992e9151/docs/zh/edge/cordova/globalization/globalization.isDayLightSavingsTime.md
----------------------------------------------------------------------
diff --git a/docs/zh/edge/cordova/globalization/globalization.isDayLightSavingsTime.md b/docs/zh/edge/cordova/globalization/globalization.isDayLightSavingsTime.md
new file mode 100644
index 0000000..db940c9
--- /dev/null
+++ b/docs/zh/edge/cordova/globalization/globalization.isDayLightSavingsTime.md
@@ -0,0 +1,72 @@
+---
+
+license: Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
+
+           http://www.apache.org/licenses/LICENSE-2.0
+    
+         Unless required by applicable law or agreed to in writing,
+         software distributed under the License is distributed on an
+         "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+         KIND, either express or implied.  See the License for the
+         specific language governing permissions and limitations
+    
+
+   under the License.
+---
+
+# globalization.isDayLightSavingsTime
+
+指示是否夏令时生效是给定日期使用客户端的时区和日历。
+
+    navigator.globalization.isDayLightSavingsTime(date, successCallback, errorCallback);
+    
+
+## 说明
+
+指示是否夏令时生效的是 `successCallback` 与 `properties` 对象作为参数。 对象应具有 `dst` 属性与 `Boolean` 的值。 A `true` 值指示夏令时实际上是对给定的日期,和 `false` 指示它不是。
+
+入站的参数 `date` 的类型应为`Date`.
+
+如果有错误读取日期,然后 `errorCallback` 执行。错误的期望的代码`GlobalizationError.UNKNOWN\_ERROR`.
+
+## 支持的平台
+
+*   Android 系统
+*   黑莓手机 WebWorks (OS 5.0 和更高)
+*   iOS
+*   Windows Phone 8
+
+## 快速的示例
+
+在夏天的时候,如果浏览器被设置为启用 DST 时区,这应显示一个弹出式对话框与类似的文本和 `dst: true` :
+
+    navigator.globalization.isDayLightSavingsTime(
+        new Date(),
+        function (date) {alert('dst: ' + date.dst + '\n');},
+        function () {alert('Error getting names\n');}
+    );
+    
+
+## 完整的示例
+
+    <!DOCTYPE HTML>
+    <html>
+      <head>
+        <title>isDayLightSavingsTime Example</title>
+        <script type="text/javascript" charset="utf-8" src="cordova.js"></script>
+        <script type="text/javascript" charset="utf-8">
+    
+        function checkDayLightSavings() {
+          navigator.globalization.isDayLightSavingsTime(
+            new Date(),
+            function (date) {alert('dst: ' + date.dst + '\n');},
+            function () {alert('Error getting names\n');}
+          );
+        }
+    
+        </script>
+      </head>
+      <body>
+        <button onclick="checkDayLightSavings()">Click for daylight savings</button>
+      </body>
+    </html>
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/992e9151/docs/zh/edge/cordova/globalization/globalization.md
----------------------------------------------------------------------
diff --git a/docs/zh/edge/cordova/globalization/globalization.md b/docs/zh/edge/cordova/globalization/globalization.md
new file mode 100644
index 0000000..c0f296c
--- /dev/null
+++ b/docs/zh/edge/cordova/globalization/globalization.md
@@ -0,0 +1,63 @@
+---
+
+license: Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
+
+           http://www.apache.org/licenses/LICENSE-2.0
+    
+         Unless required by applicable law or agreed to in writing,
+         software distributed under the License is distributed on an
+         "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+         KIND, either express or implied.  See the License for the
+         specific language governing permissions and limitations
+    
+
+   under the License.
+---
+
+# 全球化
+
+获取的信息并执行操作特定于用户的区域设置和时区。
+
+## 对象
+
+*   GlobalizationError
+
+## 方法
+
+*   globalization.getPreferredLanguage
+*   globalization.getLocaleName
+*   globalization.dateToString
+*   globalization.stringToDate
+*   globalization.getDatePattern
+*   globalization.getDateNames
+*   globalization.isDayLightSavingsTime
+*   globalization.getFirstDayOfWeek
+*   globalization.numberToString
+*   globalization.stringToNumber
+*   globalization.getNumberPattern
+*   globalization.getCurrencyPattern
+
+## 变量范围
+
+`globalization`对象是一个孩子的 `navigator` 对象,并因此具有全局范围。
+
+    // The global globalization object
+    var globalization = navigator.globalization;
+    
+
+## 访问功能
+
+从 3.0 版,科尔多瓦作为*插件*实现了设备级 Api。 使用 CLI 的 `plugin` 命令,描述在命令行界面,可以添加或删除一个项目,为此功能:
+
+        $ cordova plugin add https://git-wip-us.apache.org/repos/asf/cordova-plugin-globalization.git
+        $ cordova plugin rm org.apache.cordova.core.globalization
+    
+
+这些命令适用于所有有针对性的平台,但修改如下所述的特定于平台的配置设置:
+
+*   (在 android`app/res/xml/config.xml`)
+    
+        < 功能名称 ="全球化">< 参数名称 ="android 包"value="org.apache.cordova.Globalization"/ >< / 功能 >
+        
+
+一些平台可能支持此功能,而无需任何特殊的配置。有关概述,请参见平台支持。
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/992e9151/docs/zh/edge/cordova/globalization/globalization.numberToString.md
----------------------------------------------------------------------
diff --git a/docs/zh/edge/cordova/globalization/globalization.numberToString.md b/docs/zh/edge/cordova/globalization/globalization.numberToString.md
new file mode 100644
index 0000000..94a3556
--- /dev/null
+++ b/docs/zh/edge/cordova/globalization/globalization.numberToString.md
@@ -0,0 +1,79 @@
+---
+
+license: Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
+
+           http://www.apache.org/licenses/LICENSE-2.0
+    
+         Unless required by applicable law or agreed to in writing,
+         software distributed under the License is distributed on an
+         "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+         KIND, either express or implied.  See the License for the
+         specific language governing permissions and limitations
+    
+
+   under the License.
+---
+
+# globalization.numberToString
+
+返回一个数字的格式设置为根据客户端的用户首选项的字符串。
+
+    navigator.globalization.numberToString(number, successCallback, errorCallback, options);
+    
+
+## 说明
+
+返回到带格式的数字字符串 `successCallback` 与 `properties` 对象作为参数。 对象应具有 `value` 属性与 `String` 的值。
+
+如果有错误格式数,然后 `errorCallback` 执行与 `GlobalizationError` 对象作为参数。 错误的期望的代码`GlobalizationError.FORMATTING\_ERROR`.
+
+`options`参数是可选的且其默认值:
+
+    {类型: '十进制'}
+    
+
+`options.type`可以是 '十进制'、 '%' 或 '货币'。
+
+## 支持的平台
+
+*   Android 系统
+*   黑莓手机 WebWorks (OS 5.0 和更高)
+*   iOS
+*   Windows Phone 8
+
+## 快速的示例
+
+当浏览器设置为 `en\_US` 的区域设置,这将显示一个弹出对话框与类似的文本 `number: 3.142` :
+
+    navigator.globalization.numberToString(
+        3.1415926,
+        function (number) {alert('number: ' + number.value + '\n');},
+        function () {alert('Error getting number\n');},
+        {type:'decimal'}
+    );
+    
+
+## 完整的示例
+
+    <!DOCTYPE HTML>
+    <html>
+      <head>
+        <title>numberToString Example</title>
+        <script type="text/javascript" charset="utf-8" src="cordova.js"></script>
+        <script type="text/javascript" charset="utf-8">
+    
+        function checkNumber() {
+          navigator.globalization.numberToString(
+            3.1415926,
+            function (number) {alert('number: ' + number.value + '\n');},
+            function () {alert('Error getting number\n');},
+            {type:'decimal'}
+          );
+        }
+    
+        </script>
+      </head>
+      <body>
+        <button onclick="checkNumber()">Click for number</button>
+      </body>
+    </html>
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/992e9151/docs/zh/edge/cordova/globalization/globalization.stringToDate.md
----------------------------------------------------------------------
diff --git a/docs/zh/edge/cordova/globalization/globalization.stringToDate.md b/docs/zh/edge/cordova/globalization/globalization.stringToDate.md
new file mode 100644
index 0000000..5d5270b
--- /dev/null
+++ b/docs/zh/edge/cordova/globalization/globalization.stringToDate.md
@@ -0,0 +1,105 @@
+---
+
+license: Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
+
+           http://www.apache.org/licenses/LICENSE-2.0
+    
+         Unless required by applicable law or agreed to in writing,
+         software distributed under the License is distributed on an
+         "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+         KIND, either express or implied.  See the License for the
+         specific language governing permissions and limitations
+    
+
+   under the License.
+---
+
+# globalization.stringToDate
+
+分析日期格式设置为一个字符串,根据客户端的用户首选项和日历使用时区的客户端,并返回对应的 date 对象。
+
+    navigator.globalization.stringToDate(dateString, successCallback, errorCallback, options);
+    
+
+## 说明
+
+返回的日期与成功回调到 `properties` 对象作为参数。该对象应具有以下属性:
+
+*   **一年**: 将四个数字的年份。*(人数)*
+
+*   **月**: 从 (0-11) 月。*(人数)*
+
+*   **一天**: 从 (1-31) 天。*(人数)*
+
+*   **小时**: 从 (0-23) 小时。*(人数)*
+
+*   **分钟**: 从 (0-59) 分钟。*(人数)*
+
+*   **第二**: 的第二位 (0-59)。*(人数)*
+
+*   **毫秒**: 的毫秒数 (从 0-999),在所有平台上不可用。*(人数)*
+
+入站 `dateString` 参数的类型应为`String`.
+
+`options`参数是可选的并且默认为以下值:
+
+    {formatLength: '短',选择器: 日期和时间}
+    
+
+`options.formatLength`可以是 `short` , `medium` , `long` ,或 `full` 。 `options.selector`可以是 `date` , `time` 或`date and
+time`.
+
+如果有错误解析日期字符串,然后 `errorCallback` 执行与 `GlobalizationError` 对象作为参数。 错误的期望的代码`GlobalizationError.PARSING\_ERROR`.
+
+## 支持的平台
+
+*   Android 系统
+*   黑莓手机 WebWorks (OS 5.0 和更高)
+*   iOS
+*   Windows Phone 8
+
+## 快速的示例
+
+当浏览器设置为 `en\_US` 的区域设置,这将显示一个弹出对话框与类似的文本 `month:8 day:25 year:2012` 。 请注意,整数是一个月比少的字符串,作为月整数代表数组索引。
+
+    navigator.globalization.stringToDate(
+        '9/25/2012',
+        function (date) {alert('month:' + date.month +
+                               ' day:'  + date.day   +
+                               ' year:' + date.year  + '\n');},
+        function () {alert('Error getting date\n');},
+        {selector: 'date'}
+    );
+    
+
+## 完整的示例
+
+    <!DOCTYPE HTML>
+    <html>
+      <head>
+        <title>stringToDate Example</title>
+        <script type="text/javascript" charset="utf-8" src="cordova.js"></script>
+        <script type="text/javascript" charset="utf-8">
+    
+        function checkStringDate() {
+          navigator.globalization.stringToDate(
+            '9/25/2012',
+            function (date) {alert('month:' + date.month +
+                                   ' day:' + date.day +
+                                   ' year:' + date.year + '\n');},
+            function () {alert('Error getting date\n');},
+            {selector:'date'}
+          );
+        }
+    
+        </script>
+      </head>
+      <body>
+        <button onclick="checkStringDate()">Click for parsed date</button>
+      </body>
+    </html>
+    
+
+## Windows Phone 8 怪癖
+
+*   `formatLength`选项仅支持 `short` 和 `full` 的值。
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/992e9151/docs/zh/edge/cordova/globalization/globalization.stringToNumber.md
----------------------------------------------------------------------
diff --git a/docs/zh/edge/cordova/globalization/globalization.stringToNumber.md b/docs/zh/edge/cordova/globalization/globalization.stringToNumber.md
new file mode 100644
index 0000000..cf35669
--- /dev/null
+++ b/docs/zh/edge/cordova/globalization/globalization.stringToNumber.md
@@ -0,0 +1,79 @@
+---
+
+license: Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
+
+           http://www.apache.org/licenses/LICENSE-2.0
+    
+         Unless required by applicable law or agreed to in writing,
+         software distributed under the License is distributed on an
+         "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+         KIND, either express or implied.  See the License for the
+         specific language governing permissions and limitations
+    
+
+   under the License.
+---
+
+# globalization.stringToNumber
+
+分析的数字格式化为根据客户端的用户首选项的字符串并返回相应的号码。
+
+    navigator.globalization.stringToNumber(string, successCallback, errorCallback, options);
+    
+
+## 说明
+
+返回到数 `successCallback` 与 `properties` 对象作为参数。对象应具有 `value` 属性与 `Number` 的值。
+
+如果有错误解析的字符串,然后 `errorCallback` 执行与 `GlobalizationError` 对象作为参数。 错误的期望的代码`GlobalizationError.PARSING\_ERROR`.
+
+`options`参数是可选的并且默认为以下值:
+
+    {类型: '十进制'}
+    
+
+`options.type`可以是 `decimal` , `percent` ,或`currency`.
+
+## 支持的平台
+
+*   Android 系统
+*   黑莓手机 WebWorks (OS 5.0 和更高)
+*   iOS
+*   Windows Phone 8
+
+## 快速的示例
+
+当浏览器设置为 `en\_US` 的区域设置,此时应显示与文本类似于弹出式对话框中 `number: 1234.56` :
+
+    navigator.globalization.stringToNumber(
+        '1234.56',
+        function (number) {alert('number: ' + number.value + '\n');},
+        function () {alert('Error getting number\n');},
+        {type:'decimal'}
+    );
+    
+
+## 完整的示例
+
+    <!DOCTYPE HTML>
+    <html>
+      <head>
+        <title>stringToNumber Example</title>
+        <script type="text/javascript" charset="utf-8" src="cordova.js"></script>
+        <script type="text/javascript" charset="utf-8">
+    
+        function checkNumber() {
+          navigator.globalization.stringToNumber(
+            '1234.56',
+            function (number) {alert('number: ' + number.value + '\n');},
+            function () {alert('Error getting number\n');},
+            {type:'decimal'}
+          );
+        }
+    
+        </script>
+      </head>
+      <body>
+        <button onclick="checkNumber()">Click for parsed number</button>
+      </body>
+    </html>
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/992e9151/docs/zh/edge/cordova/inappbrowser/inappbrowser.md
----------------------------------------------------------------------
diff --git a/docs/zh/edge/cordova/inappbrowser/inappbrowser.md b/docs/zh/edge/cordova/inappbrowser/inappbrowser.md
new file mode 100644
index 0000000..55eb64f
--- /dev/null
+++ b/docs/zh/edge/cordova/inappbrowser/inappbrowser.md
@@ -0,0 +1,263 @@
+---
+
+license: Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
+
+           http://www.apache.org/licenses/LICENSE-2.0
+    
+         Unless required by applicable law or agreed to in writing,
+         software distributed under the License is distributed on an
+         "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+         KIND, either express or implied.  See the License for the
+         specific language governing permissions and limitations
+    
+
+   under the License.
+---
+
+# InAppBrowser
+
+> `InAppBrowser`是一个 web 浏览器显示在应用程序中调用时`window.open`.
+
+    var ref = window.open('http://apache.org', '_blank', 'location=yes');
+    
+
+## 说明
+
+从调用返回的对象`window.open`.
+
+## 方法
+
+*   addEventListener
+*   removeEventListener
+*   关闭
+*   显示
+*   executeScript
+*   insertCSS
+
+## 访问功能
+
+从 3.0 版,科尔多瓦作为*插件*实现了设备级 Api。 使用 CLI 的 `plugin` 命令,描述在命令行界面,可以添加或删除一个项目,为此功能:
+
+        $ cordova plugin add https://git-wip-us.apache.org/repos/asf/cordova-plugin-inappbrowser.git
+        $ cordova plugin rm org.apache.cordova.core.inappbrowser
+    
+
+这些命令适用于所有有针对性的平台,但修改如下所述的特定于平台的配置设置:
+
+*   (在 android`app/res/xml/config.xml`)
+    
+        < 功能名称 ="InAppBrowser">< 参数名称 ="android 包"value="org.apache.cordova.InAppBrowser"/ >< / 功能 >
+        
+
+*   (在 iOS`config.xml`)
+    
+        < 功能名称 ="InAppBrowser">< 参数名称 ="ios 包"值 ="CDVInAppBrowser"/ >< / 功能 >
+        
+
+*   Windows Phone 7,8 个 (在`config.xml`)
+    
+        < 功能名称 ="InAppBrowser"/ >
+        
+
+一些平台可能支持此功能,而无需任何特殊的配置。有关概述,请参见平台支持。
+
+# addEventListener
+
+> 为事件添加一个侦听器`InAppBrowser`.
+
+    ref.addEventListener (事件、 回调) ;
+    
+
+*   **ref**: 参考 `InAppBrowser` 窗口*(InAppBrowser)*
+
+*   **事件名称**: 事件侦听*(字符串)*
+    
+    *   **loadstart**: 当触发事件 `InAppBrowser` 开始加载一个 URL。
+    *   **loadstop**: 当触发事件 `InAppBrowser` 完成加载一个 URL。
+    *   **loaderror**: 当触发事件 `InAppBrowser` 加载 URL 时遇到错误。
+    *   **退出**: 当触发事件 `InAppBrowser` 关闭窗口。
+
+*   **回调**: 执行时触发该事件的函数。该函数通过 `InAppBrowserEvent` 对象作为参数。
+
+## 支持的平台
+
+*   Android 系统
+*   黑莓手机
+*   iOS
+*   Windows Phone 7 和 8
+
+## 快速的示例
+
+    var ref = window.open ('http://apache.org'、 '_blank' ' 位置 = 是的) ;ref.addEventListener ('loadstart',function() {alert(event.url);});
+    
+
+## 完整的示例
+
+    <!DOCTYPE html >< html >< 头 >< 标题 > InAppBrowser.addEventListener 示例 < / 标题 >< 脚本类型 ="文本/javascript"charset ="utf 8"src="cordova.js">< / 脚本 >< 脚本类型 ="文本/javascript"charset ="utf 8"> / / 等待设备 API 库加载 / / document.addEventListener ("deviceready",onDeviceReady,false);/ / 设备的 Api 可 / / 函数 onDeviceReady() {var ref = window.open ('http://apache.org'、 '_blank' ' 位置 = 是的) ;ref.addEventListener ('loadstart' function(event) {警报 (' 开始: ' + event.url);});ref.addEventListener ('loadstop' function(event) {警报 (' 停止: ' + event.url);});ref.addEventListener ('loaderror' function(event) {警报 (' 错误: ' + event.message);});ref.addEventListener ('出口',function(event) {alert(event.type);});} < / 脚本 >< / 头 >< 身体 >< / 身体 >< / html >
+    
+
+# removeEventListener
+
+> 移除的事件侦听器`InAppBrowser`.
+
+    ref.removeEventListener (事件、 回调) ;
+    
+
+*   **ref**: 参考 `InAppBrowser` 窗口。*() InAppBrowser*
+
+*   **事件名称**: 要停止侦听的事件。*(字符串)*
+    
+    *   **loadstart**: 当触发事件 `InAppBrowser` 开始加载一个 URL。
+    *   **loadstop**: 当触发事件 `InAppBrowser` 完成加载一个 URL。
+    *   **loaderror**: 当触发事件 `InAppBrowser` 遇到错误加载一个 URL。
+    *   **退出**: 当触发事件 `InAppBrowser` 关闭窗口。
+
+*   **回调**: 要在事件触发时执行的函数。该函数通过 `InAppBrowserEvent` 对象。
+
+## 支持的平台
+
+*   Android 系统
+*   黑莓手机
+*   iOS
+*   Windows Phone 7 和 8
+
+## 快速的示例
+
+    var ref = window.open ('http://apache.org'、 '_blank' ' 位置 = 是的) ;var myCallback = function() {alert(event.url) ;} ref.addEventListener ('loadstart',myCallback);ref.removeEventListener ('loadstart',myCallback);
+    
+
+## 完整的示例
+
+    <!DOCTYPE html >< html >< 头 >< 标题 > InAppBrowser.removeEventListener 示例 < / 标题 >< 脚本类型 ="文本/javascript"charset ="utf 8"src="cordova.js">< / 脚本 >< 脚本类型 ="文本/javascript"charset ="utf 8"> / / 等待设备 API 库加载 / / document.addEventListener ("deviceready",onDeviceReady,false);/ / 全球 InAppBrowser 参考 var iabRef = null;函数 iabLoadStart(event) {警报 (event.type + '-' + event.url) ;} 函数 iabLoadStop(event) {警报 (event.type + '-' + event.url) ;} 函数 iabLoadError(event) {警报 (event.type + '-' + event.message) ;} 函数 iabClose(event) {alert(event.type);iabRef.removeEventListener ('loadstart',iabLoadStart);iabRef.removeEventListener ('loadstop',iabLoadStop);iabRef.removeEventListener ('loaderror',iabLoadError);iabRef.removeEventListener '退出' iabClose) ;} / / 设备的 Api 可 / / 函数 onDeviceReady() {iabRef = window.open ('http://apache.org'、 '_blank' ' 位置 = 是的) ;iabRe
 f.addEventListener ('loadstart',iabLoadStart);iabRef.addEventListener ('loadstop',iabLoadStop);iabRef.removeEventListener ('loaderror',iabLoadError);iabRef.addEventListener '退出' iabClose) ;} < / 脚本 >< / 头 >< 身体 >< / 身体 >< / html >
+    
+
+# 关闭
+
+> 关闭 `InAppBrowser` 窗口。
+
+    ref.close() ;
+    
+
+*   **ref**: 参考 `InAppBrowser` 窗口*(InAppBrowser)*
+
+## 支持的平台
+
+*   Android 系统
+*   黑莓手机
+*   iOS
+*   Windows Phone 7 和 8
+
+## 快速的示例
+
+    var ref = window.open ('http://apache.org'、 '_blank' ' 位置 = 是的) ;ref.close() ;
+    
+
+## 完整的示例
+
+    <!DOCTYPE html >< html >< 头 >< 标题 > InAppBrowser.close 示例 < / 标题 >< 脚本类型 ="文本/javascript"charset ="utf 8"src="cordova.js">< / 脚本 >< 脚本类型 ="文本/javascript"charset ="utf 8"> / / 等待设备 API 库加载 / / document.addEventListener ("deviceready",onDeviceReady,false);/ / 设备的 Api 可 / / 函数 onDeviceReady() {var ref = window.open ('http://apache.org'、 '_blank' ' 位置 = 是的) ;/ / 关闭后 5 秒 setTimeout(function() {ref.close(); InAppBrowser},5000) ;} < / 脚本 >< / 头 >< 身体 >< / 身体 >< / html >
+    
+
+# 显示
+
+> 显示打开了隐藏的 InAppBrowser 窗口。调用这没有任何影响,如果 InAppBrowser 是已经可见。
+
+    ref.show() ;
+    
+
+*   **ref:**的 InAppBrowser 窗口 (参考`InAppBrowser`)
+
+## 支持的平台
+
+*   Android 系统
+*   黑莓手机
+*   iOS
+
+## 快速的示例
+
+    var ref = window.open ('http://apache.org'、 '_blank' ' 隐藏 = 是的) ;ref.show() ;
+    
+
+## 完整的示例
+
+    <!DOCTYPE html >< html >< 头 >< 标题 > InAppBrowser.show 示例 < / 标题 >< 脚本类型 ="文本/javascript"charset ="utf 8"src="cordova.js">< / 脚本 >< 脚本类型 ="文本/javascript"charset ="utf 8"> / / 等待科尔多瓦加载 / / document.addEventListener ("deviceready",onDeviceReady,false);/ / 科尔多瓦是准备好了 / / 函数 onDeviceReady() {var ref = window.open ('http://apache.org'、 '_blank' ' 隐藏 = 是的) ;ref.addEventListener ('loadstop',function(event) {警报 ('背景窗口加载') ;});/ / 关闭后 5 秒 setTimeout(function() {ref.close(); InAppBrowser},5000) ;} < / 脚本 >< / 头 >< 身体 >< / 身体 >< / html >
+    
+
+# executeScript
+
+> 注入到 JavaScript 代码 `InAppBrowser` 窗口
+
+    ref.executeScript 回调的详细信息) ;
+    
+
+*   **ref**: 参考 `InAppBrowser` 窗口。*() InAppBrowser*
+
+*   **injectDetails**: 要运行的脚本的详细信息或指定 `file` 或 `code` 的关键。*(对象)*
+    
+    *   **文件**: 脚本的 URL 来注入。
+    *   **代码**: 要注入脚本的文本。
+
+*   **回调**: 执行后注入的 JavaScript 代码的函数。
+    
+    *   如果插入的脚本的类型 `code` ,回调执行使用单个参数,这是该脚本的返回值,裹在 `Array` 。 对于多行脚本,这是最后一条语句或最后计算的表达式的返回值。
+
+## 支持的平台
+
+*   Android 系统
+*   黑莓手机
+*   iOS
+
+## 快速的示例
+
+    var ref = window.open ('http://apache.org'、 '_blank' ' 位置 = 是的) ;ref.addEventListener ('loadstop' function() {ref.executeSript ({文件:"myscript.js"});});
+    
+
+## 完整的示例
+
+    <!DOCTYPE html >< html >< 头 >< 标题 > InAppBrowser.executeScript 示例 < / 标题 >< 脚本类型 ="文本/javascript"charset ="utf 8"src="cordova.js">< / 脚本 >< 脚本类型 ="文本/javascript"charset ="utf 8"> / / 等待设备 API 库加载 / / document.addEventListener ("deviceready",onDeviceReady,false);/ / 全球 InAppBrowser 参考 var iabRef = null;/ / 我们自定义 JavaScript 注入 InAppBrowser 窗口 / / 函数 replaceHeaderImage() {iabRef.executeScript ({代码:"var img=document.querySelector ('#header img') ;img.src= 'http://cordova.apache.org/images/cordova_bot.png' ;"},function() {警报 ("图像元素成功劫持") ;}} 函数 iabClose(event) {iabRef.removeEventListener ('loadstop',replaceHeaderImage);iabRef.removeEventListener '退出' iabClose) ;} / / 设备的 Api 可 / / 函数 onDeviceReady() {iabRef = window.open ('http://apache.org'、 '_blank' ' 位置 = 是的) ;iabRef.addEventListener ('loadstop',replaceHeaderImage);
 iabRef.addEventListener '退出' iabClose) ;} < / 脚本 >< / 头 >< 身体 >< / 身体 >< / html >
+    
+
+# insertCSS
+
+> 注入到 CSS `InAppBrowser` 窗口。
+
+    ref.insertCSS 回调的详细信息) ;
+    
+
+*   **ref**: 参考 `InAppBrowser` 窗口*(InAppBrowser)*
+
+*   **injectDetails**: 要运行的脚本的详细信息或指定 `file` 或 `code` 的关键。*(对象)*
+    
+    *   **文件**: 样式表的 URL 来注入。
+    *   **代码**: 文本样式表的注入。
+
+*   **回调**: 在 CSS 注射后执行的函数。
+
+## 支持的平台
+
+*   Android 系统
+*   黑莓手机
+*   iOS
+
+## 快速的示例
+
+    var ref = window.open ('http://apache.org'、 '_blank' ' 位置 = 是的) ;ref.addEventListener ('loadstop' function() {ref.insertCSS ({文件:"mystyles.css"});});
+    
+
+## 完整的示例
+
+    <!DOCTYPE html >< html >< 头 >< 标题 > InAppBrowser.insertCSS 示例 < / 标题 >< 脚本类型 ="文本/javascript"charset ="utf 8"src="cordova.js">< / 脚本 >< 脚本类型 ="文本/javascript"charset ="utf 8"> / / 等待设备 API 库加载 / / document.addEventListener ("deviceready",onDeviceReady,false);/ / 全球 InAppBrowser 参考 var iabRef = null;/ / 我们自定义的 CSS 注入 InAppBrowser 窗口 / / 函数 changeBackgroundColor() {iabRef.insertCSS ({代码:"身体 {背景: #ffff00"},function() {警报 ("样式更改") ; 或}} 函数 iabClose(event) {iabRef.removeEventListener ('loadstop',changeBackgroundColor);iabRef.removeEventListener '退出' iabClose) ;} / / 设备的 Api 可 / / 函数 onDeviceReady() {iabRef = window.open ('http://apache.org'、 '_blank' ' 位置 = 是的) ;iabRef.addEventListener ('loadstop',changeBackgroundColor);iabRef.addEventListener '退出' iabClose) ;} < / 脚本 >< / 头 >< 身体 >< / 身体 >< / 
 html >
+    
+
+# InAppBrowserEvent
+
+对象传递给回调函数从 `addEventListener` 上调用 `InAppBrowser` 的对象。
+
+## 属性
+
+*   **类型**: eventname,或者 `loadstart` , `loadstop` , `loaderror` ,或 `exit` 。*(字符串)*
+
+*   **url**: 已加载的 URL。*(字符串)*
+
+*   **代码**: 仅中的情况的错误代码 `loaderror` 。*(人数)*
+
+*   **消息**: 该错误消息,只有在的情况下 `loaderror` 。*(字符串)*
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/992e9151/docs/zh/edge/cordova/inappbrowser/window.open.md
----------------------------------------------------------------------
diff --git a/docs/zh/edge/cordova/inappbrowser/window.open.md b/docs/zh/edge/cordova/inappbrowser/window.open.md
new file mode 100644
index 0000000..267f9b8
--- /dev/null
+++ b/docs/zh/edge/cordova/inappbrowser/window.open.md
@@ -0,0 +1,101 @@
+---
+
+license: Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
+
+           http://www.apache.org/licenses/LICENSE-2.0
+    
+         Unless required by applicable law or agreed to in writing,
+         software distributed under the License is distributed on an
+         "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+         KIND, either express or implied.  See the License for the
+         specific language governing permissions and limitations
+    
+
+   under the License.
+---
+
+# window.open
+
+在一个新的中打开 URL `InAppBrowser` 实例,当前的浏览器实例或系统浏览器。
+
+    var ref = window.open(url, target, options);
+    
+
+*   **ref**: 参考 `InAppBrowser` 窗口。*() InAppBrowser*
+
+*   **url**: 要加载*(字符串)*的 URL。调用 `encodeURI()` 这个如果 URL 包含 Unicode 字符。
+
+*   **目标**: 目标在其中加载的 URL,可选参数,默认值为 `_self` 。*(字符串)*
+    
+    *   `_self`: 打开在科尔多瓦 web 视图如果 URL 是在白名单中,否则它在打开`InAppBrowser`.
+    *   `_blank`: 在打开`InAppBrowser`.
+    *   `_system`: 在该系统的 web 浏览器中打开。
+
+*   **选项**: 选项为 `InAppBrowser` 。可选,拖欠到: `location=yes` 。*(字符串)*
+    
+    `options`字符串必须不包含任何空白的空间,和必须用逗号分隔每个功能的名称/值对。 功能名称区分大小写。 所有平台都支持下面的值:
+    
+    *   **位置**: 设置为 `yes` 或 `no` ,打开 `InAppBrowser` 的位置栏打开或关闭。
+    ## Android 仅
+    
+    *   **closebuttoncaption** -将设置为一个字符串,它将会在"完成"按钮的标题。 
+    *   **隐藏**-设置为是以创建浏览器和加载页面,但不是显示它。 Load 事件将触发加载完成时。 省略或设置为否 (默认值),以有浏览器打开,然后以正常方式加载。 
+    *   **clearcache** -设置为 'yes' 有浏览器的 cookie 缓存清除之前打开新窗口
+    *   **clearsessioncache** -设置为 'yes' 有会话 cookie 缓存清除之前打开新窗口
+    ## iOS 只
+    
+    *   **closebuttoncaption** -将设置为一个字符串,它将会在"完成"按钮的标题。注意你会有自己的本地化此值。
+    *   **隐藏**-设置为是以创建浏览器和加载页面,但不是显示它。 Load 事件将触发加载完成时。 省略或设置为否 (默认值),以有浏览器打开,然后以正常方式加载。 
+    *   **工具栏**-设置为 '是' 或 '否',打开工具栏或关闭为 InAppBrowser (默认值为是)
+    *   **enableViewportScale**: 将设置为 `yes` 或 `no` ,防止通过 meta 标记 (默认为缩放的视区`no`).
+    *   **mediaPlaybackRequiresUserAction**: 将设置为 `yes` 或 `no` ,防止 HTML5 音频或视频从 autoplaying (默认为`no`).
+    *   **allowInlineMediaPlayback**: 将设置为 `yes` 或 `no` 允许内联 HTML5 播放媒体,在浏览器窗口中,而不是特定于设备播放界面内显示。 HTML 的 `video` 元素还必须包括 `webkit-playsinline` 属性 (默认为`no`)
+    *   **keyboardDisplayRequiresUserAction**: 将设置为 `yes` 或 `no` 时,要打开键盘窗体元素接收焦点通过 JavaScript 的 `focus()` 调用 (默认为`yes`).
+    *   **suppressesIncrementalRendering**: 将设置为 `yes` 或 `no` 等待,直到所有新查看的内容正在呈现 (默认为前收到`no`).
+    *   **presentationstyle**: 将设置为 `pagesheet` , `formsheet` 或 `fullscreen` 来设置[演示文稿样式][1](默认为`fullscreen`).
+    *   **transitionstyle**: 将设置为 `fliphorizontal` , `crossdissolve` 或 `coververtical` 设置[过渡样式][2](默认为`coververtical`).
+
+ [1]: http://developer.apple.com/library/ios/documentation/UIKit/Reference/UIViewController_Class/Reference/Reference.html#//apple_ref/occ/instp/UIViewController/modalPresentationStyle
+ [2]: http://developer.apple.com/library/ios/#documentation/UIKit/Reference/UIViewController_Class/Reference/Reference.html#//apple_ref/occ/instp/UIViewController/modalTransitionStyle
+
+## 支持的平台
+
+*   Android 系统
+*   黑莓手机
+*   iOS
+*   Windows Phone 7 和 8
+
+## 快速的示例
+
+    var ref = window.open('http://apache.org', '_blank', 'location=yes');
+    var ref2 = window.open(encodeURI('http://ja.m.wikipedia.org/wiki/ハングル'), '_blank', 'location=yes');
+    
+
+## 完整的示例
+
+    <!DOCTYPE html>
+    <html>
+      <head>
+        <title>window.open Example</title>
+    
+        <script type="text/javascript" charset="utf-8" src="cordova.js"></script>
+        <script type="text/javascript" charset="utf-8">
+    
+        // Wait for device API libraries to load
+        //
+        document.addEventListener("deviceready", onDeviceReady, false);
+    
+        // device APIs are available
+        //
+        function onDeviceReady() {
+            // external url
+            var ref = window.open(encodeURI('http://apache.org'), '_blank', 'location=yes');
+            // relative document
+            ref = window.open('next.html', '_self');
+        }
+    
+        </script>
+      </head>
+      <body>
+      </body>
+    </html>
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/992e9151/docs/zh/edge/cordova/media/MediaError/mediaError.md
----------------------------------------------------------------------
diff --git a/docs/zh/edge/cordova/media/MediaError/mediaError.md b/docs/zh/edge/cordova/media/MediaError/mediaError.md
new file mode 100644
index 0000000..a2403cf
--- /dev/null
+++ b/docs/zh/edge/cordova/media/MediaError/mediaError.md
@@ -0,0 +1,36 @@
+---
+
+license: Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
+
+           http://www.apache.org/licenses/LICENSE-2.0
+    
+         Unless required by applicable law or agreed to in writing,
+         software distributed under the License is distributed on an
+         "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+         KIND, either express or implied.  See the License for the
+         specific language governing permissions and limitations
+    
+
+   under the License.
+---
+
+# MediaError
+
+A `MediaError` 对象返回到 `mediaError` 时出现错误的回调函数。
+
+## 属性
+
+*   **代码**: 下面列出的预定义的错误代码之一。
+
+*   **消息**: 错误消息描述该错误的详细信息。
+
+## 常量
+
+*   `MediaError.MEDIA_ERR_ABORTED`
+*   `MediaError.MEDIA_ERR_NETWORK`
+*   `MediaError.MEDIA_ERR_DECODE`
+*   `MediaError.MEDIA_ERR_NONE_SUPPORTED`
+
+## 说明
+
+`MediaError`对象传递给 `mediaError` 回调函数时出现错误。
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/992e9151/docs/zh/edge/cordova/media/Parameters/mediaError.md
----------------------------------------------------------------------
diff --git a/docs/zh/edge/cordova/media/Parameters/mediaError.md b/docs/zh/edge/cordova/media/Parameters/mediaError.md
new file mode 100644
index 0000000..9b01ccf
--- /dev/null
+++ b/docs/zh/edge/cordova/media/Parameters/mediaError.md
@@ -0,0 +1,28 @@
+---
+
+license: Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
+
+           http://www.apache.org/licenses/LICENSE-2.0
+    
+         Unless required by applicable law or agreed to in writing,
+         software distributed under the License is distributed on an
+         "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+         KIND, either express or implied.  See the License for the
+         specific language governing permissions and limitations
+    
+
+   under the License.
+---
+
+# mediaError
+
+当有错误的媒体功能执行用户指定的回调函数。
+
+    function(error) {
+        // Handle the error
+    }
+    
+
+## 参数
+
+*   **错误**: 设备所返回的错误。*() MediaError*
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/992e9151/docs/zh/edge/cordova/media/capture/CaptureCB.md
----------------------------------------------------------------------
diff --git a/docs/zh/edge/cordova/media/capture/CaptureCB.md b/docs/zh/edge/cordova/media/capture/CaptureCB.md
new file mode 100644
index 0000000..30e9be0
--- /dev/null
+++ b/docs/zh/edge/cordova/media/capture/CaptureCB.md
@@ -0,0 +1,39 @@
+---
+
+license: Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
+
+           http://www.apache.org/licenses/LICENSE-2.0
+    
+         Unless required by applicable law or agreed to in writing,
+         software distributed under the License is distributed on an
+         "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+         KIND, either express or implied.  See the License for the
+         specific language governing permissions and limitations
+    
+
+   under the License.
+---
+
+# CaptureCB
+
+> 在成功的媒体捕获操作时调用。
+
+    function captureSuccess( MediaFile[] mediaFiles ) { ... };
+    
+
+## 说明
+
+此函数执行成功捕获操作完成后。 在已捕获的媒体文件,这点,或者用户已退出媒体捕获应用程序,或已达到捕获限制。
+
+每个 `MediaFile` 对象描述一个捕捉的媒体文件。
+
+## 快速的示例
+
+    // capture callback
+    function captureSuccess(mediaFiles) {
+        var i, path, len;
+        for (i = 0, len = mediaFiles.length; i < len; i += 1) {
+            path = mediaFiles[i].fullPath;
+            // do something interesting with the file
+        }
+    };
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/992e9151/docs/zh/edge/cordova/media/capture/CaptureError.md
----------------------------------------------------------------------
diff --git a/docs/zh/edge/cordova/media/capture/CaptureError.md b/docs/zh/edge/cordova/media/capture/CaptureError.md
new file mode 100644
index 0000000..be6eda2
--- /dev/null
+++ b/docs/zh/edge/cordova/media/capture/CaptureError.md
@@ -0,0 +1,35 @@
+---
+
+license: Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
+
+           http://www.apache.org/licenses/LICENSE-2.0
+    
+         Unless required by applicable law or agreed to in writing,
+         software distributed under the License is distributed on an
+         "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+         KIND, either express or implied.  See the License for the
+         specific language governing permissions and limitations
+    
+
+   under the License.
+---
+
+# CaptureError
+
+> 封装失败的媒体捕获操作所引起的错误代码。
+
+## 属性
+
+*   **代码**: 下面列出的预定义的错误代码之一。
+
+## 常量
+
+*   `CaptureError.CAPTURE_INTERNAL_ERR`: 摄像机或麦克风无法捕获的图像或声音。
+
+*   `CaptureError.CAPTURE_APPLICATION_BUSY`: 相机或音频捕获应用程序正在服另一个捕获请求。
+
+*   `CaptureError.CAPTURE_INVALID_ARGUMENT`: API 的使用无效 (例如,价值 `limit` 小于 1)。
+
+*   `CaptureError.CAPTURE_NO_MEDIA_FILES`: 在用户退出之前捕获任何相机或音频捕获应用程序。
+
+*   `CaptureError.CAPTURE_NOT_SUPPORTED`: 请求的捕获操作不受支持。
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/992e9151/docs/zh/edge/cordova/media/capture/CaptureErrorCB.md
----------------------------------------------------------------------
diff --git a/docs/zh/edge/cordova/media/capture/CaptureErrorCB.md b/docs/zh/edge/cordova/media/capture/CaptureErrorCB.md
new file mode 100644
index 0000000..079b012
--- /dev/null
+++ b/docs/zh/edge/cordova/media/capture/CaptureErrorCB.md
@@ -0,0 +1,35 @@
+---
+
+license: Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
+
+           http://www.apache.org/licenses/LICENSE-2.0
+    
+         Unless required by applicable law or agreed to in writing,
+         software distributed under the License is distributed on an
+         "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+         KIND, either express or implied.  See the License for the
+         specific language governing permissions and limitations
+    
+
+   under the License.
+---
+
+# CaptureErrorCB
+
+> 如果媒体捕获操作期间发生错误,调用。
+
+    function captureError( CaptureError error ) { ... };
+    
+
+## 说明
+
+如果发生错误时试图发起一个媒体捕获操作,执行此函数。 故障情形包括捕获应用程序正忙、 捕获操作已经发生,或用户取消该操作之前捕获任何媒体文件时。
+
+此函数执行与 `CaptureError` 对象,其中包含适当的错误`code`.
+
+## 快速的示例
+
+    // capture error callback
+    var captureError = function(error) {
+        navigator.notification.alert('Error code: ' + error.code, null, 'Capture Error');
+    };
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/992e9151/docs/zh/edge/cordova/media/capture/ConfigurationData.md
----------------------------------------------------------------------
diff --git a/docs/zh/edge/cordova/media/capture/ConfigurationData.md b/docs/zh/edge/cordova/media/capture/ConfigurationData.md
new file mode 100644
index 0000000..0108286
--- /dev/null
+++ b/docs/zh/edge/cordova/media/capture/ConfigurationData.md
@@ -0,0 +1,59 @@
+---
+
+license: Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
+
+           http://www.apache.org/licenses/LICENSE-2.0
+    
+         Unless required by applicable law or agreed to in writing,
+         software distributed under the License is distributed on an
+         "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+         KIND, either express or implied.  See the License for the
+         specific language governing permissions and limitations
+    
+
+   under the License.
+---
+
+# 配置
+
+> 封装一组设备支持的媒体捕获参数。
+
+## 说明
+
+描述设备所支持的媒体捕获模式。配置数据包含的 MIME 类型和捕获尺寸的视频或图像捕获。
+
+MIME 类型应坚持[RFC2046][1]。例子:
+
+ [1]: http://www.ietf.org/rfc/rfc2046.txt
+
+*   `视频/3gpp`
+*   `视频/quicktime`
+*   `图像/jpeg`
+*   `音频/amr`
+*   `音频/wav`
+
+## 属性
+
+*   **类型**: ASCII 编码的小写字符串表示的媒体类型。() DOMString
+
+*   **高度**: 图像或视频以像素为单位的高度。值为零的声音剪辑。(人数)
+
+*   **宽度**: 图像或视频以像素为单位的宽度。值为零的声音剪辑。(人数)
+
+## 快速的示例
+
+    // retrieve supported image modes
+    var imageModes = navigator.device.capture.supportedImageModes;
+    
+    // Select mode that has the highest horizontal resolution
+    var width = 0;
+    var selectedmode;
+    for each (var mode in imageModes) {
+        if (mode.width > width) {
+            width = mode.width;
+            selectedmode = mode;
+        }
+    }
+    
+
+不支持任何平台。所有配置数据数组都是空的。
\ No newline at end of file