Difference between revisions of "Extra Strings (MenuQue)"

Jump to navigation Jump to search
15 bytes removed ,  04:59, 7 March 2011
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 <tt>strings.xml</tt> files. Useful as a central source of strings that are easy to access and translate. When the game loads up the <tt>strings.xml</tt> file it will also load any .xml file found in Oblivion\Data\Menus\Strings.
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 <tt>strings.xml</tt>). 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 <tt>Exp</tt>.
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 <tt>Exp</tt>.
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">
Anonymous user

Navigation menu