diff --git a/src/Plugin/views/field/ViewsConditionalField.php b/src/Plugin/views/field/ViewsConditionalField.php
index 198b857e40f3af89f3195e9bd21770fcb9d1d145..b1990fa09e31cb1fd88e795058f8d20757145c59 100755
--- a/src/Plugin/views/field/ViewsConditionalField.php
+++ b/src/Plugin/views/field/ViewsConditionalField.php
@@ -229,15 +229,15 @@ class ViewsConditionalField extends FieldPluginBase implements ContainerFactoryP
       // If we find a replacement variable, replace it.
       if (strpos($equalto, "{{ $key }}") !== FALSE) {
         $field = $this->cleanVar($fields[$key]);
-        $equalto = str_replace("{{ $key }}", $field, $equalto);
+        $equalto = $this->t(str_replace("{{ $key }}", $field, $equalto));
       }
       if (strpos($then, "{{ $key }}") !== FALSE) {
         $field = $this->cleanVar($fields[$key]);
-        $then = str_replace("{{ $key }}", $field, $then);
+        $then = $this->t(str_replace("{{ $key }}", $field, $then));
       }
       if (strpos($or, "{{ $key }}") !== FALSE) {
         $field = $this->cleanVar($fields[$key]);
-        $or = str_replace("{{ $key }}", $field, $or);
+        $or = $this->t(str_replace("{{ $key }}", $field, $or));
       }
     }