|  | <?php require_once($_SERVER['DOCUMENT_ROOT'] . "/eclipse.org-common/system/app.class.php");	require_once($_SERVER['DOCUMENT_ROOT'] . "/eclipse.org-common/system/nav.class.php"); 	require_once($_SERVER['DOCUMENT_ROOT'] . "/eclipse.org-common/system/menu.class.php"); 	$App 	= new App();	$Nav	= new Nav();	$Menu 	= new Menu();		include($App->getProjectCommon()); | 
|  |  | 
|  | $pageTitle = "SWT Language Pack"; | 
|  |  | 
|  | ob_start(); | 
|  | ?> | 
|  | <div id="midcolumn"> | 
|  | <h1>The SWT Language Pack</h1> | 
|  |  | 
|  | <p>In most cases, the native widgets correctly pick up the locale of the | 
|  | machine you are running on and display the translated string provided by | 
|  | the operating system.  For example, the FileDialog will have the correct | 
|  | strings for "Open" and "Cancel" if the locale on your machine has been | 
|  | set correctly.  However, on some platforms, a native widget may not | 
|  | exist and an emulated widget may be be used.  In addition, all custom | 
|  | widgets (org.eclipse.swt.custom) are "emulated".  For these widgets, the | 
|  | correct translations need to be provided.  To have an SWT application | 
|  | with translated strings for all SWT widgets you need to download the | 
|  | swt-nl.jar and include it on the classpath of your application. For | 
|  | example:</p> | 
|  |  | 
|  | <pre> | 
|  | java -Duser.language=fr -Djava.library.path=C:\MyApp | 
|  | -classpath C:\MyApp\swt.jar;C:\MyApp\swt-nl.jar;C:\MyApp\myApp.jar | 
|  | my.org.HelloWorld</pre> | 
|  |  | 
|  | <p>IBM has donated translations from their products to Eclipse. | 
|  | These translations are based on the Eclipse 3.2 | 
|  | build but should work with older releases of SWT.</p> | 
|  |  | 
|  | <p>To use the translations, simply download | 
|  | the appropriate language pack and place it on the classpath of your | 
|  | application.</p> | 
|  |  | 
|  | <ul> | 
|  | <li><a href="org.eclipse.swt.nl1_3.2.0.v200606220026.jar">NLpack1</a>� German, Spanish, French, Italian, Japanese, Korean, Portuguese (Brazil), Traditional Chinese and Simplified Chinese.</li> | 
|  | <li><a href="org.eclipse.swt.nl2_3.2.0.v200606220026.jar">NLpack2</a> � Czech, Hungarian, Polish and Russian.</li> | 
|  | <li><a href="org.eclipse.swt.nl2a_3.2.0.v200606220026.jar">NLpack2a</a> � Danish, Dutch, Finnish, Greek, Norwegian, Portuguese, Swedish and Turkish.</li> | 
|  | <li><a href="org.eclipse.swt.nlBidi_3.2.0.v200606220026.jar">NLpackBidi</a> � Arabic and Hebrew.</li> | 
|  | </ul> | 
|  | </div> | 
|  | <?php | 
|  | $html = ob_get_clean(); | 
|  |  | 
|  | # Generate the web page | 
|  | $App->generatePage($theme, $Menu, $Nav, $pageAuthor, $pageKeywords, $pageTitle, $html); | 
|  | ?> |