diff --git a/src/Plugin/facets/processor/GlossaryAZAllItemsProcessor.php b/src/Plugin/facets/processor/GlossaryAZAllItemsProcessor.php
index bd135aa..96092fb 100644
--- a/src/Plugin/facets/processor/GlossaryAZAllItemsProcessor.php
+++ b/src/Plugin/facets/processor/GlossaryAZAllItemsProcessor.php
@@ -38,7 +38,7 @@ class GlossaryAZAllItemsProcessor extends ProcessorPluginBase implements BuildPr
       $show_all_item_count += $result->getCount();
     }
 
-    $show_all_item = new Result($facet, t('All')->getUntranslatedString(), t('All'), $show_all_item_count);
+    $show_all_item = new Result($facet, $this->t('All')->getUntranslatedString(), $this->t('All'), $show_all_item_count);
 
     // Deal with the ALL Items path.
     // See QueryString::buildUrls.
diff --git a/src/Plugin/search_api/processor/Glossary.php b/src/Plugin/search_api/processor/Glossary.php
index 9e03c16..f2bb50b 100644
--- a/src/Plugin/search_api/processor/Glossary.php
+++ b/src/Plugin/search_api/processor/Glossary.php
@@ -176,7 +176,7 @@ class Glossary extends ProcessorPluginBase implements PluginFormInterface {
         // Finally add the glossary grouping options per field.
         $form['glossarytable'][$name]['grouping'] = [
           '#type' => 'checkboxes',
-          '#description' => t('When grouping is enabled, individual values such as 1, 2, 3 will get grouped like "0-9"'),
+          '#description' => $this->t('When grouping is enabled, individual values such as 1, 2, 3 will get grouped like "0-9"'),
           '#options' => [
             'grouping_az' => 'Group Alphabetic (A-Z)',
             'grouping_09' => 'Group Numeric (0-9)',
