--- share/moin/htdocs/modern/css/screen.css.orig	Thu Apr  5 18:26:32 2007
+++ share/moin/htdocs/modern/css/screen.css	Thu Apr  5 18:26:37 2007
@@ -251,6 +251,55 @@
     background: #81BBF2; /* url(../img/tab-selected.png) repeat-x; */
 }
 
+
+#langbar {
+    display: block;
+    margin: 0;
+    padding: 0 10px;
+    font-size: 0.82em;
+    zoom: 1; /* for avoiding a gap between navibar and pageline on IE */
+}
+
+#langbar li {
+    float: right;
+    display: inline;
+    margin: 0 2px;
+    padding: 2px 5px;
+    border: 1px solid #9C9C9C;
+    border-bottom: none;
+    white-space: nowrap;
+}
+
+*[dir="rtl"] #langbar li {
+    float: left;
+}
+
+#langbar li.wikilink {
+    background: white; /*url(../img/tab-wiki.png) repeat-x;*/
+}
+
+#langbar li.userlink {
+    background: #E6EAF0; /*url(../img/tab-user.png) repeat-x;*/
+}
+
+#langbar a, #langbar a:visited {
+    color: black;
+    text-decoration: none;    
+}
+
+#langbar li.current a {
+    font-weight: bold;
+}
+
+#langbar li:hover {
+    background: #CCCCCC;
+}
+
+#langbar li.current, #langbar li.current:hover {
+    background: #81BBF2; /* url(../img/tab-selected.png) repeat-x; */
+}
+
+
 #pageline {
     clear: both;
     margin: 0;
--- lib/python2.4/site-packages/MoinMoin/theme/modern.py.orig	Thu Apr  5 18:28:26 2007
+++ lib/python2.4/site-packages/MoinMoin/theme/modern.py	Thu Apr  5 18:27:59 2007
@@ -34,6 +34,7 @@
             u'</div>',
             self.trail(d),
             self.navibar(d),
+            self.langbar(d),
             #u'<hr id="pageline">',
             u'<div id="pageline"><hr style="display:none;"></div>',
             self.msg(d),
@@ -47,6 +48,32 @@
             self.startPage(),
         ]
         return u'\n'.join(html)
+
+    def langbar(self, d):
+        """ Create language bar """
+        from types import *
+	from MoinMoin.Page import Page
+        _ = self.request.getText
+
+        page_title = d['page_name']
+        lang_links = []
+        request = self.request
+        for d in  request.dicts.keydict(page_title):
+                trans = request.dicts.dict(d)[page_title]
+                if not isinstance(trans, int):
+                        translated_page = Page(request, trans)
+                        if translated_page.exists():
+                                lang_links.append(translated_page.link_to(request, d.replace('Dict','')))
+
+        if lang_links:
+                html = [
+                        u'<ul id="langbar"><li>',
+                        u'</li>\n<li>'.join(lang_links),
+                        u'</li></ul>'
+                        ]
+                return u'\n'.join(html)
+        else:
+                return u''
 
     def editorheader(self, d, **kw):
         """ Assemble wiki header for editor
