PDA

View Full Version : HOWTO: Create a New Language Module


Support
10-03-2002, 10:26 AM
<HTML><HEAD><TITLE>HOWTO: Create a New Language Module</TITLE></HEAD><BODY><h3>HOWTO: Create a New Language Module</h3><b>Document ID: IR04012</b><hr>The information in this article applies to:<ul><li>AutoPlay Media Studio 4.0</li></ul><hr><h3>SUMMARY</h3><p>This article describes how to create a language module for an unsupported language in AutoPlay Media Studio 4.0.</p><h3>DISCUSSION</h3><p>AutoPlay Media Studio provides multi lingual support for error and progress messages through language modules. These language modules can be included in an AutoPlay application from the Languages tab of the <i>Project Settings</i> screen. Although AutoPlay Media Studio does ship with several popular language modules, it is possible that the language file that you are looking for has not been included. Fortunately, these files are easy to make if you know both the language of an existing language file and the one you want to create.</p><p>Here are the basic steps to create your own language module:</p><ul><li>In Windows Explorer, find the "Data\Languages" subfolder of the AutoPlay Media Studio 4.0 folder. Usually this is "C:\Program Files\AutoPlay Media Studio 4.0\Data\Languages".</li><li>Make a copy of the language file that you want to translate from. For example, to translate from English, make a copy of the "English.xml" file.</li><li>Rename the file to the name of the language that you are translating to. For example, "German.xml".</li><li>Open the newly created language file in a text editor such as Notepad.</li><li>Change the <b>Description</b> tag to be the name of the language that you are translating to. For example, "<Description>German</Description>"</li><li>Change the <b>LanguageID</b> tag to be the language ID of the language you are translating to. For example, "<LanguageID>7</LanguageID>" You can look up the language ID that you need in the "langids.ini" file located in the same "Languages" directory.</li><li>Translate all of the messages within Message tags. Do NOT edit the <b>ID</b> subtags, only change the text within the <b>Text</b> subtags.</li><li>When you have finished translating the file, save it.</li></ul><p>That is all that there is to creating a new language module. If you would like to share your language module with other AutoPlay Media Studio users, please email the file to us or post it on the AutoPlay Media Studio forum. We will review it and include it in the next release of the product.</p><h3>MORE INFORMATION</h3><p>See <b>Command Reference | Project Settings | Languages tab</b> in the AutoPlay Media Studio help file.</p><p>KEYWORDS: languages, language module, english.xml</p><hr><FONT SIZE=1>Last reviewed: October 3, 2002<br>Copyright © 2002 <A HREF="http://www.indigorose.com" target="blank">Indigo Rose Corporation</a>. All rights reserved.<br></FONT></BODY></HTML>