<?php
-/**
- ** i18n.php
- **
- ** This file contains variuos functions that are needed to do
- ** internationalization of SquirrelMail.
- **
- ** Internally the output character set is used. Other characters are
- ** encoded using Unicode entities according to HTML 4.0.
- **
- ** $Id$
- **/
-
- if (defined ('i18n_php'))
- return;
- define ('i18n_php', true);
+ /**
+ ** i18n.php
+ **
+ ** Copyright (c) 1999-2001 The Squirrelmail Development Team
+ ** Licensed under the GNU GPL. For full terms see the file COPYING.
+ **
+ ** This file contains variuos functions that are needed to do
+ ** internationalization of SquirrelMail.
+ **
+ ** Internally the output character set is used. Other characters are
+ ** encoded using Unicode entities according to HTML 4.0.
+ **
+ ** $Id$
+ **/
global $squirrelmail_language, $languages;
if (! isset($squirrelmail_language)) { $squirrelmail_language = ''; }
/* PLEASE DON'T TOUCH!!!
* Correct locale name, which should be set by setlocale and/or putenv('LC_ALL='...)
- * is 'cs_CZ' and NOT 'cs', this applies to all locale names, look into docs, if you
- * don't believe me. Ondrej Sury, czech and slovak translator.
- */
+ * is 'cs_CZ' and NOT 'cs', this applies to all locale names, look into docs, if you
+ * don't believe me. Ondrej Sury, czech and slovak translator.
+ */
$languages['cs_CZ']['NAME'] = 'Czech';
$languages['cs_CZ']['CHARSET'] = 'iso-8859-2';
$languages['cs']['ALIAS'] = 'cs_CZ';
$languages['lt']['CHARSET'] = 'iso-8859-13';
$languages['lt_LT']['ALIAS'] = 'lt';
+ $languages['sl']['NAME'] = 'Slovenian';
+ $languages['sl']['CHARSET'] = 'iso-8859-2';
+
+ $languages['bg']['NAME'] = 'Bulgarian';
+ $languages['bg']['CHARSET'] = 'iso-8859-1';
+
// Decodes a string to the internal encoding from the given charset
function charset_decode ($charset, $string) {
global $debug_mime;
if ($my_charset) $default_charset=$my_charset;
}
-?>
+?>
\ No newline at end of file