Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
By Dret on
Hi to all
While I'm translating the built-it interface for a multi-language site, I wrongly delete a string.
Now, when I'm looking for this string ( a t() string inside a module) the search give me no result, and I can't translate it.
How I can integrate it back?
I try with update, refresh translation and so on... but nothing!
Is possible to replace it directly in database?
Thanks!
Bye!
Comments
Found a solution here:
Found a solution here: http://drupal.org/node/495930#comment-3965612
This thing have to be put in evidence in some translation tutorial!
In my situation the t() string is placed inside an email template... and so, until I send an email in a language different from source... the string never appear again in translate search result!
Thanks!
Thanks for that tip, Dret – it worked.
What i did
Hi Dret (and others that land here),
I just had the same issue and i fixed it by simply 'updating the module' that contained the string.
So just copy past a fresh module in your /sites/all/modules folder if it's a string coming from a contributed module, or otherwise copy a fresh drupal installation file in the root folder of your drupal installation.
Cheers
Built-in contact string seems not working
All solutions found above (that work for many modules) seem not working for Contact module.
I deleted the string:
Built-in interface !name sent a message using the contact form at !form
and I'm trying to replace it... without success.
Any Idea about?
Thanks!