We build. You grow.

Get best community software here

Start a social network, a fan-site, an education project with oxwall - free opensource community software

Delete language strings[Answered] | Forum

Topic location: Forum home » Support » General Questions
Peter
Peter May 25 '14
Is it possible to remove lanuage strings that i dont need? For example, there are a lot of links in the english language like http://comunidadriosdeaguaviva.ning.com/...tail/u_00rrwp3uk6mxk and so on. I dont need these so how to remove them completly?

Sorry for my bad English
The Forum post is edited by ross May 27 '14
John
John May 25 '14
I don't know why you would want to remove them. If they're in your language pack, you can change the to your language or leave the field blank. Admin/Settings/Language. Seach for the string to change it or leave empty.

By the way, that link produces a 404 error.
ross Team
ross May 25 '14
John +1


Peter do the search before posting please, this topic has already been discussed. 

Peter
Peter May 27 '14
Thanks, i searched but did not find a answer. The link produces a error because the page doesn't exists any longer i think. I have a lot of these links in my translation (and other unusefull stuff) and if i leave the field blank and save the translation then it's back again after saving.
Peter
Peter May 27 '14
Thanks ross, that link helps me
ross Team
ross May 27 '14
No problem
brownb
brownb Mar 1 '23

In Python you can use the replace() and translate() methods to specify which characters you want to remove from the string and return a new modified string result. It is important to remember that love language test   the original string will not be altered because strings are immutable. Here is the basic syntax for the replace() method.

With the replaceAll() method, you can use an empty String to remove a substring from a string. Syntax: string. replace(No. returns string after deleting the substring that begins at the nth character and is of length characters. If you omit length, or if length is greater than the number of characters from n to the end of string, the function deletes the rest of string (including the nth character). A string is a data structure in Python that represents a sequence of characters. It is an immutable data type, meaning that once you have created a string, you cannot change it.