I had a hard coded string that I wanted to translated so I wrapped it with <?php print t(‘MyString’); ?>
Next I wanted to add translations through the translate interface but my string wasn’t showing up in search.
As usual in Drupal, I flushed all caches, but that didn’t help.
The solution was to load the page in a language different than the default one. That made the system kick in and realize there’s a string to translate.