Content last modified Thursday 5 January 2012
hop to #bottom
Categories:
Author:
uli
About It:
Rate it:
  • Helpful?
  • 0 Yes
  • 0 No
Flag it:
Contact Reason [ ? ]

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, 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 on the admin UI.

Do the following:

  1. Open phpMyAdmin, choose your TXP database, open table txp_lang.
  2. Click the “Insert” tab.
  3. Enter the term “txp_speak” or similar meaningful into the value field for “lang”.
  4. 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: A useful companion for such attempts is wet_native which lets you switch your own admin language to txp_speak but doesn’t annoy your co-authors meanwhile.

Article Request Count:
Keywords/tags:
Posted here:
02 Jul 2008
Article modified:
31 Mar 2010

Comments/questions? Leave a message in the form.

Your comment will NOT be submitted until you click the 'Submit' button on the next pageload.

Commented (2)

Netcarver:

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.

You know you want to visit the Archives.

Browse

Categories


Articles

There are also tag clouds, 'cause those are fun.
TxP · TxD · GG