<listColumns>
The <listColumns> element can be used to translate list-column headings into a different language.
Shareaza uses many different lists, each of which is identified by a name. Each list is translated separately by a <list> element. Furthermore, each column in each list is translated by mapping its original english name to a foreign language name. This preserves compatibility if changes are made to the design of the list.
Here is an example from MyListColumnsSkin.xml:
<?xml version="1.0" encoding="UTF-8"?> <skin xmlns="http://www.shareaza.com/schemas/Skin.xsd" version="1.0"><manifest name="My List Column Skin" author="Me" type="Language" language="fr"/> <listColumns> <list name="Neighbours"> <column from="Address" to="Connecter"/> </list> <listColumns> </skin> |
Finding the original column names to include in the from attribute of the <column/> is easy enough by looking at the software while it is running. Discovering the list names is a bit harder, so they are listed here:
- Neighbours
- Downloads
- Uploads
- Library
- Matches
- Discovery
- HostCache
- Security