4 * Translation by Pasok Internet Volunteers
5 * http://forum.pasok.gr
6 * version 1.0 (initial release)
8 *The project for the translation of MediaWiki into Greek
9 *was undertaken by a group of ICT volunteers working under
10 *the auspices of the Greek political party PASOK.
12 *The idea behind this effort was to provide an extensible,
13 *easy-to-use and non-intimidating tool for content development
14 *and project management, to be used throughout the administrative
15 *and political structure of PASOK by staff, volunteers, party members
16 *and elected officials (all of whom possess varying degrees of ICT skills).
18 *The PASOK ICT team and the volunteers who worked on this project are
19 *now returning the translated interface to the Open-Source Community
20 *with over 98% of the messages translated into user-friendly Greek.
22 *We hope that it will be used as a tool by other civil society organizations
23 *in Greece, and that it will enhance the collective creation and the dissemination
24 *of knowledge - an essential component of the democratic process.
27 * @subpackage Language
30 require_once( 'LanguageUtf8.php' );
32 if (!$wgCachedMessageArrays) {
33 require_once('MessagesEl.php');
36 class LanguageEl
extends LanguageUtf8
{
37 private $mMessagesEl, $mNamespaceNamesEl = null;
39 function __construct() {
40 parent
::__construct();
42 global $wgAllMessagesEl;
43 $this->mMessagesEl
=& $wgAllMessagesEl;
45 global $wgMetaNamespace;
46 $this->mNamespaceNamesEl
= array(
48 NS_SPECIAL
=> 'Ειδικό',
50 NS_TALK
=> 'Συζήτηση',
52 NS_USER_TALK
=> 'Συζήτηση_χρήστη',
53 NS_PROJECT
=> $wgMetaNamespace,
54 NS_PROJECT_TALK
=> $wgMetaNamespace . '_συζήτηση',
56 NS_IMAGE_TALK
=> 'Συζήτηση_εικόνας',
57 NS_MEDIAWIKI
=> 'MediaWiki',
58 NS_MEDIAWIKI_TALK
=> 'MediaWiki_talk',
59 NS_TEMPLATE
=> 'Πρότυπο',
60 NS_TEMPLATE_TALK
=> 'Συζήτηση_προτύπου',
62 NS_HELP_TALK
=> 'Συζήτηση_βοήθειας',
63 NS_CATEGORY
=> 'Κατηγορία',
64 NS_CATEGORY_TALK
=> 'Συζήτηση_κατηγορίας',
69 function getNamespaces() {
70 return $this->mNamespaceNamesEl + parent
::getNamespaces();
73 function getMessage( $key ) {
74 if( isset( $this->mMessagesEl
[$key] ) ) {
75 return $this->mMessagesEl
[$key];
77 return parent
::getMessage( $key );
81 function getAllMessages() {
82 return $this->mMessagesEl
;
85 function fallback8bitEncoding() {
89 function separatorTransformTable() {
90 return array(',' => '.', '.' => ',' );