⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 intr_toolkit.html

📁 是一个加快Java应用程序国际化和本地化开发的工具集。它将大大减少国际化和本地化开发的所消耗的时间和资源。
💻 HTML
📖 第 1 页 / 共 2 页
字号:
<h6>Figure8: Change resource bundle item</h6></ol><li>Change a locale resource bundle item</li><ol><li>Select the locale resource bundle item you want to change.</li><li>Choose <b>Project->Change Selected </b>or the corresponding popup menuitem,you will see a customized dialog pop-up(figure 9).</li><li>Select a locale name from the locale names list.</li><li>Press <b>OK</b> to validate the input value.</li><p><br><img SRC="image/int_pro_edilocbund.gif" height=459 width=459><h6>Figure9: Change locale resource bundle item</h6></ol></ul><a NAME="Editing project file"></a><b><i>Configurating project file</i></b><p>To change the properties of the being opened project file,<ul><li>Choose <b>Project->Configure</b>, a dialog box pop-up as shown in figure8.</li><li>Edit the project working directory and project output directory in thetext fields.</li><li>Press <b>OK</b> on the dialog box.</li></ul></div><ul><img SRC="image/int_pro_edit.gif" height=207 width=337><h6>Figure10: Configure project file</h6></ul><a NAME="Adding items to the project file"></a><b><i>Adding items to theproject file</i></b><ul><li CLASS="Head2">Add a source file</li><ul><li CLASS="Head2">Press <b>Project->Add Items->Add Source</b>(figure9), then get the dialogbox pop-up(figure10).</li></ul><ul><div CLASS="Head2"><img SRC="image/int_pro_addsou.gif" height=448 width=474></div><h6 CLASS="Head2">Figure11: Press add source</h6><h6 CLASS="Head2"><img SRC="image/int_pro_addsoudial.gif" height=253 width=420></h6><h6 CLASS="Head2">Figure12: Add source dialog</h6></ul></ul><ul><ul><li>Press <b>Add</b> button to browse and select a java source file.</li><li>Continue to use <b>Add</b> button to add the java source files includedin the current project. All selected files will be shown in the list ofthe dialog. Use <b>Remove</b> button to remove a file from the list.</li><li>Press <b>OK</b> to validate the input value.</li></ul><li>Import resource bundle</li></ul><ul><ul><li>Press <b>Project->Add Items->Import Resource Bundle</b>, get a dialog boxpop-up(figure13).</li><h6><img SRC="image/int_pro_imprebund.gif" height=257 width=438></h6><h6>Figure13: Import resource bundle</h6><li>Input resource bundle name in the text field or <b>Browse</b> to selectone name to the text field.</li><li>If there are locale resource bundles, they can be imported together. Press<b>Specifylocales</b> to select the locale names.</li><li>Press<b> OK</b> to import selected resource bundles.</li></ul><b>Note:</b> In general cases, the source files are not internationalized,they have no resource bundles of course. Then user will not need to dothis step. After processed by the Message Tool, the resource bundles willbe generated automatically.<br>&nbsp;<li>Import locale resource bundles</li><ul><li>Press <b>Project->Add Items->Import Locale Resource</b>, get a dialog boxpop-up(figure14).</li><h6><img SRC="image/int_pro_implocresbund..gif" height=289 width=447></h6><h6>Figure14: Import locale resource</h6><li>Select the locale names to be imported from the left list, then press ">"to move the selections to the right list or press "&lt;" to cancel theselection. Press ">>" to select all and press "&lt;&lt;" to cancel all.</li><li>Press <b>OK</b> to import selected locale resource bundles.</li></ul><b>Note:</b> If the source file has not been internationalized, user willnot need to do this step.</ul><a NAME="Dealing with the project item by different tools"></a><b><i>Dealingwith the project item by different tools</i></b><p>If you want to deal with a project item (a source file or a resourcebundle file), you can select a tool from the image buttons in the Toolkitmain window or from the menu item: <b>Tools</b> (shown in figure15). Youcan also select a tool from the popup menu list by pressing the right mousewithin the window(figure16).<p><img SRC="image/int_toolmenu.gif" height=356 width=434><h6>Figure15: Select a tool to deal with the project item</h6><img SRC="image/int_rigmouseletool.gif" height=367 width=405><h6>Figure16: Select a tool from the popup list</h6><ul><li>When you select a java source file, you can only deal with it by <b>I18n/Verifier</b>and <b>Message Tool</b>. The other two tool menus and image buttons aredisabled in grey color as shown in figure15 and figure16.</li></ul><ul><li>When you select a resource bundle file, you can only deal with it by <b>Translator</b>and <b>Resource Tool</b> as shown in figure17.</li></ul><ul><img SRC="image/int_dealresbun.gif" height=331 width=423><h6>Figure17: Deal with resourcebundle</h6></ul><div CLASS="Paragraph"><a NAME="Some Buttons on the main window"></a><b><i>SomeButtons on the main window</i></b><p>Under the menu items, there are some image buttons for quick accesssome functions, you can press it to get the functions more quick and conveniently.They are buttons for:<ul><li>Create new project</li><li>Open project file</li><li>Edit project file</li><li>I18n Verifier</li><li>Message Tool</li><li>Translator</li><li>Resource Tool</li><li>Toolkit Help</li><li>About Toolkit</li></ul><a NAME="Project history"></a><b><i>Project history</i></b><p>Under the popup menu of menu item <b>Project </b>as shown in figure18,there is a list of latest opened project files. You can open the file youhave just used very conveniently there.<p><img SRC="image/int_pro_hist.gif" height=448 width=474><h6>Figure18: opened project history</h6>To manully add or remove project files in the history, just edit the ".toolkit/toolkit.INI"at user home directory.&nbsp; In general, the history stores at most 10project files that have been opened recently.<p><a NAME="Exitting Toolkit"></a><b><i>Exitting Toolkit</i></b><p>Press <b>Project->Exit</b>, if there is no other tool running, thenexit the <b>Toolkit</b>.&nbsp; Otherwize, it will get a dialog pop-up (figure19).<p><img SRC="image/int_pro_exittoolkit.gif" height=120 width=515><h6>Figure19: Exitting Toolkit</h6><ul><li>Choose <b>Exit all</b> will exit the Project Management Window and otherrunning tools.</li><li>Choose <b>Only close Toolkit</b> will only close the Project ManagementWindow. Other running tools will still run. But once the Project ManagementWindow is closed, it can not be launched from other tools.</li><li>Choose <b>Cancel</b> will cancel this operation.</li></ul></div><img SRC="image/rainbow.gif" height=6 width=100%><center><p><b><font size=-1>&nbsp;<a href="#top">Top of file</a> | <a href="mailto:i18n-toolkit-comments@Sun.COM">Comments</a>| <a href="mailto:i18n-toolkit-comments@Sun.COM">Submit Bug</a></font></b><br><a href="http://www.sun.com"><img SRC="image/sun-logo.gif" ALT="Sun Home" BORDER=0 height=60 width=84></a><br><font size=-2>Copyright &copy;&nbsp; 1995-1999 Sun Microsystems, Inc.</font><br><font size=-2>China Technical Development Center</font><br><font size=-2>All Rights Reserved.</font></center></body></html>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -