Update FAQ 7.2 to gettext.

This commit is contained in:
Michal Čihař
2010-04-08 12:41:01 +02:00
parent 6e056ffe05
commit 1b1bef3e53

View File

@@ -4360,20 +4360,32 @@ chmod o+rwx tmp
<a href="#faq7_2">7.2 I want to translate the messages to a new language or upgrade an
existing language, where do I start?</a></h4>
<p> Always use the current SVN version of your language file.
For a new language, start from <i>english-utf-8.inc.php</i>. If you
don't know how to get the SVN version, please ask one of the developers.
<br />
<p> Always use latest Git versoin of po file to translate. You can optionally
translate online at our <a href="http://l10n.cihar.com/">translation
server</a> where you can also get latest po files and merge them
with your translations. For creating new translation simply use
<code>po/phpmyadmin.pot</code> and generate
<code>po/LANG_CODE.po</code> for your language (you can use
<code>msginit -i po/phpmyadmin.pot -l LANG_CODE --no-translator -o po/LANG_CODE.po</code>
to do this) or ask on mailing list to add the translation to the web
interface.
</p>
<p>
Please note that we try not to use HTML entities like &amp;eacute; in
the translations, since we define the right character set in the file.
With HTML entities, the text on JavaScript messages would not
display correctly.
However there are some entities that need to be there, for quotes
,non-breakable spaces, ampersands, less than, greater than.<br />
,non-breakable spaces, ampersands, less than, greater than.
</p>
<p>
You can then put your translations, as a zip file to avoid losing special
characters, on the sourceforge.net translation tracker.<br />
characters, on the sourceforge.net translation tracker.
</p>
<p>
It would be a good idea to subscribe to the phpmyadmin-translators mailing
list, because this is where we ask for translations of new messages.</p>
list, because this is where we ask for translations of new messages.
</p>
<h4 id="faq7_3">
<a href="#faq7_3">7.3 I would like to help out with the development of