diff --git a/brouter-routing-app/build.gradle b/brouter-routing-app/build.gradle
index 9cd72f417..2300600a2 100644
--- a/brouter-routing-app/build.gradle
+++ b/brouter-routing-app/build.gradle
@@ -20,8 +20,6 @@ android {
minSdkVersion 14
targetSdkVersion 33
- resConfigs "en"
-
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
}
diff --git a/brouter-routing-app/src/main/java/btools/routingapp/BInstallerActivity.java b/brouter-routing-app/src/main/java/btools/routingapp/BInstallerActivity.java
index c49a6bef4..f9ffe611d 100644
--- a/brouter-routing-app/src/main/java/btools/routingapp/BInstallerActivity.java
+++ b/brouter-routing-app/src/main/java/btools/routingapp/BInstallerActivity.java
@@ -171,7 +171,7 @@ private void updateDownloadButton() {
}
mButtonDownload.setText(getString(R.string.action_download, getSegmentsPlural(selectedTilesDownload.size())));
mButtonDownload.setEnabled(true);
- mSummaryInfo.setText(getString(R.string.summary_segments, Formatter.formatFileSize(this, tileSize), Formatter.formatFileSize(this, getAvailableSpace(mBaseDir.getAbsolutePath()))));
+ mSummaryInfo.setText(String.format(getString(R.string.summary_segments), Formatter.formatFileSize(this, tileSize), Formatter.formatFileSize(this, getAvailableSpace(mBaseDir.getAbsolutePath()))));
} else if (selectedTilesUpdate.size() > 0) {
mButtonDownload.setText(getString(R.string.action_update, getSegmentsPlural(selectedTilesUpdate.size())));
mButtonDownload.setEnabled(true);
diff --git a/brouter-routing-app/src/main/res/values-ar/strings.xml b/brouter-routing-app/src/main/res/values-ar/strings.xml
new file mode 100644
index 000000000..43e26635b
--- /dev/null
+++ b/brouter-routing-app/src/main/res/values-ar/strings.xml
@@ -0,0 +1,16 @@
+
+
+
+ - %d قطعة
+ - %d قطع
+
+ إلغاء التنزيل
+ استيراد ملف تعريف
+ تنزيل %s
+ حذف %s
+ تحديث %s
+ حدد القطع
+ إيقاف التنزيل
+ الحجم=%1$s\nالحجم المتوفر=%2$s
+ تحميل القطع
+
diff --git a/brouter-routing-app/src/main/res/values-ca/strings.xml b/brouter-routing-app/src/main/res/values-ca/strings.xml
new file mode 100644
index 000000000..13aeaea13
--- /dev/null
+++ b/brouter-routing-app/src/main/res/values-ca/strings.xml
@@ -0,0 +1,16 @@
+
+
+
+ - %d segment
+ - %d segments
+
+ Cancel·lar descàrrega
+ Importar perfil
+ Descàrrega %s
+ Eliminar %s
+ Actualitzar %s
+ Seleccionar segments
+ Aturar Descàrrega
+ Espai=%1$s\nLliure=%2$s
+ Descarregar segments
+
diff --git a/brouter-routing-app/src/main/res/values-de/strings.xml b/brouter-routing-app/src/main/res/values-de/strings.xml
new file mode 100644
index 000000000..85002f5bf
--- /dev/null
+++ b/brouter-routing-app/src/main/res/values-de/strings.xml
@@ -0,0 +1,16 @@
+
+
+
+ - %d Segment
+ - %d Segmente
+
+ Download abbrechen
+ Profil importieren
+ %s downloaden
+ %s löschen
+ %s aktualisieren
+ Segmente auswählen
+ Download stoppen
+ Größe=%1$s\nFrei=%2$s
+ Segmente herunterladen
+
diff --git a/brouter-routing-app/src/main/res/values-el/strings.xml b/brouter-routing-app/src/main/res/values-el/strings.xml
new file mode 100644
index 000000000..0ef6b6cd6
--- /dev/null
+++ b/brouter-routing-app/src/main/res/values-el/strings.xml
@@ -0,0 +1,16 @@
+
+
+
+ - %d τμήμα
+ - %d τμήματα
+
+ Ακύρωση λήψης
+ Εισαγωγή προφίλ
+ Λήψη %s
+ Διαγραφή %s
+ Ενημέρωση %s
+ Επιλογή τμημάτων
+ Διακοπή λήψης
+ Μέγεθος=%1$s\nΕλεύθερο=%2$s
+ Λήψη τμημάτων
+
diff --git a/brouter-routing-app/src/main/res/values-es/strings.xml b/brouter-routing-app/src/main/res/values-es/strings.xml
new file mode 100644
index 000000000..3929ff0bc
--- /dev/null
+++ b/brouter-routing-app/src/main/res/values-es/strings.xml
@@ -0,0 +1,16 @@
+
+
+
+ - %d segmento
+ - %d segmentos
+
+ Cancelar descarga
+ Importar perfil
+ Descargar %s
+ Eliminar %s
+ Actualizar %s
+ Seleccionar segmentos
+ Detener descarga
+ Tamaño=%1$s\nGratis=%2$s
+ Descargar segmentos
+
diff --git a/brouter-routing-app/src/main/res/values-fr/strings.xml b/brouter-routing-app/src/main/res/values-fr/strings.xml
new file mode 100644
index 000000000..b39068763
--- /dev/null
+++ b/brouter-routing-app/src/main/res/values-fr/strings.xml
@@ -0,0 +1,16 @@
+
+
+
+ - %d segment
+ - %d segments
+
+ Annuler le téléchargement
+ Importer le profil
+ Télécharger %s
+ Supprimer %s
+ Mettre à jour %s
+ Sélectionner les segments
+ Arrêter le téléchargement
+ Taille=%1$s\nGratuit=%2$s
+ Télécharger les segments
+
diff --git a/brouter-routing-app/src/main/res/values-it/strings.xml b/brouter-routing-app/src/main/res/values-it/strings.xml
new file mode 100644
index 000000000..10f29feab
--- /dev/null
+++ b/brouter-routing-app/src/main/res/values-it/strings.xml
@@ -0,0 +1,16 @@
+
+
+
+ - %d segmento
+ - %d segmenti
+
+ Annulla download
+ Importa profilo
+ Scarica %s
+ Elimina %s
+ Aggiorna %s
+ Seleziona segmenti
+ Interrompi download
+ Taglia=%1$s\nGratis=%2$s
+ Scarica segmenti
+
diff --git a/brouter-routing-app/src/main/res/values-nl/strings.xml b/brouter-routing-app/src/main/res/values-nl/strings.xml
new file mode 100644
index 000000000..300d66841
--- /dev/null
+++ b/brouter-routing-app/src/main/res/values-nl/strings.xml
@@ -0,0 +1,16 @@
+
+
+
+ - %d segment
+ - %d segmenten
+
+ Download annuleren
+ Profiel importeren
+ Downloaden %s
+ Verwijderen %s
+ Bijwerken %s
+ Segmenten selecteren
+ Download stoppen
+ Grootte=%1$s\nGratis=%2$s
+ Segmenten downloaden
+
diff --git a/brouter-routing-app/src/main/res/values-pl/strings.xml b/brouter-routing-app/src/main/res/values-pl/strings.xml
new file mode 100644
index 000000000..2de0f3c4c
--- /dev/null
+++ b/brouter-routing-app/src/main/res/values-pl/strings.xml
@@ -0,0 +1,16 @@
+
+
+
+ - %d segment
+ - %d segmenty/ów
+
+ Anuluj pobieranie
+ Importuj profil
+ Pobierz %s
+ Usuń %s
+ Zaktualizuj %s
+ Wybierz segmenty
+ Zatrzymaj pobieranie
+ Rozmiar=%1$s\nDostępne=%2$s
+ Pobieranie segmentów
+
diff --git a/brouter-routing-app/src/main/res/values/donottranslate-strings.xml b/brouter-routing-app/src/main/res/values/donottranslate-strings.xml
new file mode 100644
index 000000000..254dd8f2a
--- /dev/null
+++ b/brouter-routing-app/src/main/res/values/donottranslate-strings.xml
@@ -0,0 +1,7 @@
+
+
+ BRouter
+ filename.brf
+ brouter_download
+ Downloads
+
diff --git a/brouter-routing-app/src/main/res/values/strings.xml b/brouter-routing-app/src/main/res/values/strings.xml
index 168a26adb..3ddedd0c7 100644
--- a/brouter-routing-app/src/main/res/values/strings.xml
+++ b/brouter-routing-app/src/main/res/values/strings.xml
@@ -1,37 +1,16 @@
-
-
-
-
+
+
- %d segment
- %d segments
- BRouter
- Cancel Download
- Import Profile
- filename.brf
- Starting download…
- Cancelling…
+ Cancel download
+ Import profile
Download %s
Delete %s
Update %s
Select segments
- Stop Download
- Size=%s\nFree=%s
- brouter_download
- Download Segments
- Downloads
+ Stop download
+ Size=%1$s\nFree=%2$s
+ Download segments