Changes

From SME Server
Jump to navigationJump to search
1,051 bytes removed ,  13:30, 1 March 2008
m
Line 54: Line 54:  
Then create a bug report and attach the patched file.
 
Then create a bug report and attach the patched file.
   −
====Limitations====
  −
Panels not using formmagik can't be translated... However there is still a quick fix to change the panel name in the server-manager.
     −
Let's take a look at AWStats and try to translate the panel name to French as an example:
  −
  −
Open the default file '''''/etc/e-smith/web/functions/awstats''''' and take a look on the first lines. You should see what is needed to change:
  −
# heading    : Administration => in which submenu the panel is put
  −
# description : Web statistics => display the panel name
  −
# navigation  : 4000 4350      => Not needed here, used for panel order
  −
create a file called '''''awstats''''' in '''''/etc/e-smith/locale/fr/etc/e-smith/web/functions/''''' with the following content:
  −
<lexicon lang="fr">
  −
    <entry>
  −
        <base>Administration</base>
  −
        <trans>Administration</trans>
  −
    </entry>
  −
    <entry>
  −
        <base>Web statistics</base>
  −
        <trans>Statistiques Web</trans>
  −
    </entry>
  −
</lexicon>
  −
And finally, apply changes with the following command:
  −
/etc/e-smith/events/actions/navigation-conf
      
====Duplicate menus====
 
====Duplicate menus====

Navigation menu