Difference between revisions of "Extra Strings (MenuQue)"
Jump to navigation
Jump to search
m
no edit summary
imported>Kyoma m (Spelling) |
imported>Kyoma m |
||
Line 1: | Line 1: | ||
== Using Extra Strings with MenuQue == | == Using Extra Strings with MenuQue == | ||
MenuQue allows the loading of additional | MenuQue allows the loading of additional '''strings.xml''' files. Useful as a central source of strings that are easy to access and translate. When the game loads up the '''strings.xml''' file it will also load any .xml file found in Oblivion\Data\Menus\Strings. | ||
== Methods == | == Methods == | ||
Line 6: | Line 6: | ||
===Normal=== | ===Normal=== | ||
To get the additional strings under the default section the name of the element should be "Strings" (which is the same as in | To get the additional strings under the default section the name of the element should be "Strings" (which is the same as in '''strings.xml'''). It is recommended (but not required) to give the strings some sort of prefix to help avoid name collision. Here is an example of how the file should look like, using a prefix of '''Exp'''. | ||
<pre> | <pre> | ||
<rect name="Strings"> | <rect name="Strings"> | ||
Line 18: | Line 18: | ||
===Unique=== | ===Unique=== | ||
To get the additional strings under a unique section the name of the element should be something other than "Strings". The preferred methode for larger collections of strings as it helps avoid name collision in general. The name doesn't have to include "Strings". Here is an example of how the file should look like, using a section named | To get the additional strings under a unique section the name of the element should be something other than "Strings". The preferred methode for larger collections of strings as it helps avoid name collision in general. The name doesn't have to include "Strings". Here is an example of how the file should look like, using a section named '''Exp'''. | ||
<pre> | <pre> | ||
<rect name="Exp"> | <rect name="Exp"> |