Changes

From SME Server
Jump to navigationJump to search
2,683 bytes removed ,  13:33, 1 March 2008
m
Line 10: Line 10:  
To translate to another language
 
To translate to another language
 
* Raise a bug in the bug tracker to let us know you're starting or add to a work in progress
 
* Raise a bug in the bug tracker to let us know you're starting or add to a work in progress
  −
* Refer to these forum posts
  −
  −
http://forums.contribs.org/index.php?topic=30780.0
  −
  −
http://forums.contribs.org/index.php?topic=29298.0
      
===Maintaining Existing Languages===
 
===Maintaining Existing Languages===
Line 21: Line 15:  
Ongoing updates to SME Server occasionally modify panel text and this requires updating of the translations.
 
Ongoing updates to SME Server occasionally modify panel text and this requires updating of the translations.
   −
These changes are tracked in the
+
http://translate.unixlan.com.ar/projects/sme7bc/ console
[http://bugs.contribs.org/buglist.cgi?query_format=advanced&short_desc_type=allwordssubstr&short_desc=&product=SME+Server+Translations&long_desc_type=substring&long_desc=&bug_file_loc_type=allwordssubstr&bug_file_loc=&keywords_type=allwords&keywords=&bug_status=UNCONFIRMED&bug_status=NEW&bug_status=ASSIGNED&bug_status=REOPENED&emailassigned_to1=1&emailtype1=substring&email1=&emailassigned_to2=1&emailreporter2=1&emailqa_contact2=1&emailcc2=1&emailtype2=substring&email2=&bugidtype=include&bug_id=&votes=&chfieldfrom=&chfieldto=Now&chfieldvalue=&cmdtype=doit&order=Bug+Number&field0-0-0=noop&type0-0-0=noop&value0-0-0=  Bug Tracker,] please add updated translations at each bug if you can.
  −
 
  −
===Translating a panel===
  −
To create a translation for a given language of an existing panel in the server-manager.
  −
 
  −
====Locate needed 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/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/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/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!
  −
You will have to translate the content of text between '''<trans>''' and '''</trans>'''
  −
 
  −
Translating server console, based on the english version found in the smeserver-locale rpm in the /usr/share/locale/en_US/LC_MESSAGES/ directory
  −
 
  −
Note. The files in this directory on the server are incomplete,
  −
the original English texts are scattered across many files,
  −
and are only collected in the rpm to help with translation.
  −
 
  −
====Apply changes====
  −
For changes to take effects, you will have to issue the following command:
  −
/etc/e-smith/events/actions/navigation-conf
  −
Now open your web browser at https://yourserver/server-manager and see your own modifications!
  −
 
  −
====Share your work====
  −
See [[:Package_Modification]] to learn how to help modifying existing contribs.
  −
Then create a bug report and attach the patched file.
  −
 
  −
 
     −
====Duplicate menus====
+
http://translate.unixlan.com.ar/projects/sme7bp/ panels
You may see some duplicate menus in the server-manager. This is a Formmagick related known problem.
     −
It has been Fixed in [[Bugzilla:3346]]
      
===Contrib Translations===
 
===Contrib Translations===

Navigation menu