Update translate.iredadmin.html

This commit is contained in:
Zhang Huangbin 2018-08-22 22:20:15 +02:00
parent d9b0a194c9
commit cb8b4397ff
2 changed files with 26 additions and 40 deletions

View File

@ -1,27 +1,19 @@
# iRedAdmin: Translate iRedAdmin to your local language
If you want to help translate iRedAdmin to your local language, please contact
us to get the latest file which contains all translation items. You can open
the file with your faviourte text editor, translate new items and/or fix existing
improper items. Mail the translated file to email address
`support _at_ iredmail.org`, we will handle rest work.
iRedAdmin-Pro language files are published on github repository:
[iredmail/iredadmin-pro-translation](https://github.com/iredmail/iredadmin-pro-translation)
If you already have iRedAdmin or iRedAdmin-Pro installed, you can find
translated languages under `i18n/` directory. If you are about to translate
it to a new language, you can copy file `i18n/iredadmin.po`, translate it,
and mail translated file to us.
How to help translate:
To verify translated items, you can translate the items first (e.g.
`i18n/es_ES/LC_MESSAGES/iredadmin.po` for Spainish), then run script to compile
it:
* Fork the github repository
* Translate file `<lang>/LC_MESSAGES/iredadmin.po`
* Send us a pull request.
```
cd /path/to/iRedAdmin-Pro/
cd i18n/
bash translation.sh es_ES # <- Update Spainish language (es_ES)
```
If there's no directory for your language, feel free to create it, then copy
file `iredadmin.po` on top directory to your directory.
Restarting Apache or uwsgi (if you're running Nginx) service is required to
reload new translation.
We will convert translated file and commit to the repository again, you
can download it and override the file in your iRedAdmin-Pro directory, then
restart Apache or uwsgi (if you're running Nginx) service.
Your help is greatly appreciated.
Your help is greatly appreciated. :)

View File

@ -16,26 +16,20 @@
<span>iRedMail</span>
</a>
&nbsp;&nbsp;//&nbsp;&nbsp;<a href="./index.html">Document Index</a></div><h1 id="iredadmin-translate-iredadmin-to-your-local-language">iRedAdmin: Translate iRedAdmin to your local language</h1>
<p>If you want to help translate iRedAdmin to your local language, please contact
us to get the latest file which contains all translation items. You can open
the file with your faviourte text editor, translate new items and/or fix existing
improper items. Mail the translated file to email address
<code>support _at_ iredmail.org</code>, we will handle rest work.</p>
<p>If you already have iRedAdmin or iRedAdmin-Pro installed, you can find
translated languages under <code>i18n/</code> directory. If you are about to translate
it to a new language, you can copy file <code>i18n/iredadmin.po</code>, translate it,
and mail translated file to us.</p>
<p>To verify translated items, you can translate the items first (e.g.
<code>i18n/es_ES/LC_MESSAGES/iredadmin.po</code> for Spainish), then run script to compile
it:</p>
<pre><code>cd /path/to/iRedAdmin-Pro/
cd i18n/
bash translation.sh es_ES # &lt;- Update Spainish language (es_ES)
</code></pre>
<p>Restarting Apache or uwsgi (if you're running Nginx) service is required to
reload new translation.</p>
<p>Your help is greatly appreciated.</p><div class="footer">
<p>iRedAdmin-Pro language files are published on github repository:
<a href="https://github.com/iredmail/iredadmin-pro-translation">iredmail/iredadmin-pro-translation</a></p>
<p>How to help translate:</p>
<ul>
<li>Fork the github repository</li>
<li>Translate file <code>&lt;lang&gt;/LC_MESSAGES/iredadmin.po</code></li>
<li>Send us a pull request.</li>
</ul>
<p>If there's no directory for your language, feel free to create it, then copy
file <code>iredadmin.po</code> on top directory to your directory.</p>
<p>We will convert translated file and commit to the repository again, you
can download it and override the file in your iRedAdmin-Pro directory, then
restart Apache or uwsgi (if you're running Nginx) service.</p>
<p>Your help is greatly appreciated. :)</p><div class="footer">
<p style="text-align: center; color: grey;">All documents are available in <a href="https://bitbucket.org/zhb/iredmail-docs/src">BitBucket repository</a>, and published under <a href="http://creativecommons.org/licenses/by-nd/3.0/us/" target="_blank">Creative Commons</a> license. You can <a href="https://bitbucket.org/zhb/iredmail-docs/get/tip.tar.bz2">download the latest version</a> for offline reading. If you found something wrong, please do <a href="https://www.iredmail.org/contact.html">contact us</a> to fix it.</p>
</div>
<!-- Global site tag (gtag.js) - Google Analytics -->