Skip to content

Commit

Permalink
Translate new pages about JOSM installation on Windows, Linux and Mac…
Browse files Browse the repository at this point in the history
…Os in French
  • Loading branch information
zoubinnaba committed Dec 29, 2021
1 parent 7fcd3a1 commit 8e7e715
Show file tree
Hide file tree
Showing 4 changed files with 68 additions and 68 deletions.
4 changes: 2 additions & 2 deletions docs/index.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# Cartographie des lignes de bus

This tutorial collection curated by Trufi Association e.V. aims to make bus route mapping for OpenStreetMap easier using J0SM to enable communities to document their public transportation systems digitally.
Cette série de tutoriels mise au point par l'association Trufi e.V. vise à faciliter la cartographie des lignes de bus en utilisant J0SM pour OpenStreetMap afin de permettre aux communautés de numériser leurs systèmes de transport public.

## Setting up your workspace
## Configurer votre espace de travail

JOSM est une application de bureau que nous utilisons pour ajouter des itinéraires de transport public à OpenStreetMap. Mais JOSM (Java OpenStreetMap (éditeur)) est beaucoup plus puissant et parfois aussi compliqué.

Expand Down
66 changes: 33 additions & 33 deletions docs/install-josm/linux.md
Original file line number Diff line number Diff line change
@@ -1,125 +1,125 @@
# Installing JOSM on linux
# Installation de JOSM sous linux

Overview of the various method of installing JOSM on graphical linux operating systems e.g. debian based linux distributions like Ubuntu, Kubuntu and Debian itself or on any non-debian OS having Flatpak.
Aperçu des différentes méthodes d'installation de JOSM sur les systèmes d'exploitation linux graphiques, par exemple les distributions linux basées sur Debian comme Ubuntu, Kubuntu et Debian elle-même, ou sur tout système d'exploitation non Debian disposant de Flatpak.

**Use software centers and other graphical user interfaces as much as possible to do yourself a favour and only use the terminal/konsole if it's easier for faster to work with.**
**Utilisez autant que possible les logithèques et autres interfaces graphiques pour vous rendre service et n'utilisez le terminal/console que s'il est plus facile pour vous de vous en servir plus rapidement.**

## 1. Method: Install using Flatpak (recommended)
## 1. Méthode : Installer en utilisant Flatpak (recommandé)

[Installing using Flatpak](https://flathub.org/apps/details/org.openstreetmap.josm) (external link) is our recommended installation method which is equal across most linux variants. Execute the command
[Installation à l'aide de Flatpak](https://flathub.org/apps/details/org.openstreetmap.josm) (lien externe) est notre méthode d'installation recommandée qui est la même pour la plupart des variantes de linux. Exécutez la commande

```bash
flatpak install app/org.openstreetmap.josm/x86_64/stable -y
```

or use flatpaks' auto resolving functionality:
ou utiliser la fonctionnalité de résolution automatique de Flatpak :

```bash
flatpak install josm
```

Alternatively you can use your software center if it's set up for Flatpak.
Vous pouvez également utiliser votre logitèque s'il est configuré pour Flatpak.

**Flatpak needs to be installed on your system for this to work. We recommend all JOSM users to install using this method because this is the smartest, safiest and easiest way of installing applications on Linux. So consider installing and setting up Flatpak if you don't already have.**
**Flatpak doit être installé sur votre système pour que cela fonctionne. Nous recommandons à tous les utilisateurs de JOSM d'utiliser cette méthode d'installation car c'est la manière la plus intelligente, la plus sûre et la plus simple d'installer des applications sous Linux. Pensez donc à installer et à configurer Flatpak si vous ne l'avez pas encore fait.**

## 2. Method: Using our bash script
## 2. Méthode : Utiliser notre script bash

1. Install using our own script we wrote with support of some linux systems which you can download [here](https://trufi-association.org/installJOSM.sh) (external link to our website).
2. Save it somewhere on your disk e.g. *Downloads* folder.
3. Flag is as an executable (right click on file --> *Properties* --> *Permissions* --> check *make it executable* or similiar)
4. Execute it as the superuser (*root* user) in a terminal because your attention is needed.
4. After successfull execution you can remove that script.
1. Installer en utilisant notre propre script que nous avons écrit avec le support de certains systèmes linux que vous pouvez télécharger. [ici](https://trufi-association.org/installJOSM.sh) (lien externe vers notre site web).
2. Enregistrez-le quelque part sur votre disque, par exemple dans le dossier *Téléchargements*.
3. Identifiez-le comme un fichier exécutable (clic droit sur le fichier --> *Propriétés* --> *Permissions* --> cocher *Autoriser l'exécution du fichier comme un programme* ou similaire)
4. Exécutez-le en tant que super-utilisateur (utilisateur *root*) dans un terminal car votre attention est requise.
4. Après une exécution réussie, vous pouvez supprimer ce script.

## 3. Method: Using package management system (not recommended)
## 3. Méthode : Utilisation du système de gestion des paquets (non recommandé)

**Open a terminal/konsole and execute all following commands as root**. Our bash install script runs these commands automatically after detecting the appropriate available installation method on the system.
**Ouvrez un terminal / console et exécutez toutes les commandes suivantes en tant que root**. Notre script d'installation bash exécute ces commandes automatiquement après avoir détecté la méthode d'installation appropriée disponible sur le système.

### Ubuntu, Debian and derivatives
### Ubuntu, Debian et dérivés

Register the official JOSM repository
Inscrire le dépôt officiel de JOSM

```bash
echo "deb https://josm.openstreetmap.de/apt alldist universe" > /etc/apt/sources.list.d/josm.list
```

and then its public key<br/>
using `wget`
et ensuite sa clé publique<br/>
en utilisant `wget`

```bash
wget -q https://josm.openstreetmap.de/josm-apt.key -O- > /etc/apt/trusted.gpg.d/josm.gpg
```

or using `curl`
ou en utilisant `curl`

```bash
curl https://josm.openstreetmap.de/josm-apt.key > /etc/apt/trusted.gpg.d/josm.gpg
```

Before attempting to install refresh the sources
Avant de tenter l'installation, actualisez les sources

```bash
sudo apt update
```

to be able to finally install JOSM
pour pouvoir enfin installer JOSM

```bash
sudo apt install josm
```

### OpenSUSE

Grab the version
Récupérez la version

```bash
version=`cat /etc/os-release | grep "VERSION_ID"`
version=${version/VERSION_ID=/}
version=${version//\"/}
```

and add the 'Geo' depot
et ajouter le dépôt 'Geo'.

```bash
zypper ar -f https://download.opensuse.org/repositories/Application:/Geo/openSUSE_Leap_${version} Application:Geo
```

in order to be able to install JOSM using
afin de pouvoir installer JOSM en utilisant

```bash
zypper install josm josm-fonts
```

### Debian

**Use this only when the steps in "Ubuntu, Debian and derivatives" don't work for you.**
**Utilisez ceci uniquement lorsque les étapes de "Ubuntu, Debian et dérivés" ne fonctionnent pas pour vous.**

Get codename of your debian installation first
Obtenez d'abord le nom de code de votre installation Debian.

```bash
codename=`cat /etc/os-release | grep "VERSION_CODENAME"`
codename=${codename/VERSION_CODENAME=/}
codename=${codename//\"/}
```

to be able to add the right backports repository
pour pouvoir ajouter le bon dépôt de backports

```bash
echo "deb http://deb.debian.org/debian ${codename}-backports main" > /etc/apt/sources.list.d/backports.list
```

Before attempting to install refresh the sources
Avant de tenter l'installation, actualisez les sources

```bash
apt update
```

and now finally install JOSM from backports
et enfin installer JOSM à partir des backports

```bash
apt install josm/${codename}-backports
```

## 4. Method: Use .jar version of JOSM (not recommended)
## 4. Méthode : Utiliser la version .jar de JOSM (non recommandé)

Execute JOSM on linux using its `.jar`. But you need to install Java if you don't have already. We wrote a tutorial you can find [here](./linux-java-jar.md) showing how to install Java and how to use a `.jar` file in general.
Exécuter JOSM sur linux en utilisant son `.jar`. Mais vous devez avoir installé Java si vous ne l'avez pas déjà fait. Nous avons écrit un tutoriel que vous pouvez trouver [ici](./linux-java-jar.md) montrant comment installer Java et comment utiliser un fichier `.jar` en général.

36 changes: 18 additions & 18 deletions docs/install-josm/mac.md
Original file line number Diff line number Diff line change
@@ -1,33 +1,33 @@
# Installing JOSM on Mac
# Installation de JOSM sur Mac

We will cover here how to install JOSM on Mac using various methods.
Nous allons couvrir ici comment installer JOSM sur Mac en utilisant différentes méthodes.

## 1. Method: Install JOSM via Homebrew
## 1. Méthode : Installer JOSM via Homebrew

1. Open a terminal
2. Execute
1. Ouvrir un terminal
2. Executer
```bash
brew install --cask josm
```

to install
pour installer

## 2 Method: Install JOSM using a package
## 2 Méthode : Installer JOSM à l'aide d'un paquet

Use this method if you **don't have** Homebrew installed, installation of Homebrew too complicated or JOSM will be your only application which you will install over Hombrew
Utilisez cette méthode si vous **n'avez pas** Homebrew installé, si l'installation de Homebrew est trop compliquée ou si JOSM sera votre seule application que vous installerez par-dessus Hombrew.

1. Go to https://josm.openstreetmap.de
2. Download [MacOS package](https://josm.openstreetmap.de/download/macosx/josm-macosx.zip) (external link).
1. Aller sur https://josm.openstreetmap.de
2. Télécharger [Paquet MacOS](https://josm.openstreetmap.de/download/macosx/josm-macosx.zip) (lien externe).
![](website-macpackage-download/out.png)
3. Save it somewhere e.g. in your *Downloads* folder and execute it.
3. Enregistrez-le quelque part, par exemple dans votre dossier *Téléchargements*, puis exécutez-le.

## 3. Method: Install JOSM as `.jar`
## 3. Méthode : Installez JOSM en tant que `.jar`.

Use this method if you **have** Java installed, installation of Java JRE on Mac is not a problem for you or JOSM is not your only application which depends on Java.
Utilisez cette méthode si vous **avez** Java installé, si l'installation de Java JRE sur Mac ne vous pose pas de problème ou si JOSM n'est pas votre seule application qui dépend de Java.

1. Go to <https://josm.openstreetmap.de>
2. Download [josm-tested.jar](https://josm.openstreetmap.de/josm-tested.jar) (external link).
1. Aller sur <https://josm.openstreetmap.de>
2. Télécharger [josm-tested.jar](https://josm.openstreetmap.de/josm-tested.jar) (lien externe).
![](./website-jar-download/out.png)
3. Save it somewhere on your disk e.g. create a *Portable Apps* folder on your desktop and put that file in there. This way you also maintain a good structure in using portable apps.
4. Execute JOSM by double clicking on its file.
**If nothing happens over 10 seconds (depending on your hardware) that means probably you haven’t Java installed or the file association *.jar* not properly associated with it.**
3. Enregistrez-le quelque part sur votre disque, par exemple en créant un dossier *Applications portables* sur votre bureau et en y plaçant ce fichier. De cette façon, vous conservez une bonne structure pour l'utilisation des applications portables.
4. Exécutez JOSM en double-cliquant sur son fichier.
**Si rien ne se passe pendant plus de 10 secondes (en fonction de votre matériel), cela signifie que vous n'avez probablement pas installé Java ou que le fichier d'association *.jar* ne lui est pas correctement associé.**
30 changes: 15 additions & 15 deletions docs/install-josm/windows.md
Original file line number Diff line number Diff line change
@@ -1,25 +1,25 @@
# Installing JOSM on Windows
# Installation de JOSM sous Windows

We will cover here how to install JOSM on Windows using various methods.
Nous allons voir ici comment installer JOSM sur Windows en utilisant différentes méthodes.

## 1. Method: Install JOSM using an installer
## 1. Méthode : Installer JOSM à l'aide d'un programme d'installation

Use this method if you **don't have** Java installed, installation of Java JRE on Windows is too complicated or JOSM will be your only application which depends on Java.
Utilisez cette méthode si vous **n'avez pas** Java installé, si l'installation de Java JRE sur Windows est trop compliquée ou si JOSM est votre seule application qui dépend de Java.

1. Go to <https://josm.openstreetmap.de>
2. Download [Windows installer](https://josm.openstreetmap.de/download/windows/josm-setup.exe) (external link).
1. Aller sur <https://josm.openstreetmap.de>
2. Télécharger [Installateur Windows](https://josm.openstreetmap.de/download/windows/josm-setup.exe) (lien externe).
![](website-exe-download/out.png)
3. Save it somewhere e.g. in your *Downloads* folder and execute it.
3. After successfull installation you can remove that installer.
3. Enregistrez-le quelque part, par exemple dans votre dossier *Téléchargements*, puis exécutez-le.
3. Après une installation réussie, vous pouvez supprimer cet installateur.

## 2. Method: Install JOSM as `.jar`
## 2. Méthode : Installez JOSM en tant que `.jar`.

Use this method if you **have** Java installed, installation of Java JRE on Windows is not a problem for you or JOSM is not your only application which depends on Java.
Utilisez cette méthode si vous **avez** Java installé, si l'installation de Java JRE sur Windows ne vous pose pas de problème ou si JOSM n'est pas votre seule application qui dépend de Java.

1. Go to <https://josm.openstreetmap.de>
2. Download [josm-tested.jar](https://josm.openstreetmap.de/josm-tested.jar) (external link).
1. Aller sur <https://josm.openstreetmap.de>
2. Télécharger [josm-tested.jar](https://josm.openstreetmap.de/josm-tested.jar) (lien externe).
![](./website-jar-download/out.png)
3. Save it somewhere on your disk e.g. create a *Portable Apps* folder on your desktop and put that file in there. This way you also maintain a good structure in using portable apps.
4. Execute JOSM by double clicking on its file.
**If nothing happens over 10 seconds (depending on your hardware) that means probably you haven’t Java installed or the file association *.jar* not properly associated with it.**
3. Enregistrez-le quelque part sur votre disque, par exemple en créant un dossier *Applications portables* sur votre bureau et en y plaçant ce fichier. De cette façon, vous conservez une bonne structure pour l'utilisation des applications portables.
4. Exécutez JOSM en double-cliquant sur son fichier.
**Si rien ne se passe pendant plus de 10 secondes (en fonction de votre matériel), cela signifie que vous n'avez probablement pas installé Java ou que l'association de fichiers *.jar* ne lui est pas correctement associée.**

0 comments on commit 8e7e715

Please sign in to comment.