BootMii Configuration Editor/FAQs: Difference between revisions
Jump to navigation
Jump to search
←Created page with '== Creating a new translation == '''To add a new translation/language perform the following steps which use French(fr) as an example''' *Open the BCE_MESSAGES.XML file in an ...' |
|||
| Line 39: | Line 39: | ||
* Change the id and name. The id must be unique through all the skins. | * Change the id and name. The id must be unique through all the skins. | ||
* Modify the numbers for the colours. The following colours/numbers are available to use: | * Modify the numbers for the colours. The following colours/numbers are available to use: | ||
** BLACK | ** 0 - BLACK | ||
** DARK_RED | ** 1 - DARK_RED | ||
** DARK_GREEN | ** 2 - DARK_GREEN | ||
** DARK_YELLOW | ** 3 - DARK_YELLOW | ||
** DARK_BLUE | ** 4 - DARK_BLUE | ||
** DARK_MAGENTA | ** 5 - DARK_MAGENTA | ||
** DARK_CYAN | ** 6 - DARK_CYAN | ||
** GRAY | ** 7 - GRAY | ||
** DARK_GRAY | ** 10 - DARK_GRAY | ||
** RED | ** 11 - RED | ||
** GREEN | ** 12 - GREEN | ||
** YELLOW | ** 13 - YELLOW | ||
** BLUE | ** 14 - BLUE | ||
** MAGENTA | ** 15 - MAGENTA | ||
** CYAN | ** 16 - CYAN | ||
** WHITE | ** 17 - WHITE | ||
* There are 3 main parts to the skin settings | |||
Revision as of 07:39, 8 July 2009
Creating a new translation
To add a new translation/language perform the following steps which use French(fr) as an example
- Open the BCE_MESSAGES.XML file in an editor
- Add a new language/code to the available langauges section near the top of the file
- (e.g. to add french add the following line:
<language description="Francais" code="fr" />
- to the available section, for example:
<available> <language description="English" code="en" /> <language description="Espanol" code="es" /> <language description="Francais" code="fr" /> </available>
- For every <entry, add in the french translation using an attribute named the same as the value specified in the code for the langauge (e.g. fr) for example
<entry code="mm1" en="Video:" es="Modo de Video:" fr="Mode visuel:"/>
- Ensure the XML file validates and that you've added a language string for EVERY entry.
- Copy/Save to SD card and test. If the application errors with a stack dump, then there will be a problem in the XML, either it's invalid, or you've missed one of the entry elements usually
Creating a new Skin
- Open the BCE_MESSAGES.XML file in an editor
- Find the <skins element and within this, select and duplicate a skindetail
<skindetail id="custom1" name="My Custom Skin" consolebgcolor="14" consoletextcolor="17" mainbgcolor="7" maintextcolor="0" maintextcolor2="10" maintitlecolor="11" maintitlelinecolor="0" mainselectedIndicatorcolor="11" mainselectedOptioncolor="15" mainshadow="0" dialogbgcolor="10" dialogtextcolor="17" dialogtextcolor2="17" dialogtitlecolor="17" dialogtitlelinecolor="7" dialogselectedIndicatorcolor="11" dialogselectedOptioncolor="13" dialogshadow="0" />
- Change the id and name. The id must be unique through all the skins.
- Modify the numbers for the colours. The following colours/numbers are available to use:
- 0 - BLACK
- 1 - DARK_RED
- 2 - DARK_GREEN
- 3 - DARK_YELLOW
- 4 - DARK_BLUE
- 5 - DARK_MAGENTA
- 6 - DARK_CYAN
- 7 - GRAY
- 10 - DARK_GRAY
- 11 - RED
- 12 - GREEN
- 13 - YELLOW
- 14 - BLUE
- 15 - MAGENTA
- 16 - CYAN
- 17 - WHITE
- There are 3 main parts to the skin settings