I building a custom module for a multi-language Drupal 7 site where the default language is not english. Now I want to translate the module. Since my source strings are not in english I cannot use t()
.
The i18n
module provides a i18n_string() function which would seem to do the job but I can't find my strings under admin/config/regional/translate/translate
? I even implemented hook_i18n_string_info()
to define my own textgroup, which shows up, but the strings don't!
What am I missing? Or is there a better way to translate strings that are in an other language than english?