diff --git a/composer.json b/composer.json
index f629a3ee..10e3c7fd 100644
--- a/composer.json
+++ b/composer.json
@@ -29,6 +29,7 @@
},
"require": {
"php": ">=7.2",
+ "winter/wn-backend-module": ">=1.2.8",
"composer/installers": "~1.0"
},
"replace": {
diff --git a/controllers/locales/_create_form.htm b/controllers/locales/_create_form.php
similarity index 100%
rename from controllers/locales/_create_form.htm
rename to controllers/locales/_create_form.php
diff --git a/controllers/locales/_hint.htm b/controllers/locales/_hint.php
similarity index 100%
rename from controllers/locales/_hint.htm
rename to controllers/locales/_hint.php
diff --git a/controllers/locales/_list_toolbar.htm b/controllers/locales/_list_toolbar.php
similarity index 100%
rename from controllers/locales/_list_toolbar.htm
rename to controllers/locales/_list_toolbar.php
diff --git a/controllers/locales/_reorder_toolbar.htm b/controllers/locales/_reorder_toolbar.htm
deleted file mode 100644
index c5d5517f..00000000
--- a/controllers/locales/_reorder_toolbar.htm
+++ /dev/null
@@ -1,7 +0,0 @@
-
\ No newline at end of file
diff --git a/controllers/locales/_update_form.htm b/controllers/locales/_update_form.php
similarity index 100%
rename from controllers/locales/_update_form.htm
rename to controllers/locales/_update_form.php
diff --git a/controllers/locales/config_list.yaml b/controllers/locales/config_list.yaml
index d57a87bc..63994ce6 100644
--- a/controllers/locales/config_list.yaml
+++ b/controllers/locales/config_list.yaml
@@ -9,7 +9,7 @@ list: ~/plugins/winter/translate/models/locale/columns.yaml
modelClass: Winter\Translate\Models\Locale
# List Title
-title: winter.translate::lang.locale.title
+title: winter.translate::lang.locale.label_plural
# Link URL for each record
# recordUrl: winter/translate/locale/update/:id
diff --git a/controllers/locales/index.htm b/controllers/locales/index.php
similarity index 100%
rename from controllers/locales/index.htm
rename to controllers/locales/index.php
diff --git a/controllers/locales/reorder.htm b/controllers/locales/reorder.htm
deleted file mode 100644
index 2fe905dc..00000000
--- a/controllers/locales/reorder.htm
+++ /dev/null
@@ -1,9 +0,0 @@
-
-
-
-
-= $this->reorderRender() ?>
diff --git a/controllers/messages/_hint.htm b/controllers/messages/_hint.php
similarity index 100%
rename from controllers/messages/_hint.htm
rename to controllers/messages/_hint.php
diff --git a/controllers/messages/_messages.htm b/controllers/messages/_messages.php
similarity index 100%
rename from controllers/messages/_messages.htm
rename to controllers/messages/_messages.php
diff --git a/controllers/messages/_scan_messages_form.htm b/controllers/messages/_scan_messages_form.php
similarity index 100%
rename from controllers/messages/_scan_messages_form.htm
rename to controllers/messages/_scan_messages_form.php
diff --git a/controllers/messages/_table_headers.htm b/controllers/messages/_table_headers.php
similarity index 100%
rename from controllers/messages/_table_headers.htm
rename to controllers/messages/_table_headers.php
diff --git a/controllers/messages/_table_toolbar.htm b/controllers/messages/_table_toolbar.php
similarity index 100%
rename from controllers/messages/_table_toolbar.htm
rename to controllers/messages/_table_toolbar.php
diff --git a/controllers/messages/export.htm b/controllers/messages/export.htm
deleted file mode 100644
index 29b77b6e..00000000
--- a/controllers/messages/export.htm
+++ /dev/null
@@ -1,26 +0,0 @@
-
-
-
-
-= Form::open(['class' => 'layout']) ?>
-
-
- = $this->exportRender() ?>
-
-
-
-
- = e(trans('winter.translate::lang.messages.export_messages_link')) ?>
-
-
-
-= Form::close() ?>
diff --git a/controllers/messages/import.htm b/controllers/messages/import.htm
deleted file mode 100644
index 51002658..00000000
--- a/controllers/messages/import.htm
+++ /dev/null
@@ -1,26 +0,0 @@
-
-
-
-
-= Form::open(['class' => 'layout']) ?>
-
-
- = $this->importRender() ?>
-
-
-
-
- = e(trans('winter.translate::lang.messages.import_messages_link')) ?>
-
-
-
-= Form::close() ?>
diff --git a/controllers/messages/index.htm b/controllers/messages/index.php
similarity index 100%
rename from controllers/messages/index.htm
rename to controllers/messages/index.php
diff --git a/lang/en/lang.php b/lang/en/lang.php
index 47559855..0dc9c6dd 100755
--- a/lang/en/lang.php
+++ b/lang/en/lang.php
@@ -17,6 +17,8 @@
'component_description' => 'Injects the language alternatives for page as hreflang elements'
],
'locale' => [
+ 'label' => 'Language',
+ 'label_plural' => 'Languages',
'title' => 'Manage languages',
'update_title' => 'Update language',
'create_title' => 'Create language',
diff --git a/lang/fr/lang.php b/lang/fr/lang.php
index c7e4e434..223f4345 100644
--- a/lang/fr/lang.php
+++ b/lang/fr/lang.php
@@ -17,6 +17,8 @@
'component_description' => "Injecte les alternatives linguistiques pour la page en tant qu'éléments hreflang"
],
'locale' => [
+ 'label' => 'Langue',
+ 'label_plural' => 'Langues',
'title' => 'Gestion des langues',
'update_title' => 'Mettre à jour la langue',
'create_title' => 'Ajouter une langue',
diff --git a/tests/TranslatePluginTestCase.php b/tests/TranslatePluginTestCase.php
index c40012af..da5573b7 100644
--- a/tests/TranslatePluginTestCase.php
+++ b/tests/TranslatePluginTestCase.php
@@ -1,6 +1,6 @@