Changes

From SME Server
Jump to navigationJump to search
94 bytes removed ,  23:56, 27 December 2007
Line 26: Line 26:  
===Translating a panel===
 
===Translating a panel===
 
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.
      
====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/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 ('''origianl''')
+
  /etc/e-smith/locale/en-us/etc/e-smith/web/functions => English translations path ('''original''')
 
  /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
 
  /etc/e-smith/locale/it/etc/e-smith/web/functions    => Italian translations path
 
  /etc/e-smith/locale/it/etc/e-smith/web/functions    => Italian translations path
 
  /etc/e-smith/locale/sv/etc/e-smith/web/functions    => Swedish translations path
 
  /etc/e-smith/locale/sv/etc/e-smith/web/functions    => Swedish translations path
 +
 
Usually, panels have a user-friendly name. Check if a translation hasn't been started, else if the panel translation doesn't exist in your language path, simply copy the file from the English path and start to translate this new file!
 
Usually, panels have a user-friendly name. Check if a translation hasn't been started, else if the panel translation doesn't exist in your language path, simply copy the file from the English path and start to translate this new file!
 
You will have to translate the content of text between '''<trans>''' and '''</trans>'''
 
You will have to translate the content of text between '''<trans>''' and '''</trans>'''

Navigation menu