TextBug
So you want to know what all the language strings are that Textpattern uses internally because you want to trace back a string to the function that makes use of it, or for customizing your site’s text output with wet_babble. But you don’t want to wade the unwieldy language file and search for the right term. Instead you wish to see all these strings in their original places in the admin UI.
You can. Do the following:
- Open phpMyAdmin, choose your TXP database, open table txp_lang.
- Click the “Insert” tab.
- Enter the term “txp_speak” or similar meaningful into the field for “lang”.
- Press “Go”.
That’s it, done. You can now switch back into TXP and choose the “language” you just created on the tab for Preferences > Language.
BTW: An indispensable companion for live sites during such attempts is wet_native which lets you switch only your own admin language to txp_speak without potentially changing URLS meanwhile (e.g. “kategorie” in URLs doesn’t change to “category”). And you won’t annoy your co-authors.









Comments/questions? Leave a message in the form.
Commented (2)
Nice find! :)
This is a neat, easy, way to track strings down.
You can also try using the string search features in the MLP pack. But that’s a different story.
Subscribe to this article's comments RSS feed. [ ? ] View Recent Comments across the site.