TextBug
So you want to know what all the language strings are txp uses internally, because you want to trace back a string to the function that makes use of it. 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 on the admin UI.
I had a funny accident I’m glad about, that made this possible for me. No need to duplicate my error if you can simply replicate its consequences. (No, I didn’t delete my lang files ;)
Do the following:
- Open phpMyAdmin, choose DB textpattern, open table txp_lang.
- Click the “Insert” tab.
- Enter the term “txp_speak” or similar meaningful into the value 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. (Yes, simple as that!) You’ll then find your UI dipped into the language our devs have to put up with daily.
Have fun!









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.