Translations

From SME Server
Jump to navigationJump to search

Translations

SME Server Supports English, French, German, Spanish, Italian and Swedish.

Other Languages are in progress [Bug tracker - translations]


Adding new Languages

There is one file per server-manager panel, plus a few others.

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
  • 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

Ongoing updates to SME Server occasionally modify panel text and this requires updating of the translations.

These changes are tracked in the Bug Tracker, please add updated translations at each bug if you can.

Contribs Translations

Contribs that are not written with FormMagick cannot be easily translated.

smeserver-userpanel        not FormMagick

smeserver-userpanels 
- forwarding               fr, de, es*, it*, sv
- password                 fr, de, es, it, sv
- useraccounts/backup      not FormMagick

smeserver-vacation         fr, de, es

smeserver-mailsorting      fr, de, es

smeserver-remoteuseraccess fr, de, es, sv

if a language is shown the translation is finished
* means the translation is incomplete

** 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

  • Menus with non FormMagick contribs

There is a workaround to translate just the menu category and heading.

create a locale file

nano /etc/e-smith/locale/fr/etc/e-smith/web/functions/userpanelaccess
<lexicon lang="fr">
   <entry>
       <base>Security</base>
       <trans>\n      Sécurité\n    </trans>
   </entry>
   <entry>
       <base>User Panel Access</base>
       <trans>Panneaux Utilisateurs</trans>
   </entry>
</lexicon>

regenerate the menus

/etc/e-smith/events/actions/navigation-conf

And email the locale file to the contrib maintainer for the next release