Changes

From SME Server
Jump to navigationJump to search
832 bytes removed ,  00:51, 28 December 2007
m
no edit summary
Line 25: Line 25:     
===Translating a panel===
 
===Translating a panel===
The goal of this howto is to create a translation for a given language of an existing panel in the server-manager.
+
To create a translation for a given language of an existing panel in the server-manager.
    
See this [http://forums.contribs.org/index.php?topic=30780 topic] for detailled instructions.
 
See this [http://forums.contribs.org/index.php?topic=30780 topic] for detailled instructions.
Line 31: Line 31:  
====Locate needed files====
 
====Locate needed files====
 
Translating a panel is really easy, here are paths to files:
 
Translating a panel is really easy, here are paths to files:
/etc/e-smith/web/functions                          => Original files ('''do not modify any of these files!''')
   
  /etc/e-smith/locale/de/etc/e-smith/web/functions    => German  translations path
 
  /etc/e-smith/locale/de/etc/e-smith/web/functions    => German  translations path
  /etc/e-smith/locale/en-us/etc/e-smith/web/functions => English translations path
+
  /etc/e-smith/locale/en-us/etc/e-smith/web/functions => English translations path ('''origianl''')
 
  /etc/e-smith/locale/es/etc/e-smith/web/functions    => Spanish translations path
 
  /etc/e-smith/locale/es/etc/e-smith/web/functions    => Spanish translations path
 
  /etc/e-smith/locale/fr/etc/e-smith/web/functions    => French  translations path
 
  /etc/e-smith/locale/fr/etc/e-smith/web/functions    => French  translations path
Line 50: Line 49:  
Then create a bug report and attach the patched file.
 
Then create a bug report and attach the patched file.
   −
====Tips & Tricks====
+
====Limitations====
=====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.
 
Panels not using formmagik can't be translated... However there is still a quick fix to change the panel name in the server-manager.
   Line 74: Line 72:  
  /etc/e-smith/events/actions/navigation-conf
 
  /etc/e-smith/events/actions/navigation-conf
   −
=====Duplicate menus=====
+
====Duplicate menus====
 
You may see some duplicate menus in the server-manager. This is a Formmagick related known problem.
 
You may see some duplicate menus in the server-manager. This is a Formmagick related known problem.
 
See this [http://bugs.contribs.org/show_bug.cgi?id=2734 bug] for more details.
 
See this [http://bugs.contribs.org/show_bug.cgi?id=2734 bug] for more details.
Line 91: Line 89:  
Apply and test.
 
Apply and test.
   −
===Contribs Translations===
+
===Contrib Translations===
   −
Contribs that are not written with FormMagick cannot be easily translated.
+
Track which contribs have tranlations
    
  smeserver-userpanel        not FormMagick
 
  smeserver-userpanel        not FormMagick
Line 110: Line 108:  
  if a language is shown the translation is finished
 
  if a language is shown the translation is finished
 
  * means the translation is incomplete
 
  * means the translation is incomplete
   
  ** This table may not be current, email the rpm maintainer with updates, check first
 
  ** This table may not be current, email the rpm maintainer with updates, check first
  −
To translate download the contrib rpm
  −
  −
either install and look in the locale dir
  −
/etc/e-smith/locale/en-us/etc/e-smith/web/functions [original]
  −
  −
/etc/e-smith/locale/de/etc/e-smith/web/functions
  −
/etc/e-smith/locale/es/etc/e-smith/web/functions
  −
/etc/e-smith/locale/fr/etc/e-smith/web/functions
  −
/etc/e-smith/locale/it/etc/e-smith/web/functions
  −
/etc/e-smith/locale/sv/etc/e-smith/web/functions
  −
  −
or open the noarch.rpm or src.rpm, eg. with http://www.7-zip.org/
  −
to get the locale file
  −
  −
choose a source language make a copy and overtype the translations
  −
  −
for a more detailed explanation see
  −
http://forums.contribs.org/index.php?topic=30780.0
         
[[Category:Howto]]
 
[[Category:Howto]]

Navigation menu