diff --git a/potx.inc b/potx.inc
index e37a25c..9e49f41 100644
--- a/potx.inc
+++ b/potx.inc
@@ -275,7 +275,8 @@ function _potx_process_file($file_path, $strip_prefix = 0, $save_callback = '_po
       _potx_find_t_calls_with_context($file_name, $save_callback, 'st', POTX_STRING_INSTALLER);
     }
     else {
-      // TranslationWrapper added in Drupal 8.
+      // TranslatableString (and deprecated TranslationWrapper) added in Drupal 8.
+      _potx_find_t_calls_with_context($file_name, $save_callback, 'TranslatableString');
       _potx_find_t_calls_with_context($file_name, $save_callback, 'TranslationWrapper');
     }
   }
diff --git a/tests/potx.test b/tests/potx.test
index 87b5eda..78d2527 100644
--- a/tests/potx.test
+++ b/tests/potx.test
@@ -262,6 +262,9 @@ class PotxTestCase extends DrupalWebTestCase {
     $this->assertMsgID('TranslationWrapper string');
     $this->assertMsgIDContext('TranslationWrapper string with context', 'With context');
 
+    $this->assertMsgID('TranslatableString string');
+    $this->assertMsgIDContext('TranslatableString string with context', 'With context');
+
     $this->assertMsgID('Test translatable string inside an inline template');
     $this->assertMsgID('Another test translatable string inside an inline template');
     $this->assertMsgID('A translatable string inside an inline template, with double-quoted "#template" key');
diff --git a/tests/potx_test_8.module b/tests/potx_test_8.module
index db18c53..3298ad2 100644
--- a/tests/potx_test_8.module
+++ b/tests/potx_test_8.module
@@ -16,6 +16,9 @@ function potx_test_8_example() {
   $a = new TranslationWrapper('TranslationWrapper string');
   $b = new TranslationWrapper('TranslationWrapper string with context', array(), array('context' => 'With context'));
 
+  $a = new TranslatableString('TranslatableString string');
+  $b = new TranslatableString('TranslatableString string with context', array(), array('context' => 'With context'));
+
   $a->debug('Debug message');
   $b->info('Info message');
   $c->notice('Notice message');
