summaryrefslogtreecommitdiffstats
path: root/rss.php
diff options
context:
space:
mode:
Diffstat (limited to 'rss.php')
-rw-r--r--rss.php20
1 files changed, 3 insertions, 17 deletions
diff --git a/rss.php b/rss.php
index 269b734..c089fb5 100644
--- a/rss.php
+++ b/rss.php
@@ -74,23 +74,9 @@ header("Content-Type: text/xml");
<title>E-DoKo Feed</title>
<?php
- /* set language */
- $PREF = DB_get_PREF($id);
- $lang = $PREF['language'];
-
- switch($lang)
- {
- case 'de':
- putenv("LC_ALL=de_DE");
- setlocale(LC_ALL, "de_DE");
- // Specify location of translation tables
- bindtextdomain("edoko", "./locale");
- // Choose domain
- textdomain("edoko");
- break;
- default:
- /* do nothing */
- }
+/* set language */
+$PREF = DB_get_PREF($id);
+set_language($PREF['language']);
echo '<subtitle>'._('Know when it is your turn')."</subtitle>\n";