Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2005-08-31 04:35:59

Nathan Smith
Member
Registered: 2005-01-14
Posts: 66
Website

Uninstall Language?

While I was tweaking some things related to my comment form…

http://www.jaredigital.com/article/114/textpattern-hacking-the-comment-forms-tabindex

…I accidentally got both En-Gb and En-Us installed.

While this is no big deal, I figured if it was possible, I would like to uninstall one or the other, as both aren’t really necessary. If this can be done via editing the MySQL db, and it isn’t too complicated, I’d appreciate a brief how-to. If not, I’ll just wait until a later TXP release that allows for it.

Btw, Thanks to all the TXP Dev guys, you did an awesome job with 4.0! :)


Are we all figments of God’s imagination?

Offline

#2 2005-08-31 13:59:01

rene
Member
From: Switzerland
Registered: 2004-03-27
Posts: 67

Re: Uninstall Language?

You can use phpmyadmin and browse the txp_lang table, checking all records with en-us in the lang field for deletion, and delete them.

Offline

#3 2005-08-31 14:30:12

heikki74
Member
From: Finland
Registered: 2004-08-17
Posts: 100

Re: Uninstall Language?

Another possibility:

install rss_admin_db_manager
activate it
goto “extensions -> run sql” tab

run query (if you don’t have any table prefix):
delete from txp_lang where lang=“en-gb”

Offline

#4 2005-08-31 16:41:01

Nathan Smith
Member
Registered: 2005-01-14
Posts: 66
Website

Re: Uninstall Language?

Great, thanks! I had just installed the DB manager a few days ago, not knowing I’d need it. So much nicer than old-school phpMyAdmin, and prettier too.


Are we all figments of God’s imagination?

Offline

#5 2005-10-25 21:29:49

maniqui
Member
From: Buenos Aires, Argentina
Registered: 2004-10-10
Posts: 3,070
Website

Re: Uninstall Language?

<blockquote>delete from txp_lang where lang=”en-gb”</blockquote>

Great! This worked for me too. I have installed a language by error and I deleted it with that simple line (and of course, the help of rss_admin_db_manager (great plug-in)

BTW, dont forget to replace the curly quotes by real quotes, if you want the query to work.
So, copy and paste this one:
<strong><code>delete from txp_lang where lang=“en-gb”</code></strong>

Note: You may change <code>“en-gb”</code> to the language code you want to delete.

Last edited by maniqui (2005-10-26 01:33:23)


La música ideas portará y siempre continuará

TXP Builders – finely-crafted code, design and txp

Offline

Board footer

Powered by FluxBB