Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2007-07-10 03:00:40

fdsafdsa
Member
From: cn
Registered: 2007-04-19
Posts: 47
Website

how to remove a language

i have install a language in my admin pref
but now i found that language got lots of space in my database.
so i need remove it and just got english left.
how can i do with that.

Offline

#2 2007-07-10 07:24:45

colak
Admin
From: Cyprus
Registered: 2004-11-20
Posts: 9,090
Website GitHub Mastodon Twitter

Re: how to remove a language

there was an sql command somewhere in the forum…


Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.

Offline

#3 2007-07-11 02:33:22

Mary
Sock Enthusiast
Registered: 2004-06-27
Posts: 6,236

Re: how to remove a language

DELETE FROM txp_lang WHERE lang NOT IN('en-gb','en-us');

…would remove all languages that are not English.

Offline

#4 2007-07-11 06:38:29

Sencer
Archived Developer
From: cgn, de
Registered: 2004-03-23
Posts: 1,803
Website

Re: how to remove a language

It’s not necessary to remove a language though, it’s only around 10 kb (or 0,01 MB). If you’re that tight on space you usually have other problems to worry about… ^^

Offline

Board footer

Powered by FluxBB