In my module I have some custom strings. I use these in the t() function. When I go to admin/config/regional/translate/translate and filter the untranslated strings my custom strings do not show here.

What could be going wrong?

  • 2
    Please show us your code. We can't debug what we can't see. Read SSCCE.
    – Mołot
    Oct 25, 2013 at 13:35
  • Did you cleared the cache ? Maybe that's the solution to your problem.
    – Twinkel
    Oct 25, 2013 at 13:39
  • If code is OK, go to Home > Administration > Configuration > Regional and language > Translate interface and simply hit the Refresh Strings button. I don't really know if it will help you, hence just a mere comment and not an answer. But if it'll work, I will add some meat to it and post as answer ;)
    – Mołot
    Oct 25, 2013 at 13:45
  • Flush cache saved my life.
    – qasimzee
    Sep 29, 2015 at 6:53

3 Answers 3


The strings needs to be rendered a first time on a page in the not default language and your string keys will be visible in the Translate interface.

An important detail, the search is case sensitive. For example My text is different than my text.


If you're trying to see the site in English the t() function will not try translate the string, so you need to see the site in other language in order to for the translation system to add your translatable string to the database.

Once you do it, you will be able to translate your string.


Beside visiting the page showing your strings in a non-default language, make sure to have the version number of the module set in the .info file.

version = 7.x-1.0

Here a trouble shooting blog post to getting your strings into the translate interface.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.