Difference between revisions of "Translations"
(reorder) |
m (correct indent) |
||
Line 16: | Line 16: | ||
If you want to be a language responsible, create a new bug [http://bugs.contribs.org/enter_bug.cgi?product=SME%20Server%20Translations&component=SME%20Server&version=7.3&short_desc=I%20want%20to%20be%20responsible%20translator%20of%20the%20(put%20the%20language%20here)%20language.&comment=My%20Pootle%20username%20is:%20 HERE] | If you want to be a language responsible, create a new bug [http://bugs.contribs.org/enter_bug.cgi?product=SME%20Server%20Translations&component=SME%20Server&version=7.3&short_desc=I%20want%20to%20be%20responsible%20translator%20of%20the%20(put%20the%20language%20here)%20language.&comment=My%20Pootle%20username%20is:%20 HERE] | ||
− | + | Then you can translate directly your strings clicking at the "Send" button, and review the suggestions made for other translators. You can accept or decline the suggestions. | |
− | Then you | + | {{Note box| |
+ | |||
+ | '''1.''' To be a language responsible, you must create a bug as described above. Then we will grant "translate" access for you. If you are the first language responsible, you have the responsibility to accept other language responsible people based on the quality of his or hers translations. | ||
− | + | '''2.''' '''Before''' you can request responsible access, you must add the language and projects to your account in Pootle. To make these go to "My Account" --> "Change options" and select the three projects under "My Projects" SME Server Console, SME Server Panels, and SME Contribs Panels (use ctrl key for multiple select). Then select your language under "My Languages". | |
+ | }} | ||
Line 64: | Line 67: | ||
|- | |- | ||
|} | |} | ||
+ | |||
+ | === Pootle tips === | ||
+ | To speed up your translation process follow these tips: | ||
+ | |||
+ | Enter at "My account" and then at "Change options". | ||
+ | |||
+ | Set these values: | ||
+ | |||
+ | *Number of rows in translate mode = 1 | ||
+ | *Number of rows in view mode = 5 | ||
+ | *Input Height (in lines) = 10 | ||
+ | |||
+ | You can select your language and projects to see shortcuts at your home page. | ||
==== Untranslated words ==== | ==== Untranslated words ==== | ||
Line 69: | Line 85: | ||
Also you can see the suggestions clicking at '''"Review Suggestions"'''. | Also you can see the suggestions clicking at '''"Review Suggestions"'''. | ||
− | |||
==== Translation Memory ==== | ==== Translation Memory ==== | ||
You can use the matching translations from the Pootle right side '''"related"''' strings to speed up the translation process. Make the necessary fixes for the non matching strings. | You can use the matching translations from the Pootle right side '''"related"''' strings to speed up the translation process. Make the necessary fixes for the non matching strings. | ||
− | |||
==== Checks before finish your work==== | ==== Checks before finish your work==== | ||
− | |||
We generate daily a consistency verification,it´s available on http://translate.contribs.org/errors/ | We generate daily a consistency verification,it´s available on http://translate.contribs.org/errors/ | ||
Line 84: | Line 97: | ||
See http://translate.sourceforge.net/wiki/guide/pofilter_examples and http://translate.sourceforge.net/wiki/guide/translation/commonerrors | See http://translate.sourceforge.net/wiki/guide/pofilter_examples and http://translate.sourceforge.net/wiki/guide/translation/commonerrors | ||
− | |||
{{Note box|We need to make consistent translations. The system detect some consistence errors for all languages. You can check http://translate.contribs.org/errors/ and see your language errors. Please fix the inconsistency errors}} | {{Note box|We need to make consistent translations. The system detect some consistence errors for all languages. You can check http://translate.contribs.org/errors/ and see your language errors. Please fix the inconsistency errors}} | ||
Line 115: | Line 127: | ||
<span style="background-color: #CBD567">Durante l'orario d'ufficio (dalle 8:00 alle 18:00) giorni lavorativi</span> or <span style="background-color: #CBD567">Orario ufficio (8:00-18:00 Lun-Ven)</span>. | <span style="background-color: #CBD567">Durante l'orario d'ufficio (dalle 8:00 alle 18:00) giorni lavorativi</span> or <span style="background-color: #CBD567">Orario ufficio (8:00-18:00 Lun-Ven)</span>. | ||
− | ==== | + | ==== Considerations ==== |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
* Not use colloquial terms. Only formal XXX-LANG. | * Not use colloquial terms. Only formal XXX-LANG. | ||
Line 139: | Line 138: | ||
* IMPORTANT. If at the moment of an installation or modification of the adjustments of SME Server it detects an inexact translation or that one does not adjust to the context, please, takes note precise from the same one and in where it found it, soon to correct it. If you want you can fix at http://translate.contribs.org. Does not let save the opportunity to correct. | * IMPORTANT. If at the moment of an installation or modification of the adjustments of SME Server it detects an inexact translation or that one does not adjust to the context, please, takes note precise from the same one and in where it found it, soon to correct it. If you want you can fix at http://translate.contribs.org. Does not let save the opportunity to correct. | ||
− | + | == Pootle for developers == | |
Lexicons for rpms in smecontribs and smeserver are automatically added to Pootle. | Lexicons for rpms in smecontribs and smeserver are automatically added to Pootle. | ||
Line 155: | Line 154: | ||
* <nowiki>Make your original FM file XML strict. Always close the opened tags (<i>...</i>). Use the same caps for tags (<b> is not equal to <B>). </nowiki> | * <nowiki>Make your original FM file XML strict. Always close the opened tags (<i>...</i>). Use the same caps for tags (<b> is not equal to <B>). </nowiki> | ||
− | |||
==Outdated contribs== | ==Outdated contribs== | ||
Line 176: | Line 174: | ||
* e-smith-ezmlm-web (replace with smeserver-ezmlm in smecontribs '''NEEDS TESTING!''') | * e-smith-ezmlm-web (replace with smeserver-ezmlm in smecontribs '''NEEDS TESTING!''') | ||
* sme-crontab_manager | * sme-crontab_manager | ||
− | |||
=== Simple (and dirty) way to discover the incompatible contrib panel === | === Simple (and dirty) way to discover the incompatible contrib panel === |
Revision as of 00:41, 23 April 2008
Translating with Pootle
SME Server Supports a dozen languages. See http://translate.contribs.org/ for the current list.
To translate to another language, raise a bug in the bug tracker to let us know you would like to start.
Pootle for translators
Register and login at http://translate.contribs.org and you can begin with the translations.
Please DON'T use automatic nor machine generated translations. These are BAD quality. Leave human translators them make its work!
Language Responsible's
Because we have detected some bad edits to the existing translated languages, we resolved to restrict direct translation at the Pootle. Instead of translate (Send) you can Suggest only, and a translator responsible accept or decline the suggestions.
If you want to be a language responsible, create a new bug HERE
Then you can translate directly your strings clicking at the "Send" button, and review the suggestions made for other translators. You can accept or decline the suggestions.
LANGUAGE | RESPONSIBLES (Pootle username) |
---|---|
DANISH | koopmann - p1ur - skovsgaard |
DUTCH | Cactus - thf - jester |
FRENCH | jpl - mmccarn - esibert - GrandPa - dadoudidon - Cool34000 - unnilennium |
GERMAN | Reinhold - ente - koopmann |
GREEK | MAuVE - pfloor |
HUNGARIAN | tacsaby |
INDONESIAN | thomasch |
ITALIAN | matprova - nicolatiana - Fumetto - nenonano - filippoc |
BRAZILIAN PORTUGUESE | jader |
SLOVENIAN | bpivk |
SPANISH | Normando - juanidada |
SWEDISH | chrille |
Pootle tips
To speed up your translation process follow these tips:
Enter at "My account" and then at "Change options".
Set these values:
- Number of rows in translate mode = 1
- Number of rows in view mode = 5
- Input Height (in lines) = 10
You can select your language and projects to see shortcuts at your home page.
Untranslated words
Click "Show Editing Functions" and finally at "Quick Translate" for each file or whole language.
Also you can see the suggestions clicking at "Review Suggestions".
Translation Memory
You can use the matching translations from the Pootle right side "related" strings to speed up the translation process. Make the necessary fixes for the non matching strings.
Checks before finish your work
We generate daily a consistency verification,it´s available on http://translate.contribs.org/errors/
Please run these checks before conclude your work:
Under the language of your choice at root level project, click at "Show Editing Functions" and then "Show Checks" to see a list of syntax errors.
See http://translate.sourceforge.net/wiki/guide/pofilter_examples and http://translate.sourceforge.net/wiki/guide/translation/commonerrors
Example for Italian:
#: root/etc/e-smith/locale/en-us/etc/e-smith/web/functions/clamav:60(trans) #: root/etc/e-smith/locale/en-us/etc/e-smith/web/functions/emailsettings:118(trans) #, fuzzy msgid "During office hours (8:00 AM to 6:00 PM) on weekdays" msgstr "" "#-#-#-#-# clamav.po (SME Panels) #-#-#-#-#\n" "Durante l'orario d'ufficio (dalle 8:00 alle 18:00) giorni lavorativi\n" "#-#-#-#-# emailsettings.po (SME Panels) #-#-#-#-#\n" "Orario ufficio (8:00-18:00 Lun-Ven)"
You must fix the file clamav.po or emailsettings.po (not both) to only use one of the following translated values:
Durante l'orario d'ufficio (dalle 8:00 alle 18:00) giorni lavorativi
or
Orario ufficio (8:00-18:00 Lun-Ven)
Please ensure to remove all \n characters from end of translation and escape characters \ before each " not present in english source language. ex. \"{$acct}\" should be "{$acct}". This only happens in the consistence checks.
So, at equal English strings values => equal translations (Italian) values.
In this example (Italian) the files clamav.po and emailsettings.po should have the same translated value:
Durante l'orario d'ufficio (dalle 8:00 alle 18:00) giorni lavorativi or Orario ufficio (8:00-18:00 Lun-Ven).
Considerations
- Not use colloquial terms. Only formal XXX-LANG.
- Review the orthographic errors. A very simple way is to use Firefox with the installed XXX-LANG dictionary.
- Verify the translation in the context.
- Not to be brief words. Ej. "Ud." instead of "Usted" (Spanish example)
- The subscripts "_" in Pootle indicate a space in target.
- Not to add capital letters in where in English they are not it. Ej. "Web page" must be translated like "Página web" and not like "Página Web" (Spanish example). The intention is to translate and not to invent. For it we must be exact although it demands much greater time the translation.
- Any discussion or doubts or interchange of ideas can be made at the tab "discussion" in the top part of this page. Indent the answers adding two points at the beginning of each new line.
- IMPORTANT. If at the moment of an installation or modification of the adjustments of SME Server it detects an inexact translation or that one does not adjust to the context, please, takes note precise from the same one and in where it found it, soon to correct it. If you want you can fix at http://translate.contribs.org. Does not let save the opportunity to correct.
Pootle for developers
Lexicons for rpms in smecontribs and smeserver are automatically added to Pootle.
A patch is automatically created at http://translate.contribs.org/patches/ You then apply this to the rpm to add the new translations or update the existing ones.
We need a few volunteers to apply these patches to smecontribs, say weekly, or more or less as the need arises, it isn't difficult and we will guide you.
Language rpms for the base rpms are generated less frequently. If you would like to check your translating work you can apply the daily patch to the smeserver-locale .src.rpm to create your own rpm. Everyone has read access to smeserver cvs and you would basically follow the instructions at Package_Modification, ask if you need help.
- The English locale file is used as the Pootle template. Other languages are edited/translated at Pootle.
- Every time you modify, add to or remove strings from the English locale file, just re-commit to cvs. There is a daily update to apply cvs changes to Pootle
- Make your original FM file XML strict. Always close the opened tags (<i>...</i>). Use the same caps for tags (<b> is not equal to <B>).
Outdated contribs
This is a list of contribs that need their lexicons updated,
If contribs are not updated after the April 2008 updates the server-manager panels appear unsorted
The easiest way to update lexicons is for the Author to import their contrib into the SME Contribs repository. Contrib authors please have a look at Package_Modification for that.
Contribs known to not have translations in UTF8 format:
- smeserver-sme7admin
- smeserver-usbdisksmanager (update in smecontribs NEEDS TESTING!)
- smeserver-dar2 (update in smecontribs)
- smeserver-ejabberd
- smeserver-saco-qmHandle
- smeserver-squid_cache_mgt
- smeserver-subversion (update in smecontribs)
- smeserver-fetchmail (update in smecontribs, another utf-8 version maintained by the original author is also on his website)
- e-smith-ezmlm-web (replace with smeserver-ezmlm in smecontribs NEEDS TESTING!)
- sme-crontab_manager
Simple (and dirty) way to discover the incompatible contrib panel
The following command will list all incompatible translation files.
find /etc/e-smith/locale/ -type f | xargs -n1 iconv -f UTF-8 -t UTF-8 > /dev/null
After finding the above files you can determine which package they belong to (if it isn't obvious) by running the following command:
rpm -qf /etc/e-smith/locale/lang/etc/e-smith/web/functions/panelname
And replace the "lang" and "panelname" with what the first command spits out.
To fix temporally this issue, create a temporary folder in your SME, like /root/paneltemp
MOVE those problematic lexicon files to your temp folder.
Then run the command:
/etc/e-smith/events/actions/navigation-conf