| /******************************************************************************* |
| * Copyright (c) 2007-2008 Eclipse Foundation and others. |
| * All rights reserved. This program and the accompanying materials |
| * are made available under the terms of the Eclipse Public License v1.0 |
| * which accompanies this distribution, and is available at |
| * http://www.eclipse.org/legal/epl-v10.html |
| * Paul Colton (Aptana)- initial API and implementation |
| * Kit Lo (IBM) - Beautify Babel Supported Languages table |
| *******************************************************************************/ |
| require(dirname(__FILE__) . "/global.php"); |
| require_once(dirname(__FILE__) . "/../classes/system/language.class.php"); |
| $pageTitle = "Babel Project - Eclipse translation"; |
| $pageKeywords = "translation,language,nlpack,pack,eclipse,babel,english,french,german,chinese,japanese,spanish,arabic,hebrew,hungarian,polish,italian,russian,dutch,finnish,greek,norwegian,sweedish,turkish"; |
| $addon->callHook("head"); |
| background-color: SteelBlue; |
| background-color: LightSteelBlue; |
| background-color: LightGray; |
| <h1 id="page-message">Babel Supported Languages</h1></br> |
| <td><b>Language</b></td><td><b>ISO</b></td> |
| $languages = Language::all(); |
| foreach ($languages as $lang) { |
| if ($lang->iso == "en_AA") { |
| <td>$lang->name</td><td>$lang->iso</td> |
| <td colspan=2><?= $rowcount ?> <?= $rowcount > 1 ? "languages" : "language" ?> found</td> |
| <p align=center>Please <a href="https://bugs.eclipse.org/bugs/enter_bug.cgi?product=Babel&component=Server&bug_file_loc=<?= $_SERVER['SCRIPT_NAME']; ?>"> |
| contact us</a> if the language you need is missing.</p> |
| $addon->callHook("footer"); |