lemonldap-ng/doc/pages/translations.html
2015-06-08 14:57:58 +00:00

87 lines
4.7 KiB
HTML

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"
lang="en" dir="ltr">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title></title>
<!-- metadata -->
<meta name="generator" content="Offline" />
<meta name="version" content="Offline 0.1" />
<!-- style sheet links -->
<link rel="stylesheet" media="all" type="text/css" href="../css/all.css" />
<link rel="stylesheet" media="screen" type="text/css" href="../css/screen.css" />
<link rel="stylesheet" media="print" type="text/css" href="../css/print.css" />
</head>
<body>
<div class="dokuwiki export">
<h1 class="sectionedit1" id="translations">Translations</h1>
<div class="level1">
<p>
Translators that want to help us are welcome !
</p>
</div>
<!-- EDIT1 SECTION "Translations" [1-76] -->
<h2 class="sectionedit2" id="portal_translation">Portal translation</h2>
<div class="level2">
<p>
2 kind of files may be translated:
</p>
<ul>
<li class="level1"><div class="li"> <strong><abbr title="HyperText Markup Language">HTML</abbr> templates</strong>: in &lt;lang&gt; tags, add your translation, they will be automaticaly used</div>
</li>
<li class="level1"><div class="li"> <strong>Portal messages</strong>: all messages are grouped in lemonldap-ng/lib/Lemonldap/NG/Portal/_i18n.pm. You just have to create error_zz and msg_zz subroutines <em>(where zz is your international code, example: “fr” for France)</em> by copying error_en and msg_en. Note that you have to use UTF-8 characters</div>
</li>
</ul>
</div>
<!-- EDIT2 SECTION "Portal translation" [77-536] -->
<h2 class="sectionedit3" id="manager_translation">Manager translation</h2>
<div class="level2">
<p>
2 kind of files may be translated:
</p>
<ul>
<li class="level1"><div class="li"> <strong>Manager interface</strong>: all messages are grouped in lemonldap-ng-manager/lib/Lemonldap/NG/Manager/_i18n.pm. Copy en subroutine to zz <em>(where zz is your international code, example: “fr” for France)</em> then translate messages. Note that you have to use UTF-8 characters</div>
</li>
<li class="level1"><div class="li"> <strong>Documentation</strong>: use <a href="http://www.omegat.org/" class="urlextern" title="http://www.omegat.org/" rel="nofollow">OmegaT</a> to translate offline documentation and configure it:</div>
<ul>
<li class="level2"><div class="li"> Project = <em>[path/to/trunk/build/lemonldap-ng]</em>/omegat.files/zz <em>(where zz is your international code, example: “fr” for France)</em></div>
</li>
<li class="level2"><div class="li"> Source directory = <em>[path/to/trunk/build/lemonldap-ng]</em>/doc/</div>
</li>
<li class="level2"><div class="li"> Destination directory = <em>[path/to/trunk/build/lemonldap-ng]</em>/po-doc/zz (where zz is your international code, example: “fr” for France)</div>
</li>
<li class="level2"><div class="li"> translation memory directory = <em>[path/to/trunk/build/lemonldap-ng]</em>/omegat.files/zz/tm/</div>
</li>
<li class="level2"><div class="li"> Glossary directory = <em>[path/to/trunk/build/lemonldap-ng]</em>/omegat.files/zz/glossary/</div>
</li>
</ul>
</li>
</ul>
</div>
<!-- EDIT3 SECTION "Manager translation" [537-1531] -->
<h2 class="sectionedit4" id="update_translations">Update translations</h2>
<div class="level2">
<p>
To update translations, ask to <a href="mailto:&#x6c;&#x65;&#x6d;&#x6f;&#x6e;&#x6c;&#x64;&#x61;&#x70;&#x2d;&#x6e;&#x67;&#x2d;&#x64;&#x65;&#x76;&#x40;&#x6f;&#x77;&#x32;&#x2e;&#x6f;&#x72;&#x67;" class="mail" title="&#x6c;&#x65;&#x6d;&#x6f;&#x6e;&#x6c;&#x64;&#x61;&#x70;&#x2d;&#x6e;&#x67;&#x2d;&#x64;&#x65;&#x76;&#x40;&#x6f;&#x77;&#x32;&#x2e;&#x6f;&#x72;&#x67;">&#x6c;&#x65;&#x6d;&#x6f;&#x6e;&#x6c;&#x64;&#x61;&#x70;&#x2d;&#x6e;&#x67;&#x2d;&#x64;&#x65;&#x76;&#x40;&#x6f;&#x77;&#x32;&#x2e;&#x6f;&#x72;&#x67;</a> to update your files. If you want to become member of <abbr title="LemonLDAP::NG">LL::NG</abbr> team ask to <a href="mailto:&#x6c;&#x65;&#x6d;&#x6f;&#x6e;&#x6c;&#x64;&#x61;&#x70;&#x2d;&#x6e;&#x67;&#x2d;&#x64;&#x65;&#x76;&#x40;&#x6f;&#x77;&#x32;&#x2e;&#x6f;&#x72;&#x67;" class="mail" title="&#x6c;&#x65;&#x6d;&#x6f;&#x6e;&#x6c;&#x64;&#x61;&#x70;&#x2d;&#x6e;&#x67;&#x2d;&#x64;&#x65;&#x76;&#x40;&#x6f;&#x77;&#x32;&#x2e;&#x6f;&#x72;&#x67;">&#x6c;&#x65;&#x6d;&#x6f;&#x6e;&#x6c;&#x64;&#x61;&#x70;&#x2d;&#x6e;&#x67;&#x2d;&#x64;&#x65;&#x76;&#x40;&#x6f;&#x77;&#x32;&#x2e;&#x6f;&#x72;&#x67;</a>.
</p>
<p>
<p><div class="noteimportant">When you commit <a href="http://www.omegat.org/" class="urlextern" title="http://www.omegat.org/" rel="nofollow">OmegaT</a> files in svn repository, don&#039;t push backup files.
</div></p>
</p>
</div>
</div><!-- closes <div class="dokuwiki export">-->