You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by ag...@apache.org on 2013/10/02 21:59:32 UTC

[25/51] [partial] CB-4975 Add 3.1.0 version of non-english docs.

http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/2b8e503f/docs/fr/3.1.0/config_ref/images.md
----------------------------------------------------------------------
diff --git a/docs/fr/3.1.0/config_ref/images.md b/docs/fr/3.1.0/config_ref/images.md
new file mode 100644
index 0000000..9c8a636
--- /dev/null
+++ b/docs/fr/3.1.0/config_ref/images.md
@@ -0,0 +1,134 @@
+---
+
+license: Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. Voir le fichier avis distribué avec ce travail d'information additionnelle concernant les droits d'auteur. L'ASF licenses ce fichier vous sous Apache License, Version 2.0 (la "licence") ; vous ne pouvez utiliser ce fichier sauf en conformité avec la licence. 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.
+---
+
+# Icones et Splash Screen
+
+Cette section indique comment configurer une application icône et écran de démarrage facultatif pour diverses plates-formes, les deux lorsque vous travaillez dans la CLI de Cordova (décrites dans l'Interface de ligne de commande) ou en utilisant les outils du SDK spécifique à la plateforme (détaillées dans les Guides de la plate-forme).
+
+## Configuration des icônes dans le CLI
+
+Lorsque vous travaillez dans la CLI, icône source fichiers se trouvent dans les différents sous-répertoires spécifiques à une plateforme au sein du projet `www/res/icons` répertoire. Projets nouvellement créés disposent d'un ensemble par défaut des icônes de Cordova pour vous permet de remplacer les plates-formes que vous voulez cibler.
+
+Android spécifie les icônes de faible, moyenne, haute et très haute résolution :
+
+        android/icon-36-ldpi.png
+        android/icon-48-mdpi.png
+        android/icon-72-hdpi.png
+        android/icon-96-xhdpi.png
+    
+
+La plateforme iOS spécifie 72-pixel-square des icônes pour les iPads, et affiche des icônes de 57 pixels pour les iPhones et iPods, avec haute résolution *x 2* variantes pour la rétine :
+
+        ios/icon-57-2x.png
+        ios/icon-57.png
+        ios/icon-72-2x.png
+        ios/icon-72.png
+    
+
+Windows Phone spécifie une icône de 48 pixels par défaut, ainsi que de l'arrière-plan des divers dispositifs carrelage images utilisées dans la représentation des applications :
+
+        windows-phone/icon-48.png
+        windows-phone/icon-62-tile.png
+        windows-phone/icon-173-tile.png
+    
+
+BlackBerry nécessite une icône 80 pixels :
+
+        blackberry/icon-80.png
+    
+
+Paciarelli nécessite une icône de 128 pixels :
+
+        tizen/icon-128.png
+    
+
+## Configuration des écrans de démarrage dans le CLI
+
+Utiliser l'API de Splashscreen pour permettre l'affichage de l'écran splash liminaire de l'app sur de nombreuses plates-formes. Lorsque vous travaillez dans le CLI, les fichiers source écran d'éclaboussure sont situés au sein du projet `www/res/screens` sous-répertoire.
+
+Android spécifie les deux images d'écran splash-orientation portrait et paysage de faible, moyenne, haute et très haute résolution :
+
+        android/screen-hdpi-landscape.png
+        android/screen-hdpi-portrait.png
+        android/screen-ldpi-landscape.png
+        android/screen-ldpi-portrait.png
+        android/screen-mdpi-landscape.png
+        android/screen-mdpi-portrait.png
+        android/screen-xhdpi-landscape.png
+        android/screen-xhdpi-portrait.png
+    
+
+La plateforme iOS spécifie des variantes pour iPhone/iPod / iPad, avec des variantes pour les écrans de la rétine et des orientations différentes. Le fichier *568 h* personnalisé pour le plus grand écran de l'iPhone 5 :
+
+        ios/screen-ipad-landscape-2x.png
+        ios/screen-ipad-landscape.png
+        ios/screen-ipad-portrait-2x.png
+        ios/screen-ipad-portrait.png
+        ios/screen-iphone-landscape-2x.png
+        ios/screen-iphone-landscape.png
+        ios/screen-iphone-portrait-2x.png
+        ios/screen-iphone-portrait.png
+        ios/screen-iphone-portrait-568h-2x.png
+    
+
+BlackBerry et Windows Phone à la fois spécifient une image à l'écran splash unique :
+
+        blackberry/screen-225.png
+        windows-phone/screen-portrait.jpg
+    
+
+Les sections suivantes décrivent comment configurer les écrans de démarrage lors de l'utilisation des kits de développement logiciel et les outils de ligne de commande associés décrit dans les Guides de la plate-forme.
+
+## Écrans de démarrage pour la plateforme Android
+
+Placez-y les fichiers [image 9-patch][1] du projet Android `res/drawable` répertoire. La taille de chacun doit être :
+
+ [1]: https://developer.android.com/tools/help/draw9patch.html
+
+*   XLarge (xhdpi): au moins 960 × 720
+*   grand (hdpi): au moins 640 × 480
+*   moyen (mdpi): au moins 470 × 320
+*   petit (ldpi): au moins 426 × 320
+
+Dans `config.xml` , ajoutez les préférences suivantes :
+
+    <preference name="splashscreen", "splash" />
+    <preference name="splashScreenDelay", 10000 />
+    
+
+La première ligne définit l'image à afficher comme écran de démarrage. Si vous nommez votre image quoi que ce soit autre que `splash.png` , vous devez modifier cette ligne.
+
+La deuxième ligne définit le retard de combien de temps le splashscreen apparaît en millisecondes. De rejeter l'écran de démarrage lorsque l'application reçoit la `deviceready` événement, appelez le `navigator.splashscreen.hide()` méthode.
+
+## Écrans de démarrage pour l'iOS plate-forme
+
+Copiez-y votre images écran de démarrage du projet iOS `Resources/splash` répertoire. Seulement ajouter les images pour les périphériques que vous souhaitez prendre en charge, tels que l'iPad ou iPhone. La taille de chaque image doit être :
+
+*   Default-568h@2x~iphone.png (640x1136 pixels)
+*   Default-Landscape@2x~ipad.png (2048 x 1496 pixels)
+*   Default-Landscape~ipad.png (1024x748 pixels)
+*   Default-Portrait@2x~ipad.png (1536x2008 pixels)
+*   Default-Portrait~ipad.png (768x1004 pixels)
+*   Default@2x~iphone.png (640x960 pixels)
+*   Default~iphone.png (320x480 pixels)
+
+## Écrans de démarrage pour la plateforme BlackBerry 10
+
+Copiez vos images écran de démarrage dans le projet `res/screen/blackberry10` répertoire. Les noms de fichier doivent être :
+
+*   splash-1280x768.png (1280x768 pixels)
+*   splash-720x720.png (720x720 pixels)
+*   splash-768x1280.png (768x1280 pixels)
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/2b8e503f/docs/fr/3.1.0/config_ref/index.md
----------------------------------------------------------------------
diff --git a/docs/fr/3.1.0/config_ref/index.md b/docs/fr/3.1.0/config_ref/index.md
new file mode 100644
index 0000000..331c54f
--- /dev/null
+++ b/docs/fr/3.1.0/config_ref/index.md
@@ -0,0 +1,132 @@
+---
+
+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.
+---
+
+# Le fichier config.xml
+
+Plusieurs aspects du comportement de l'application peuvent être contrôlés avec un fichier de configuration globale, `config.xml` , qui est placé dans le répertoire racine, au même endroit que la page d'accueil de l'application. Ce fichier XML de plate-forme agnostique est formaté selon spécification [Emballés Web Applications (Widgets)][1] de la W3C et étendu pour spécifier les paramètres spécifiques à la plateforme, plugins et principales fonctionnalités API Cordova.
+
+ [1]: http://www.w3.org/TR/widgets/
+
+Pour les projets créés avec l'interface en ligne de commande de Cordova (décrite dans le paragraphe "L'interface en Ligne de Commande"), ce fichier peut être trouvé dans le répertoire `www` à la racine du projet. L'utilisation du CLI pour créer un projet régénérera ce fichier dans les différents sous-dossiers dans `platforms` . Si vous utilisez le CLI pour créer un projet, mais qu'ensuite vous changez pour un SDK, le fichier spécifique à la plateforme servira de source.
+
+Cette section décrit en détail les options de configuration globale et multi-plateforme. Consultez les sections suivantes pour les options spécifiques à la plateforme :
+
+*   Configuration iOS
+*   Configuration Android
+*   Configuration BlackBerry
+
+Outre les diverses options de configuration détaillées ci-dessous, vous pouvez également configurer ensemble de base d'une application d'images pour chaque plate-forme cible. Pour plus d'informations, consultez icônes et écrans de démarrage.
+
+## Éléments de configuration de base
+
+Cet exemple affiche la valeur par défaut `config.xml` généré par le CLI `create` commande, décrite dans l'Interface de ligne de commande :
+
+        <widget id="com.example.hello" version="0.0.1">
+            <name>HelloWorld</name>
+            <description>
+                A sample Apache Cordova application that responds to the deviceready event.
+            </description>
+            <author email="dev@callback.apache.org" href="http://cordova.io">
+                Apache Cordova Team
+            </author>
+            <content src="index.html" />
+            <access origin="*" />
+            <preference name="Fullscreen" value="true" />
+            <preference name="WebViewBounce" value="true" />
+        </widget>
+    
+
+<!-- QUERY: is WebViewBounce superseded by DisallowOverscroll? -->
+
+Les éléments de configuration suivants apparaissent dans le premier niveau `config.xml` du fichier et sont pris en charge sur toutes les plateformes prises en charge de Cordoue :
+
+*   La `<widget>` de l'élément `id` attribut fournit l'identificateur de domaine inverse du PPA et les `version` son numéro de version complet exprimé en notation majeur/mineur/patch.
+
+*   L'élément `<name>` spécifie le nom formel de l'application, tel qu'il apparaît sur l'écran d'accueil de l'appareil et dans le app-store.
+
+*   Le `<description>` et `<author>` éléments spécifient les métadonnées et les informations de contact qui peuvent apparaître au sein de l'app-store listings.
+
+*   Le paramètre optionnel `<content>` élément définit la page de démarrage de votre application dans le répertoire actif de web de niveau supérieur. La valeur par défaut est `index.html` , qui apparaît habituellement dans le dossier de niveau supérieur du projet, `www`.
+
+*   Les éléments `<access>` définissent l'ensemble des domaines externes avec lesquels l'application est autorisée à communiquer. La valeur par défaut ci-dessus permet d'accéder à n'importe quel serveur. Consultez le Guide de liste blanche de domaine pour plus de détails.
+
+*   La balise `<preference>` définit différentes options sous forme de paires d'attributs `name` / `value`. Le `name` de chaque préférence est insensible à la casse. Plusieurs préférences sont spécifiques à certaines plateformes, comme indiqué en haut de cette page. Les sections suivantes détaillent les préférences qui s'appliquent à plus d'une plateforme.
+
+## Préférences globales
+
+Les préférences globales suivantes s'appliquent à toutes les plateformes :
+
+*   `Fullscreen`permet de masquer la barre d'état en haut de l'écran. La valeur par défaut est `false` . Exemple :
+    
+        <preference name="Fullscreen" value="true" />
+        
+
+*   `Orientation`permet de verrouiller l'orientation et d'empêcher toute rotation en réponse aux changements dans l'orientation de l'interface. Les valeurs possibles sont `default` , `landscape` , ou `portrait` . Exemple :
+    
+        <preference name="Orientation" value="landscape" />
+        
+    
+    **Remarque :** La valeur `default` signifie les orientations portrait et paysage sont toutes les deux activées. Si vous souhaitez utiliser les paramètres par défaut de chaque plateforme (habituellement portrait uniquement), effacez cette balise du fichier `config.xml`. Aussi, BlackBerry utilise `auto` au lieu de `default` dans son fichier `config.xml`. Si vous spécifiez `default` dans le fichier `config.xml` global, cela se traduit par `auto` lors de la compilation pour BlackBerry.
+
+## Préférences multi-plateformes
+
+Les préférences suivantes s'appliquent à plus d'une plate-forme, mais pas tous d'entre eux :
+
+*   `DisallowOverscroll`(boolean, la valeur par défaut `false` ): la valeur `true` si vous ne voulez pas l'interface pour afficher n'importe quelle rétroaction lorsque les utilisateurs faire défiler devant le début ou la fin du contenu.
+    
+        <preference name="DisallowOverscroll" value="true"/>
+        
+    
+    S'applique à Android et iOS. Sur iOS, un mouvement de défilement exagéré fera rebondir le contenu à sa position initiale. Sur Android, ils produisent un effet brillant plus subtil le long du rebord en haut ou en bas du contenu.
+
+*   `BackgroundColor`: Définir la couleur d'arrière-plan de l'application. Prend en charge une valeur hexadécimale de quatre octets, avec le premier octet qui représente le canal alpha et les valeurs RGB standards pour les trois octets suivants. Cet exemple spécifie bleu :
+    
+        <preference name="BackgroundColor" value="0xff0000ff"/>
+        
+    
+    S'applique à Android et BlackBerry. Substitue des CSS autrement disponibles sur *toutes* les plateformes, par exemple :`body{background-color:blue}`.
+
+*   `HideKeyboardFormAccessoryBar`(boolean, la valeur par défaut `false` ): la valeur `true` pour masquer la barre d'outils supplémentaire qui apparaît au-dessus du clavier, aidant les utilisateurs navigueront d'un formulaire de saisie à l'autre.
+    
+        <preference name="HideKeyboardFormAccessoryBar" value="true"/>
+        
+    
+    S'applique à iOS et BlackBerry.
+    
+    **Remarque :** Pour BlackBerry, les valeurs valides sont `enable` ou`disable`.
+
+## L'élément `<feature>`
+
+Si vous utilisez la CLI pour créer des applications, vous utilisez la `plugin` commande pour activer le périphérique API. Cela ne modifie pas le niveau supérieur `config.xml` fichier, donc le `<feature>` élément ne s'applique pas à votre flux de travail. Si vous êtes travaillant directement dans un kit de développement logiciel et à l'aide de la plate-forme spécifique `config.xml` fichier source, vous utilisez le `<feature>` tag pour permettre aux API de niveau périphérique et des plugins externes. Ils apparaissent généralement sous cette forme :
+
+        <feature name="Plugin" value="PluginID" />
+    
+
+Elles apparaissent souvent avec des valeurs personnalisées dans spécifique à la plateforme `config.xml` fichiers. Par exemple, voici comment spécifier l'API Device pour les projets Android :
+
+        <feature name="Device">
+            <param name="android-package" value="org.apache.cordova.device.Device" />
+        </feature>
+    
+
+Voici l'apparence de l'élément pour les projets d'iOS :
+
+        <feature name="Device">
+            <param name="ios-package" value="CDVDevice" />
+        </feature>
+    
+
+Voir la référence de l'API pour plus d'informations sur la spécification de chaque fonctionnalité. Consultez le Guide de développement de Plugin pour plus d'informations sur les plugins.
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/2b8e503f/docs/fr/3.1.0/cordova/accelerometer/acceleration/acceleration.md
----------------------------------------------------------------------
diff --git a/docs/fr/3.1.0/cordova/accelerometer/acceleration/acceleration.md b/docs/fr/3.1.0/cordova/accelerometer/acceleration/acceleration.md
new file mode 100644
index 0000000..875cf84
--- /dev/null
+++ b/docs/fr/3.1.0/cordova/accelerometer/acceleration/acceleration.md
@@ -0,0 +1,98 @@
+---
+
+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.
+---
+
+# Accélération
+
+Contient les données `Accelerometer` capturées à un moment donné dans le temps.
+
+## Propriétés
+
+*   **x**: Valeur de l'accélération sur l'axe des x. (en m/s^2) *(Number)*
+*   **y**: Valeur de l'accélération sur l'axe des y. (en m/s^2) *(Number)*
+*   **y**: Valeur de l'accélération sur l'axe des z. (en m/s^2) *(Number)*
+*   **timestamp**: Date de création en millisecondes. *(DOMTimeStamp)*
+
+## Description
+
+Un objet de type `Acceleration` est retourné par chacune des méthodes de l'API `Accelerometer`. Les valeurs d'accélération tiennent compte de l'effet de gravité (9,81 m/s^2), ce qui signifie que *x*, *y*, et *z* vaudraient respectivement ``, ``, et `9.81` si l'appareil reposait à plat, son écran orienté vers le haut.
+
+## Plates-formes supportées
+
+*   Android
+*   BlackBerry WebWorks (OS 5.0 et plus)
+*   iOS
+*   Tizen
+*   Windows Phone 7 et 8
+*   Windows 8
+
+## Exemple rapide
+
+    function onSuccess(acceleration) {
+        alert('Acceleration X: ' + acceleration.x + '\n' +
+              'Acceleration Y: ' + acceleration.y + '\n' +
+              'Acceleration Z: ' + acceleration.z + '\n' +
+              'Timestamp: '      + acceleration.timestamp + '\n');
+    };
+    
+    function onError() {
+        alert('onError!');
+    };
+    
+    navigator.accelerometer.getCurrentAcceleration(onSuccess, onError);
+    
+
+## Exemple complet
+
+    <!DOCTYPE html>
+    <html>
+      <head>
+        <title>Acceleration 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() {
+            navigator.accelerometer.getCurrentAcceleration(onSuccess, onError);
+        }
+    
+        // onSuccess: Get a snapshot of the current acceleration
+        //
+        function onSuccess(acceleration) {
+            alert('Acceleration X: ' + acceleration.x + '\n' +
+                  'Acceleration Y: ' + acceleration.y + '\n' +
+                  'Acceleration Z: ' + acceleration.z + '\n' +
+                  'Timestamp: '      + acceleration.timestamp + '\n');
+        }
+    
+        // onError: Failed to get the acceleration
+        //
+        function onError() {
+            alert('onError!');
+        }
+    
+        </script>
+      </head>
+      <body>
+        <h1>Example</h1>
+        <p>getCurrentAcceleration</p>
+      </body>
+    </html>
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/2b8e503f/docs/fr/3.1.0/cordova/accelerometer/accelerometer.clearWatch.md
----------------------------------------------------------------------
diff --git a/docs/fr/3.1.0/cordova/accelerometer/accelerometer.clearWatch.md b/docs/fr/3.1.0/cordova/accelerometer/accelerometer.clearWatch.md
new file mode 100644
index 0000000..b76a4d5
--- /dev/null
+++ b/docs/fr/3.1.0/cordova/accelerometer/accelerometer.clearWatch.md
@@ -0,0 +1,109 @@
+---
+
+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.
+---
+
+# accelerometer.clearWatch
+
+Arrêter la surveillance du `Acceleration` référencée par le paramètre `watchID`.
+
+    navigator.accelerometer.clearWatch(watchID);
+    
+
+*   **watchID**: l'ID retourné par`accelerometer.watchAcceleration`.
+
+## Plates-formes prises en charge
+
+*   Android
+*   BlackBerry WebWorks (OS 5.0 et plus)
+*   iOS
+*   Tizen
+*   Windows Phone 7 et 8
+*   Windows 8
+
+## Exemple rapide
+
+    var watchID = navigator.accelerometer.watchAcceleration(onSuccess, onError, options);
+    
+    // ... later on ...
+    
+    navigator.accelerometer.clearWatch(watchID);
+    
+
+## Exemple complet
+
+    <!DOCTYPE html>
+    <html>
+      <head>
+        <title>Acceleration Example</title>
+    
+        <script type="text/javascript" charset="utf-8" src="cordova.js"></script>
+        <script type="text/javascript" charset="utf-8">
+    
+        // The watch id references the current `watchAcceleration`
+        var watchID = null;
+    
+        // Wait for device API libraries to load
+        //
+        document.addEventListener("deviceready", onDeviceReady, false);
+    
+        // device APIs are available
+        //
+        function onDeviceReady() {
+            startWatch();
+        }
+    
+        // Start watching the acceleration
+        //
+        function startWatch() {
+    
+            // Update acceleration every 3 seconds
+            var options = { frequency: 3000 };
+    
+            watchID = navigator.accelerometer.watchAcceleration(onSuccess, onError, options);
+        }
+    
+        // Stop watching the acceleration
+        //
+        function stopWatch() {
+            if (watchID) {
+                navigator.accelerometer.clearWatch(watchID);
+                watchID = null;
+            }
+        }
+    
+        // onSuccess: Get a snapshot of the current acceleration
+        //
+        function onSuccess(acceleration) {
+            var element = document.getElementById('accelerometer');
+    
+            element.innerHTML = 'Acceleration X: ' + acceleration.x + '<br />' +
+                                'Acceleration Y: ' + acceleration.y + '<br />' +
+                                'Acceleration Z: ' + acceleration.z + '<br />' +
+                                'Timestamp: '      + acceleration.timestamp + '<br />';
+        }
+    
+        // onError: Failed to get the acceleration
+        //
+        function onError() {
+            alert('onError!');
+        }
+    
+        </script>
+      </head>
+      <body>
+        <div id="accelerometer">Waiting for accelerometer...</div>
+            <button onclick="stopWatch();">Stop Watching</button>
+      </body>
+    </html>
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/2b8e503f/docs/fr/3.1.0/cordova/accelerometer/accelerometer.getCurrentAcceleration.md
----------------------------------------------------------------------
diff --git a/docs/fr/3.1.0/cordova/accelerometer/accelerometer.getCurrentAcceleration.md b/docs/fr/3.1.0/cordova/accelerometer/accelerometer.getCurrentAcceleration.md
new file mode 100644
index 0000000..477a389
--- /dev/null
+++ b/docs/fr/3.1.0/cordova/accelerometer/accelerometer.getCurrentAcceleration.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.
+---
+
+# accelerometer.getCurrentAcceleration
+
+Renvoie l'accélération en cours sur les axes *x*, *y*et *z* .
+
+    navigator.accelerometer.getCurrentAcceleration(accelerometerSuccess, accelerometerError);
+    
+
+## Description
+
+L'accéléromètre est un capteur de mouvement qui détecte la modification (*delta*) en mouvement relatif à l'orientation actuelle de l'appareil, en trois dimensions le long de l'axe *x*, *y* et *z* .
+
+Ces valeurs d'accélération sont retournées par la fonction callback `accelerometerSuccess`.
+
+## Plates-formes supportées
+
+*   Android
+*   BlackBerry WebWorks (OS 5.0 et plus)
+*   iOS
+*   Tizen
+*   Windows Phone 7 et 8
+*   Windows 8
+
+## Exemple rapide
+
+    function onSuccess(acceleration) {
+        alert('Acceleration X: ' + acceleration.x + '\n' +
+              'Acceleration Y: ' + acceleration.y + '\n' +
+              'Acceleration Z: ' + acceleration.z + '\n' +
+              'Timestamp: '      + acceleration.timestamp + '\n');
+    };
+    
+    function onError() {
+        alert('onError!');
+    };
+    
+    navigator.accelerometer.getCurrentAcceleration(onSuccess, onError);
+    
+
+## Exemple complet
+
+    <!DOCTYPE html>
+    <html>
+      <head>
+        <title>Acceleration 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() {
+            navigator.accelerometer.getCurrentAcceleration(onSuccess, onError);
+        }
+    
+        // onSuccess: Get a snapshot of the current acceleration
+        //
+        function onSuccess(acceleration) {
+            alert('Acceleration X: ' + acceleration.x + '\n' +
+                  'Acceleration Y: ' + acceleration.y + '\n' +
+                  'Acceleration Z: ' + acceleration.z + '\n' +
+                  'Timestamp: '      + acceleration.timestamp + '\n');
+        }
+    
+        // onError: Failed to get the acceleration
+        //
+        function onError() {
+            alert('onError!');
+        }
+    
+        </script>
+      </head>
+      <body>
+        <h1>Example</h1>
+        <p>getCurrentAcceleration</p>
+      </body>
+    </html>
+    
+
+## Caprices d'iOS
+
+*   iOS ne permet pas d'obtenir l'accélération en cours à un instant donné.
+
+*   Vous devez observer l'accélération et capturer ses données à un intervalle de temps donné.
+
+*   De ce fait, la fonction `getCurrentAcceleration` renvoie la dernière valeur retournée par un appel à `watchAccelerometer`.
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/2b8e503f/docs/fr/3.1.0/cordova/accelerometer/accelerometer.md
----------------------------------------------------------------------
diff --git a/docs/fr/3.1.0/cordova/accelerometer/accelerometer.md b/docs/fr/3.1.0/cordova/accelerometer/accelerometer.md
new file mode 100644
index 0000000..89df159
--- /dev/null
+++ b/docs/fr/3.1.0/cordova/accelerometer/accelerometer.md
@@ -0,0 +1,86 @@
+---
+
+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.
+---
+
+# Accéléromètre
+
+> Capture le mouvement d'un appareil sur les axes *x*, *y* et *z* .
+
+## Méthodes
+
+*   accelerometer.getCurrentAcceleration
+*   accelerometer.watchAcceleration
+*   accelerometer.clearWatch
+
+## Arguments
+
+*   accelerometerSuccess
+*   accelerometerError
+*   accelerometerOptions
+
+## Objets (lecture seule)
+
+*   Acceleration
+
+## Accéder à la fonctionnalité
+
+Depuis la version 3.0, Cordova implémente les API liées à l'appareil en tant que *plugins*. Utiliser la commande `plugin` de l'Interface en Ligne de Commande, décrite dans la section intitulée L'Interface en Ligne de Commande, afin d'ajouter ou retirer cette fonctionnalité à un projet :
+
+        $ cordova plugin add org.apache.cordova.device-motion
+        $ cordova plugin ls
+        [ 'org.apache.cordova.device-motion' ]
+        $ cordova plugin rm org.apache.cordova.device-motion
+    
+
+Ces commandes s'appliquent à toutes les plates-formes ciblées mais modifient les paramètres de configuration spécifiques aux différentes plates-formes tel que décrit ci-dessous :
+
+*   Android (dans`app/res/xml/config.xml`)
+    
+        <feature name="Accelerometer">
+            <param name="android-package" value="org.apache.cordova.AccelListener" />
+        </feature>
+        
+
+*   BlackBerry WebWorks
+    
+        (in www/plugins.xml)
+        <feature name="Accelerometer">
+            <param name="blackberry-package" value="org.apache.cordova.accelerometer.Accelerometer" />
+        </feature>
+        
+        (in www/config.xml)
+        <feature id="blackberry.system"  required="true" version="1.0.0.0" />
+        <feature id="org.apache.cordova" required="true" version="1.0.0" />
+        
+
+*   iOS (dans`config.xml`)
+    
+        <feature name="Accelerometer">
+            <param name="ios-package" value="CDVAccelerometer" />
+        </feature>
+        
+
+*   Windows Phone (dans`Properties/WPAppManifest.xml`)
+    
+        <Capabilities>
+            <Capability Name="ID_CAP_SENSORS" />
+        </Capabilities>
+        
+    
+    Référence : [Manifeste d'Application pour Windows Phone][1]
+
+ [1]: http://msdn.microsoft.com/en-us/library/ff769509%28v=vs.92%29.aspx
+
+Certaines plates-formes peuvent prendre en charge cette fonctionnalité sans nécessiter aucune configuration spéciale. Voir *Support de plate-forme* dans la section vue d'ensemble.
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/2b8e503f/docs/fr/3.1.0/cordova/accelerometer/accelerometer.watchAcceleration.md
----------------------------------------------------------------------
diff --git a/docs/fr/3.1.0/cordova/accelerometer/accelerometer.watchAcceleration.md b/docs/fr/3.1.0/cordova/accelerometer/accelerometer.watchAcceleration.md
new file mode 100644
index 0000000..d6a1425
--- /dev/null
+++ b/docs/fr/3.1.0/cordova/accelerometer/accelerometer.watchAcceleration.md
@@ -0,0 +1,129 @@
+---
+
+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.
+---
+
+# accelerometer.watchAcceleration
+
+À intervalle régulier, obtenez l'accélération suivant l'axe *x*, *y*et *z* .
+
+    var watchID = navigator.accelerometer.watchAcceleration(accelerometerSuccess,
+                                                           accelerometerError,
+                                                           [accelerometerOptions]);
+    
+
+## Description
+
+L'accéléromètre est un capteur de mouvement qui détecte la modification (delta) en mouvement par rapport à la position actuelle. L'accéléromètre permet de détecter un mouvement 3D le long des axes *x*, *y*et *z*.
+
+La méthode `accelerometer.watchAcceleration` récupère `Acceleration` de l'appareil à intervalle régulier, exécutant la fonction de callback `accelerometerSuccess` à chaque fois. Spécifiez l'intervalle, en millisecondes, via le paramètre `frequency` de l'objet `acceleratorOptions`.
+
+L'ID de surveillance référence les intervalles de surveillance de l'accéléromètre et peut être utilisé avec `accelerometer.clearWatch` pour arrêter de surveiller l'accéléromètre.
+
+## Plates-formes prises en charge
+
+*   Android
+*   BlackBerry WebWorks (OS 5.0 et plus)
+*   iOS
+*   Tizen
+*   Windows Phone 7 et 8
+*   Windows 8
+
+## Exemple rapide
+
+    function onSuccess(acceleration) {
+        alert('Acceleration X: ' + acceleration.x + '\n' +
+              'Acceleration Y: ' + acceleration.y + '\n' +
+              'Acceleration Z: ' + acceleration.z + '\n' +
+              'Timestamp: '      + acceleration.timestamp + '\n');
+    };
+    
+    function onError() {
+        alert('onError!');
+    };
+    
+    var options = { frequency: 3000 };  // Update every 3 seconds
+    
+    var watchID = navigator.accelerometer.watchAcceleration(onSuccess, onError, options);
+    
+
+## Exemple complet
+
+    <!DOCTYPE html>
+    <html>
+      <head>
+        <title>Acceleration Example</title>
+    
+        <script type="text/javascript" charset="utf-8" src="cordova.js"></script>
+        <script type="text/javascript" charset="utf-8">
+    
+        // The watch id references the current `watchAcceleration`
+        var watchID = null;
+    
+        // Wait for device API libraries to load
+        //
+        document.addEventListener("deviceready", onDeviceReady, false);
+    
+        // device APIs are available
+        //
+        function onDeviceReady() {
+            startWatch();
+        }
+    
+        // Start watching the acceleration
+        //
+        function startWatch() {
+    
+            // Update acceleration every 3 seconds
+            var options = { frequency: 3000 };
+    
+            watchID = navigator.accelerometer.watchAcceleration(onSuccess, onError, options);
+        }
+    
+        // Stop watching the acceleration
+        //
+        function stopWatch() {
+            if (watchID) {
+                navigator.accelerometer.clearWatch(watchID);
+                watchID = null;
+            }
+        }
+    
+        // onSuccess: Get a snapshot of the current acceleration
+        //
+        function onSuccess(acceleration) {
+            var element = document.getElementById('accelerometer');
+            element.innerHTML = 'Acceleration X: ' + acceleration.x         + '<br />' +
+                                'Acceleration Y: ' + acceleration.y         + '<br />' +
+                                'Acceleration Z: ' + acceleration.z         + '<br />' +
+                                'Timestamp: '      + acceleration.timestamp + '<br />';
+        }
+    
+        // onError: Failed to get the acceleration
+        //
+        function onError() {
+            alert('onError!');
+        }
+    
+        </script>
+      </head>
+      <body>
+        <div id="accelerometer">Waiting for accelerometer...</div>
+      </body>
+    </html>
+    
+
+## Caprices d'iOS
+
+L'API appelle la fonction de callback de succès à l'intervalle demandé mais restreint l'éventail des demandes à l'appareil entre 40ms et 1000ms. Par exemple, si vous demandez un intervalle de 3 secondes, (3000ms), l'API demande des données de l'appareil toutes les 1 seconde, mais exécute seulement le callback de succès toutes les 3 secondes.
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/2b8e503f/docs/fr/3.1.0/cordova/accelerometer/parameters/accelerometerError.md
----------------------------------------------------------------------
diff --git a/docs/fr/3.1.0/cordova/accelerometer/parameters/accelerometerError.md b/docs/fr/3.1.0/cordova/accelerometer/parameters/accelerometerError.md
new file mode 100644
index 0000000..45a4aec
--- /dev/null
+++ b/docs/fr/3.1.0/cordova/accelerometer/parameters/accelerometerError.md
@@ -0,0 +1,23 @@
+---
+
+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.
+---
+
+# accelerometerError
+
+Fonction callback onError pour les méthodes d'accélération.
+
+    function() {
+        // Handle the error
+    }
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/2b8e503f/docs/fr/3.1.0/cordova/accelerometer/parameters/accelerometerOptions.md
----------------------------------------------------------------------
diff --git a/docs/fr/3.1.0/cordova/accelerometer/parameters/accelerometerOptions.md b/docs/fr/3.1.0/cordova/accelerometer/parameters/accelerometerOptions.md
new file mode 100644
index 0000000..e17ae83
--- /dev/null
+++ b/docs/fr/3.1.0/cordova/accelerometer/parameters/accelerometerOptions.md
@@ -0,0 +1,23 @@
+---
+
+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.
+---
+
+# accelerometerOptions
+
+Paramètre optionnel permettant la personnalisation de la récupération des valeurs de l'accéléromètre.
+
+## Options
+
+*   **frequency**: Fréquence de récupération de l'`Acceleration` en millisecondes. *(Number)* (Défaut : 10000)
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/2b8e503f/docs/fr/3.1.0/cordova/accelerometer/parameters/accelerometerSuccess.md
----------------------------------------------------------------------
diff --git a/docs/fr/3.1.0/cordova/accelerometer/parameters/accelerometerSuccess.md b/docs/fr/3.1.0/cordova/accelerometer/parameters/accelerometerSuccess.md
new file mode 100644
index 0000000..bf1b6e4
--- /dev/null
+++ b/docs/fr/3.1.0/cordova/accelerometer/parameters/accelerometerSuccess.md
@@ -0,0 +1,37 @@
+---
+
+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.
+---
+
+# accelerometerSuccess
+
+Function callback onSuccess qui fournit les informations d'`Acceleration`.
+
+    function(acceleration) {
+        // Do something
+    }
+    
+
+## Paramètres
+
+*   **acceleration**: L'accélération pour un instant donné. (Acceleration)
+
+## Exemple
+
+    function onSuccess(acceleration) {
+        alert('Acceleration X: ' + acceleration.x + '\n' +
+              'Acceleration Y: ' + acceleration.y + '\n' +
+              'Acceleration Z: ' + acceleration.z + '\n' +
+              'Timestamp: '      + acceleration.timestamp + '\n');
+    };
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/2b8e503f/docs/fr/3.1.0/cordova/camera/camera.cleanup.md
----------------------------------------------------------------------
diff --git a/docs/fr/3.1.0/cordova/camera/camera.cleanup.md b/docs/fr/3.1.0/cordova/camera/camera.cleanup.md
new file mode 100644
index 0000000..342a9c9
--- /dev/null
+++ b/docs/fr/3.1.0/cordova/camera/camera.cleanup.md
@@ -0,0 +1,42 @@
+---
+
+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.
+---
+
+# camera.cleanup
+
+Supprime les photos intermédiaires prises par la caméra sur le support de stockage temporaire.
+
+    navigator.camera.cleanup( cameraSuccess, cameraError );
+    
+
+## Description
+
+Supprime les fichiers d'image intermédiaire qui sont conservés dans le support de stockage temporaire après l'appel à `camera.getPicture`. S'applique uniquement lorsque la valeur de `Camera.sourceType` est égale à `Camera.PictureSourceType.CAMERA` et `Camera.destinationType` est égale à `Camera.DestinationType.FILE_URI`.
+
+## Plates-formes prises en charge
+
+*   iOS
+
+## Exemple
+
+    navigator.camera.cleanup(onSuccess, onFail);
+    
+    function onSuccess() {
+        console.log("Camera cleanup success.")
+    }
+    
+    function onFail(message) {
+        alert('Failed because: ' + message);
+    }
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/2b8e503f/docs/fr/3.1.0/cordova/camera/camera.getPicture.md
----------------------------------------------------------------------
diff --git a/docs/fr/3.1.0/cordova/camera/camera.getPicture.md b/docs/fr/3.1.0/cordova/camera/camera.getPicture.md
new file mode 100644
index 0000000..ee0bc18
--- /dev/null
+++ b/docs/fr/3.1.0/cordova/camera/camera.getPicture.md
@@ -0,0 +1,214 @@
+---
+
+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.
+---
+
+# camera.getPicture
+
+Prend une photo à l'aide de la caméra, ou récupère une photo de la Galerie d'images de l'appareil. L'image est passée au callback "succès" comme une `String` encodée en base64 ou l'URI du fichier de l'image. La méthode elle-même renvoie un objet `CameraPopoverHandle` qui permet de repositionner la boite de dialogue de selection d'image.
+
+    navigator.camera.getPicture( cameraSuccess, cameraError, [ cameraOptions ] );
+    
+
+## Description
+
+La fonction `camera.getPicture` ouvre l'application par défaut de l'appareil qui permet aux utilisateurs de prendre des photos. Ce comportement se produit par défaut, lorsque `Camera.sourceType` est égal à `Camera.PictureSourceType.CAMERA`. Une fois que l'utilisateur a pris la photo, l'application "camera" se ferme et l'application est restaurée.
+
+Si `Camera.sourceType` est `Camera.PictureSourceType.PHOTOLIBRARY` ou `Camera.PictureSourceType.SAVEDPHOTOALBUM`, alors une boîte de dialogue s'affiche pour permettre aux utilisateurs de sélectionner une image existante. La fonction `camera.getPicture` retourne un objet `CameraPopoverHandle` qui permet de repositionner le dialogue de sélection d'image, par exemple, lorsque l'orientation de l'appareil change.
+
+La valeur de retour est envoyée à la fonction callback `cameraSuccess`, dans l'un des formats suivants, selon spécifié par `cameraOptions` :
+
+*   A `String` contenant l'image photo codée en base64.
+
+*   A `String` qui représente l'emplacement du fichier image sur le stockage local (par défaut).
+
+Vous pouvez faire ce que vous voulez avec l'image encodée ou l'URI, par exemple :
+
+*   Afficher l'image dans un `<img>` tag, comme dans l'exemple ci-dessous
+
+*   Enregistrer les données localement ( `LocalStorage` , [poids][1], etc..)
+
+*   Publier les données sur un serveur distant
+
+ [1]: http://brianleroux.github.com/lawnchair/
+
+**REMARQUE :**La résolution des photos sur les nouveaux appareils est assez bonne. Les photos sélectionnées de la Galerie de l'appareil ne sont pas réduites avec une baisse de la qualité, même si un paramètre de `qualité` est spécifié. Pour éviter les problèmes de mémoire, définissez `Camera.destinationType` à `FILE_URI` plutôt que `DATA_URL`.
+
+## Plates-formes prises en charge
+
+*   Android
+*   BlackBerry WebWorks (OS 5.0 et plus)
+*   iOS
+*   Tizen
+*   Windows Phone 7 et 8
+*   Windows 8
+
+## Bizarreries Android
+
+Android utilise des objets de type Intends pour lancer l'activité de l'appareil photo sur le périphérique pour capturer des images. Sur les téléphones avec peu de mémoire, l'activité de Cordova peut être tuée. Dans ce scénario, l'image peut ne pas apparaître lorsque l'activité de cordova est restaurée.
+
+## Bizarreries iOS
+
+L'inclusion d'un `alert()` JavaScript dans une des fonctions callback peut causer des problèmes. Encapsuler l'alerte dans un `setTimeout()` pour permettre au sélecteur d'images iOS de se fermer entièrement avant que l'alerte s'affiche :
+
+    setTimeout(function() {/ / votre code ici!}, 0) ;
+    
+
+## Bizarreries Windows Phone 7
+
+L'invocation de l'application native "caméra" alors que votre appareil est connecté via Zune ne fonctionne pas et déclenche une erreur.
+
+## Bizarreries de Tizen
+
+Tizen prend uniquement en charge un `destinationType` de `Camera.DestinationType.FILE_URI` et un `sourceType` de `Camera.PictureSourceType.PHOTOLIBRARY`.
+
+## Petit exemple
+
+Prendre une photo, puis l'extraire comme une image codée en base64 :
+
+    navigator.camera.getPicture(onSuccess, onFail, { quality: 50,
+        destinationType: Camera.DestinationType.DATA_URL
+    });
+    
+    function onSuccess(imageData) {
+        var image = document.getElementById('myImage');
+        image.src = "data:image/jpeg;base64," + imageData;
+    }
+    
+    function onFail(message) {
+        alert('Failed because: ' + message);
+    }
+    
+
+Prendre une photo et récupérer l'emplacement du fichier de l'image :
+
+    navigator.camera.getPicture(onSuccess, onFail, { quality: 50,
+        destinationType: Camera.DestinationType.FILE_URI });
+    
+    function onSuccess(imageURI) {
+        var image = document.getElementById('myImage');
+        image.src = imageURI;
+    }
+    
+    function onFail(message) {
+        alert('Failed because: ' + message);
+    }
+    
+
+## Exemple complet
+
+    <!DOCTYPE html>
+    <html>
+      <head>
+        <title>Capture Photo</title>
+    
+        <script type="text/javascript" charset="utf-8" src="cordova.js"></script>
+        <script type="text/javascript" charset="utf-8">
+    
+        var pictureSource;   // picture source
+        var destinationType; // sets the format of returned value
+    
+        // Wait for device API libraries to load
+        //
+        document.addEventListener("deviceready",onDeviceReady,false);
+    
+        // device APIs are available
+        //
+        function onDeviceReady() {
+            pictureSource=navigator.camera.PictureSourceType;
+            destinationType=navigator.camera.DestinationType;
+        }
+    
+        // Called when a photo is successfully retrieved
+        //
+        function onPhotoDataSuccess(imageData) {
+          // Uncomment to view the base64-encoded image data
+          // console.log(imageData);
+    
+          // Get image handle
+          //
+          var smallImage = document.getElementById('smallImage');
+    
+          // Unhide image elements
+          //
+          smallImage.style.display = 'block';
+    
+          // Show the captured photo
+          // The inline CSS rules are used to resize the image
+          //
+          smallImage.src = "data:image/jpeg;base64," + imageData;
+        }
+    
+        // Called when a photo is successfully retrieved
+        //
+        function onPhotoURISuccess(imageURI) {
+          // Uncomment to view the image file URI
+          // console.log(imageURI);
+    
+          // Get image handle
+          //
+          var largeImage = document.getElementById('largeImage');
+    
+          // Unhide image elements
+          //
+          largeImage.style.display = 'block';
+    
+          // Show the captured photo
+          // The inline CSS rules are used to resize the image
+          //
+          largeImage.src = imageURI;
+        }
+    
+        // A button will call this function
+        //
+        function capturePhoto() {
+          // Take picture using device camera and retrieve image as base64-encoded string
+          navigator.camera.getPicture(onPhotoDataSuccess, onFail, { quality: 50,
+            destinationType: destinationType.DATA_URL });
+        }
+    
+        // A button will call this function
+        //
+        function capturePhotoEdit() {
+          // Take picture using device camera, allow edit, and retrieve image as base64-encoded string
+          navigator.camera.getPicture(onPhotoDataSuccess, onFail, { quality: 20, allowEdit: true,
+            destinationType: destinationType.DATA_URL });
+        }
+    
+        // A button will call this function
+        //
+        function getPhoto(source) {
+          // Retrieve image file location from specified source
+          navigator.camera.getPicture(onPhotoURISuccess, onFail, { quality: 50,
+            destinationType: destinationType.FILE_URI,
+            sourceType: source });
+        }
+    
+        // Called if something bad happens.
+        //
+        function onFail(message) {
+          alert('Failed because: ' + message);
+        }
+    
+        </script>
+      </head>
+      <body>
+        <button onclick="capturePhoto();">Capture Photo</button> <br>
+        <button onclick="capturePhotoEdit();">Capture Editable Photo</button> <br>
+        <button onclick="getPhoto(pictureSource.PHOTOLIBRARY);">From Photo Library</button><br>
+        <button onclick="getPhoto(pictureSource.SAVEDPHOTOALBUM);">From Photo Album</button><br>
+        <img style="display:none;width:60px;height:60px;" id="smallImage" src="" />
+        <img style="display:none;" id="largeImage" src="" />
+      </body>
+    </html>
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/2b8e503f/docs/fr/3.1.0/cordova/camera/camera.md
----------------------------------------------------------------------
diff --git a/docs/fr/3.1.0/cordova/camera/camera.md b/docs/fr/3.1.0/cordova/camera/camera.md
new file mode 100644
index 0000000..b029324
--- /dev/null
+++ b/docs/fr/3.1.0/cordova/camera/camera.md
@@ -0,0 +1,94 @@
+---
+
+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.
+---
+
+# Appareil photo
+
+> L'objet `camera` donne accès à l'application de caméra par défaut de l'appareil.
+
+**Remarque importante sur la vie privée :** La collecte et l'utilisation des images de la caméra d'un appareil de mesure soulève des questions importantes concernant la vie privée. La politique de confidentialité de votre application doit examiner comment l'application utilise l'appareil photo et si les images enregistrées sont partagées avec d'autres parties. En outre, si l'utilisation de l'application de la caméra n'est pas apparente dans l'interface utilisateur, vous devez fournir un avis juste-à-temps avant que votre application n'accède à la caméra (si le système d'exploitation de périphérique ne le fait pas déjà). Cet avis doit fournir les mêmes renseignements mentionnés précédemment, ainsi que d'obtenir l'autorisation de l'utilisateur (par exemple, en présentant des choix **OK** et **Non merci**). Pour plus d'informations, consultez le Guide de la vie privée.
+
+## Méthodes
+
+*   camera.getPicture
+*   Camera.Cleanup
+
+## Accéder à la fonctionnalité
+
+Depuis la version 3.0, Cordova implémente des APIs au niveau du périphérique en tant que *plugins*. Utilisez le `plugin` de l'interface en ligne de commande, décrite dans l'Interface de ligne de commande, pour ajouter ou supprimer cette fonction pour un projet :
+
+        $ cordova plugin add org.apache.cordova.camera
+        $ cordova plugin ls
+        [ 'org.apache.cordova.camera' ]
+        $ cordova plugin rm org.apache.cordova.camera
+    
+
+Ces commandes s'appliquent à toutes les plates-formes ciblées, mais modifient les paramètres de configuration spécifiques à la plateforme décrites ci-dessous :
+
+*   Android
+    
+        (in app/res/xml/config.xml)
+        <feature name="Camera">
+            <param name="android-package" value="org.apache.cordova.CameraLauncher" />
+        </feature>
+        
+        (in app/AndroidManifest)
+        <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
+        
+
+*   BlackBerry WebWorks
+    
+        (in www/plugins.xml)
+        <feature name="Camera">
+            <param name="blackberry-package" value="org.apache.cordova.camera.Camera" />
+        </feature>
+        
+        (in www/config.xml)
+        <feature id="blackberry.media.camera" />
+        
+        <rim:permissions>
+            <rim:permit>use_camera</rim:permit>
+        </rim:permissions>
+        
+
+*   iOS (en`config.xml`)
+    
+        <feature name="Camera">
+            <param name="ios-package" value="CDVCamera" />
+        </feature>
+        
+
+*   Windows Phone (en`Properties/WPAppManifest.xml`)
+    
+        <Capabilities>
+            <Capability Name="ID_CAP_ISV_CAMERA" />
+            <Capability Name="ID_HW_FRONTCAMERA" />
+        </Capabilities>
+        
+    
+    Référence : [manifeste d'Application pour Windows Phone][1]
+
+*   Paciarelli (dans`config.xml`)
+    
+        <feature name="http://tizen.org/api/application" required="true"/>
+        <feature name="http://tizen.org/api/application.launch" required="true"/>
+        
+    
+    Référence : [Manifeste d'Application pour Applications Web Paciarelli][2]
+
+ [1]: http://msdn.microsoft.com/en-us/library/ff769509%28v=vs.92%29.aspx
+ [2]: https://developer.tizen.org/help/topic/org.tizen.help.gs/Creating%20a%20Project.html?path=0_1_1_3#8814682_CreatingaProject-EditingconfigxmlFeatures
+
+Certaines plates-formes peuvent prendre en charge cette fonctionnalité sans nécessiter aucune configuration spéciale. Voir *Support de plate-forme* dans la section vue d'ensemble.
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/2b8e503f/docs/fr/3.1.0/cordova/camera/parameter/CameraPopoverHandle.md
----------------------------------------------------------------------
diff --git a/docs/fr/3.1.0/cordova/camera/parameter/CameraPopoverHandle.md b/docs/fr/3.1.0/cordova/camera/parameter/CameraPopoverHandle.md
new file mode 100644
index 0000000..1d9e640
--- /dev/null
+++ b/docs/fr/3.1.0/cordova/camera/parameter/CameraPopoverHandle.md
@@ -0,0 +1,61 @@
+---
+
+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.
+---
+
+# CameraPopoverHandle
+
+Agit sur la boîte de dialogue créée par `camera.getPicture`.
+
+## Méthodes
+
+*   **setPosition**: Définit la position de la boite de dialogue.
+
+## Plates-formes suportées
+
+*   iOS
+
+## setPosition
+
+Définit la position de la boite de dialogue.
+
+**Paramètres :**
+
+*   `cameraPopoverOptions`: l'objet `CameraPopoverOptions` spécifiant la nouvelle position
+
+## Exemple court
+
+     var cameraPopoverOptions = new CameraPopoverOptions(300, 300, 100, 100, Camera.PopoverArrowDirection.ARROW_ANY);
+     cameraPopoverHandle.setPosition(cameraPopoverOptions);
+    
+
+## Exemple complet
+
+     function onSuccess(imageData) {
+          // Do stuff with the image!
+     }
+    
+     function onFail(message) {
+         alert('Failed to get the picture: ' + message);
+     }
+    
+     var cameraPopoverHandle = navigator.camera.getPicture(onSuccess, onFail,
+         { destinationType: Camera.DestinationType.FILE_URI,
+           sourceType: Camera.PictureSourceType.PHOTOLIBRARY });
+    
+     // Reposition the popover if the orientation changes.
+     window.onorientationchange = function() {
+         var cameraPopoverOptions = new CameraPopoverOptions(0, 0, 100, 100, 0);
+         cameraPopoverHandle.setPosition(cameraPopoverOptions);
+     }
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/2b8e503f/docs/fr/3.1.0/cordova/camera/parameter/CameraPopoverOptions.md
----------------------------------------------------------------------
diff --git a/docs/fr/3.1.0/cordova/camera/parameter/CameraPopoverOptions.md b/docs/fr/3.1.0/cordova/camera/parameter/CameraPopoverOptions.md
new file mode 100644
index 0000000..a4d692a
--- /dev/null
+++ b/docs/fr/3.1.0/cordova/camera/parameter/CameraPopoverOptions.md
@@ -0,0 +1,66 @@
+---
+
+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.
+---
+
+# CameraPopoverOptions
+
+Paramètres, uniquement supportés par iOS, spécifiant l'emplacement d'accroche et la direction de la flèche de la boite de dialogue liée à la sélection d'images dans la bibliothèque et les albums sur iPad.
+
+    { x : 0, y :  32, width : 320, height : 480, arrowDir : Camera.PopoverArrowDirection.ARROW_ANY };
+    
+
+## CameraPopoverOptions
+
+*   **x**: coordonnée en x (pixels) de l'élément à l'écran sur lequel accrocher la boite de dialogue. *(Number)*
+
+*   **y**: coordonnée en y (pixels) de l'élément à l'écran sur lequel accrocher la boite de dialogue. *(Number)*
+
+*   **width**: largeur en pixels de l'élément à l'écran sur lequel accrocher la boite de dialogue. *(Number)*
+
+*   **height**: hauteur en pixels de l'élément à l'écran sur lequel accrocher la boite de dialogue. *(Number)*
+
+*   **arrowDir**: Direction vers laquelle la flèche de la boîte de dialogue doit pointer. Définie dans `Camera.PopoverArrowDirection` *(Number)*
+    
+            Camera.PopoverArrowDirection = {
+                ARROW_UP : 1,        // correspondent aux constantes iOS UIPopoverArrowDirection
+                ARROW_DOWN : 2,
+                ARROW_LEFT : 4,
+                ARROW_RIGHT : 8,
+                ARROW_ANY : 15
+            };
+        
+
+Notez que la taille de la boite de dialogue peut varier afin de permettre l'ajustement de la direction de la flèche et de l'orientation de l'écran. Assurez-vous de tenir compte des changements d'orientation lors de la spécification de l'emplacement d'élément d'accroche.
+
+## Exemple court
+
+     var popover = new CameraPopoverOptions(300, 300, 100, 100, Camera.PopoverArrowDirection.ARROW_ANY);
+     var options = {
+         quality         : 50,
+         destinationType : Camera.DestinationType.DATA_URL,
+         sourceType      : Camera.PictureSource.SAVEDPHOTOALBUM,
+         popoverOptions  : popover
+     };
+    
+     navigator.camera.getPicture(onSuccess, onFail, options);
+    
+     function onSuccess(imageData) {
+         var image = document.getElementById('myImage');
+         image.src = "data:image/jpeg;base64," + imageData;
+     }
+    
+     function onFail(message) {
+         alert('Failed because: ' + message);
+     }
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/2b8e503f/docs/fr/3.1.0/cordova/camera/parameter/cameraError.md
----------------------------------------------------------------------
diff --git a/docs/fr/3.1.0/cordova/camera/parameter/cameraError.md b/docs/fr/3.1.0/cordova/camera/parameter/cameraError.md
new file mode 100644
index 0000000..3503cd9
--- /dev/null
+++ b/docs/fr/3.1.0/cordova/camera/parameter/cameraError.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.
+---
+
+# cameraError
+
+Fonction callback onError qui fournit un message d'erreur.
+
+    function(message) {
+        // Show a helpful message
+    }
+    
+
+## Paramètres
+
+*   **message** : le message est fourni par du code natif de l'appareil. *(String)*
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/2b8e503f/docs/fr/3.1.0/cordova/camera/parameter/cameraOptions.md
----------------------------------------------------------------------
diff --git a/docs/fr/3.1.0/cordova/camera/parameter/cameraOptions.md b/docs/fr/3.1.0/cordova/camera/parameter/cameraOptions.md
new file mode 100644
index 0000000..668211b
--- /dev/null
+++ b/docs/fr/3.1.0/cordova/camera/parameter/cameraOptions.md
@@ -0,0 +1,130 @@
+---
+
+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.
+---
+
+# cameraOptions
+
+Paramètres optionnels de personnalisation des réglages de l'appareil photo.
+
+    { quality : 75,
+      destinationType : Camera.DestinationType.DATA_URL,
+      sourceType : Camera.PictureSourceType.CAMERA,
+      allowEdit : true,
+      encodingType: Camera.EncodingType.JPEG,
+      targetWidth: 100,
+      targetHeight: 100,
+      popoverOptions: CameraPopoverOptions,
+      saveToPhotoAlbum: false };
+    
+
+## Options
+
+*   **quality** : Qualité de l'image enregistrée, comprise entre 0 et 100, où 100 correspond à la pleine résolution de l'appareil, sans perte liée à la compression. *(Number)* (Notez que les informations sur la résolution de l'appareil photo sont indisponibles.)
+
+*   **destinationType**: Choose the format of the return value. Defined in `navigator.camera.DestinationType` *(Number)*
+    
+        Camera.DestinationType = {
+            DATA_URL : 0,      // Retourne l'image sous la forme d'une chaîne encodée en base-64
+            FILE_URI : 1,      // Retourne l'URI du fichier image
+            NATIVE_URI : 2     // Retourne l'URI native de l'image (ex. assets-library:// sur iOS ou content:// pour Android)
+        };
+        
+
+*   **sourceType**: Set the source of the picture. Defined in `navigator.camera.PictureSourceType` *(Number)*
+    
+        Camera.PictureSourceType = {
+            PHOTOLIBRARY : 0,
+            CAMERA : 1,
+            SAVEDPHOTOALBUM : 2
+        };
+        
+
+*   **allowEdit**: Autoriser une modification simple de l'image avant sa sélection. *(Boolean)*
+
+*   **encodingType**: Choose the returned image file's encoding. Defined in `navigator.camera.EncodingType` *(Number)*
+    
+        Camera.EncodingType = {
+            JPEG : 0,               // Renvoie l'image au format JPEG
+            PNG : 1                 // Renvoie l'image au format PNG
+        };
+        
+
+*   **targetWidth**: largeur de sortie en pixels de l'image . Doit être utilisé avec **targetHeight**. Le ratio de l'aspect reste constant. *(Nombre)*
+
+*   **targetHeight**: hauteur de sortie en pixels de l'image. Doit être utilisé avec **targetWidth**. Aspect ratio reste constant. *(Nombre)*
+
+*   **mediaType**: définit le type de média à choisir. Ne fonctionne que quand `PictureSourceType` vaut `PHOTOLIBRARY` ou `SAVEDPHOTOALBUM` . Définie dans `nagivator.camera.MediaType` *(nombre)* 
+    
+        Camera.MediaType = {photo: 0, / / permettre la sélection de photos seulement. PAR DÉFAUT. Retourne le format spécifié via DestinationType VIDEO: 1, / / autoriser la sélection de la vidéo seulement, RETOURNERA TOUJOURS FILE_URI ALLMEDIA: 2 // permet la sélection de tous les types de médias
+        
+    
+    };
+
+*   **correctOrientation**: faire pivoter l'image afin de corriger l'orientation de l'appareil lors de la capture. *(Booléen)*
+
+*   **saveToPhotoAlbum**: enregistrer l'image sur l'album photo sur l'appareil après la capture. *(Booléen)*
+
+*   **popoverOptions**: options pour iOS uniquement qui spécifient l'emplacement de la boîte de dialogue sur iPad. Définie dans`CameraPopoverOptions`.
+
+*   **cameraDirection**: Choose the camera to use (front- or back-facing). Defined in `navigator.camera.Direction` *(Number)*
+    
+        Camera.Direction = {BACK: 0, // utiliser la caméra arrière FRONT: 1 // utiliser la caméra frontale} ;
+        
+
+## Spécificités Android
+
+*   Tout `cameraDirection` résultats dans le back-face photo de valeur.
+
+*   Ignore la `allowEdit` paramètre.
+
+*   `Camera.PictureSourceType.PHOTOLIBRARY`et `Camera.PictureSourceType.SAVEDPHOTOALBUM` les deux affichent le même album photo.
+
+## Spécificités de BlackBerry
+
+*   Ignore le paramètre `quality`.
+
+*   Ignore le paramètre `sourceType`.
+
+*   Ignore le paramètre `allowEdit`.
+
+*   L'application doit disposer d'autorisations d'injection de clé pour fermer l'application native Camera après que l'utilisateur prenne une photo.
+
+*   L'utilisation d'images de grandes tailles peut entraîner l'incapacité d'encodage sur d'anciens modèles d'appareils (par exemple, le Torch 9800) qui disposent d'un appareil photo haute résolution.
+
+*   `Camera.MediaType` n'est pas pris en charge.
+
+*   Ignore le paramètre `correctOrientation`.
+
+*   Ignore le paramètre `cameraDirection`.
+
+## Spécificités OS
+
+*   Choisir la valeur `quality` en dessous de 50 pour éviter les erreurs de mémoire sur certains appareils.
+
+*   Lorsque vous utilisez `destinationType.FILE_URI` , les photos sont sauvegardées dans le répertoire temporaire de l'application. Vous pouvez supprimer le contenu de ce répertoire en utilisant l'API `navigator.fileMgr` si l'espace de stockage est un sujet de préoccupation.
+
+## Bizarreries de paciarelli
+
+*   options non prises en charge
+
+*   retourne toujours un URI de fichier
+
+## Windows Phone 7 et 8 Quirks
+
+*   Ignore le paramètre `allowEdit`.
+
+*   Ignore le paramètre `correctOrientation`.
+
+*   Ignore le paramètre `cameraDirection`.
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/2b8e503f/docs/fr/3.1.0/cordova/camera/parameter/cameraSuccess.md
----------------------------------------------------------------------
diff --git a/docs/fr/3.1.0/cordova/camera/parameter/cameraSuccess.md b/docs/fr/3.1.0/cordova/camera/parameter/cameraSuccess.md
new file mode 100644
index 0000000..c8470d5
--- /dev/null
+++ b/docs/fr/3.1.0/cordova/camera/parameter/cameraSuccess.md
@@ -0,0 +1,37 @@
+---
+
+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.
+---
+
+# cameraSuccess
+
+Fonction de callback onSuccess qui fournit les données de l'image.
+
+    function(imageData) {
+        // Do something with the image
+    }
+    
+
+## Paramètres
+
+*   **imageData**: codage Base64 de l'image, *ou* le fichier image URI, selon `cameraOptions` utilisé. *(String)*
+
+## Exemple
+
+    // Show image
+    //
+    function cameraCallback(imageData) {
+        var image = document.getElementById('myImage');
+        image.src = "data:image/jpeg;base64," + imageData;
+    }
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/2b8e503f/docs/fr/3.1.0/cordova/compass/compass.clearWatch.md
----------------------------------------------------------------------
diff --git a/docs/fr/3.1.0/cordova/compass/compass.clearWatch.md b/docs/fr/3.1.0/cordova/compass/compass.clearWatch.md
new file mode 100644
index 0000000..f2607f7
--- /dev/null
+++ b/docs/fr/3.1.0/cordova/compass/compass.clearWatch.md
@@ -0,0 +1,106 @@
+---
+
+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.
+---
+
+# compass.clearWatch
+
+Arrêter de regarder la boussole référencée par le paramètre ID de montre.
+
+    navigator.compass.clearWatch(watchID);
+    
+
+*   **watchID** : l'ID retourné par`compass.watchHeading`.
+
+## Plates-formes prises en charge
+
+*   Android
+*   BlackBerry 10
+*   iOS
+*   Tizen
+*   Windows Phone 7 et 8 (s'il est disponible dans le matériel)
+*   Windows 8
+
+## Petit exemple
+
+    var watchID = navigator.compass.watchHeading(onSuccess, onError, options);
+    
+    // ... later on ...
+    
+    navigator.compass.clearWatch(watchID);
+    
+
+## Exemple complet
+
+    <!DOCTYPE html>
+    <html>
+      <head>
+        <title>Compass Example</title>
+    
+        <script type="text/javascript" charset="utf-8" src="cordova.js"></script>
+        <script type="text/javascript" charset="utf-8">
+    
+        // The watch id references the current `watchHeading`
+        var watchID = null;
+    
+        // Wait for device API libraries to load
+        //
+        document.addEventListener("deviceready", onDeviceReady, false);
+    
+        // device APIs are available
+        //
+        function onDeviceReady() {
+            startWatch();
+        }
+    
+        // Start watching the compass
+        //
+        function startWatch() {
+    
+            // Update compass every 3 seconds
+            var options = { frequency: 3000 };
+    
+            watchID = navigator.compass.watchHeading(onSuccess, onError, options);
+        }
+    
+        // Stop watching the compass
+        //
+        function stopWatch() {
+            if (watchID) {
+                navigator.compass.clearWatch(watchID);
+                watchID = null;
+            }
+        }
+    
+        // onSuccess: Get the current heading
+        //
+        function onSuccess(heading) {
+            var element = document.getElementById('heading');
+            element.innerHTML = 'Heading: ' + heading.magneticHeading;
+        }
+    
+        // onError: Failed to get the heading
+        //
+        function onError(compassError) {
+            alert('Compass error: ' + compassError.code);
+        }
+    
+        </script>
+      </head>
+      <body>
+        <div id="heading">Waiting for heading...</div>
+        <button onclick="startWatch();">Start Watching</button>
+        <button onclick="stopWatch();">Stop Watching</button>
+      </body>
+    </html>
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/2b8e503f/docs/fr/3.1.0/cordova/compass/compass.clearWatchFilter.md
----------------------------------------------------------------------
diff --git a/docs/fr/3.1.0/cordova/compass/compass.clearWatchFilter.md b/docs/fr/3.1.0/cordova/compass/compass.clearWatchFilter.md
new file mode 100644
index 0000000..87a6bd5
--- /dev/null
+++ b/docs/fr/3.1.0/cordova/compass/compass.clearWatchFilter.md
@@ -0,0 +1,19 @@
+---
+
+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.
+---
+
+# compass.clearWatchFilter
+
+N'est plus supporté à partir de 1.6. Voir `compass.clearWatch`.
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/2b8e503f/docs/fr/3.1.0/cordova/compass/compass.getCurrentHeading.md
----------------------------------------------------------------------
diff --git a/docs/fr/3.1.0/cordova/compass/compass.getCurrentHeading.md b/docs/fr/3.1.0/cordova/compass/compass.getCurrentHeading.md
new file mode 100644
index 0000000..562f5fe
--- /dev/null
+++ b/docs/fr/3.1.0/cordova/compass/compass.getCurrentHeading.md
@@ -0,0 +1,90 @@
+---
+
+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.
+---
+
+# compass.getCurrentHeading
+
+Téléchargez la direction courante de la boussole.
+
+    navigator.compass.getCurrentHeading(compassSuccess, compassError, compassOptions);
+    
+
+## Description
+
+La boussole est un capteur qui détecte la direction ou la position vers laquelle l'appareil pointe, généralement depuis le haut de l'appareil. Il mesure la direction en degrés de 0 à 359.99, où 0 indique le Nord.
+
+Les informations de la boussole sont retournées via un objet `CompassHeading` utilisant la fonction de callback `compassSuccess`.
+
+## Plates-formes prises en charge
+
+*   Android
+*   BlackBerry 10
+*   iOS
+*   Tizen
+*   Windows Phone 7 et 8 (s'il est disponible dans le matériel)
+*   Windows 8
+
+## Petit exemple
+
+    function onSuccess(heading) {
+        alert('Heading: ' + heading.magneticHeading);
+    };
+    
+    function onError(error) {
+        alert('CompassError: ' + error.code);
+    };
+    
+    navigator.compass.getCurrentHeading(onSuccess, onError);
+    
+
+## Exemple complet
+
+    <!DOCTYPE html>
+    <html>
+      <head>
+        <title>Compass 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() {
+            navigator.compass.getCurrentHeading(onSuccess, onError);
+        }
+    
+        // onSuccess: Get the current heading
+        //
+        function onSuccess(heading) {
+            alert('Heading: ' + heading.magneticHeading);
+        }
+    
+        // onError: Failed to get the heading
+        //
+        function onError(compassError) {
+            alert('Compass Error: ' + compassError.code);
+        }
+    
+        </script>
+      </head>
+      <body>
+        <h1>Example</h1>
+        <p>getCurrentHeading</p>
+      </body>
+    </html>
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/2b8e503f/docs/fr/3.1.0/cordova/compass/compass.md
----------------------------------------------------------------------
diff --git a/docs/fr/3.1.0/cordova/compass/compass.md b/docs/fr/3.1.0/cordova/compass/compass.md
new file mode 100644
index 0000000..86a86c9
--- /dev/null
+++ b/docs/fr/3.1.0/cordova/compass/compass.md
@@ -0,0 +1,73 @@
+---
+
+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.
+---
+
+# Boussole
+
+> Obtient la direction dans laquelle pointe l'appareil.
+
+## Méthodes
+
+*   compass.getCurrentHeading
+*   compass.watchHeading
+*   compass.clearWatch
+*   compass.watchHeadingFilter (obsolète)
+*   compass.clearWatchFilter (obsolète)
+
+## Arguments
+
+*   compassSuccess
+*   compassError
+*   compassOptions
+*   compassHeading
+
+## Accéder à la fonctionnalité
+
+Depuis la version 3.0, Cordova implémente les APIs au niveau de l'appareil comme des *plugins*. Utilisez le `plugin` d'interface en ligne de commande, décrite dans l'Interface de ligne de commande, pour ajouter ou supprimer cette fonctionnalité pour un projet :
+
+        $ cordova plugin add org.apache.cordova.device-orientation
+        $ cordova plugin ls
+        [ 'org.apache.cordova.device-orientation' ]
+        $ cordova plugin rm org.apache.cordova.device-orientation
+    
+
+Ces commandes s'appliquent à toutes les plates-formes ciblées, mais modifient les paramètres de configuration spécifiques aux plateformes décrites ci-dessous :
+
+*   Android (dans`app/res/xml/config.xml`)
+    
+        <feature name="Compass">
+            <param name="android-package" value="org.apache.cordova.CompassListener" />
+        </feature>
+        
+
+*   iOS (en`config.xml`)
+    
+        <feature name="Compass">
+            <param name="ios-package" value="CDVLocation" />
+        </feature>
+        
+
+*   Windows Phone (en`Properties/WPAppManifest.xml`)
+    
+        <Capabilities>
+            <Capability Name="ID_CAP_SENSORS" />
+        </Capabilities>
+        
+    
+    Référence : [manifeste d'Application pour Windows Phone][1]
+
+ [1]: http://msdn.microsoft.com/en-us/library/ff769509%28v=vs.92%29.aspx
+
+Certaines plates-formes peuvent prendre en charge cette fonctionnalité sans nécessiter aucune configuration spéciale. Voir *Support de plate-forme* dans la section vue d'ensemble.
\ No newline at end of file