website annotate i18n.php @ rev 1033

main: code cleaning
author Aleksej Bobylev <al.bobylev@gmail.com>
date Wed Apr 04 11:17:21 2012 +0300 (2012-04-04)
parents c673d3ff358e
children cd72b985d6fd
rev   line source
pankso@769 1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
al@1033 2 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
pankso@769 3 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
pankso@769 4 <head>
pankso@769 5 <meta http-equiv="content-type" content="text/html; charset=utf-8" />
al@1033 6 <title>Internationalization | SliTaz</title>
pankso@910 7 <meta name="description" content="SliTaz GNU/Linux languages" />
al@1033 8 <meta name="keywords" lang="en" content="SliTaz POT, gettext, translation" />
al@1033 9 <meta name="author" content="Christophe Lincoln"/>
al@1033 10 <?php include("lib/html/meta-link.html"); ?>
pankso@769 11 </head>
pankso@769 12 <body>
pankso@769 13
pankso@910 14 <?php include("lib/html/header.html"); ?>
pankso@769 15
pankso@769 16 <!-- Block -->
pankso@769 17 <div id="block">
pankso@769 18 <!-- Navigation -->
pankso@769 19 <div id="block_nav" style="text-align: center; padding: 10px;">
pankso@906 20 <?php include("lib/random-image.php"); ?>
pankso@769 21 </div>
pankso@769 22 <!-- Information/image -->
pankso@769 23 <div id="block_info">
pankso@769 24 <h4>About i18n</h4>
pankso@769 25 <p>
pankso@769 26 The main goal of SliTaz is to provide full support for a given
pankso@769 27 language, including the website, official Wiki documentation,
pankso@769 28 a dedicated forum and all SliTaz related projects such as the
pankso@769 29 LiveCD GUI builder.
pankso@769 30 </p>
pankso@769 31 <p>
al@1033 32 <img src="images/users.png" alt="*" />
pankso@793 33 <a href="http://scn.slitaz.org/groups/i18n/">Join us on SCN</a>
pankso@769 34 </p>
pankso@769 35 </div>
pankso@769 36 </div>
pankso@769 37
pankso@769 38 <!-- Content -->
pankso@769 39 <div id="content">
pankso@769 40
pankso@769 41 <h2>Internationalization</h2>
al@1033 42
pankso@769 43 <p>
pankso@769 44 Translation is a community effort and everyone can help. You're
pankso@769 45 welcome to join the team! You can find more pot files on
pankso@769 46 <a href="http://hg.slitaz.org/">Hg</a>, just pick one up,
pankso@769 47 translate it and send it to the mailing list or upload it onto the
pankso@769 48 SliTaz Community Network aka <a href="http://scn.slitaz.org/">SCN</a>.
pankso@769 49 </p>
pankso@769 50
pankso@769 51 <p>
pankso@769 52 SliTaz project Website is available in the following languages:
pankso@769 53 </p>
pankso@769 54
pankso@769 55 <div class="box">
al@1033 56 <?php include "lib/lang.php" ?>
pankso@769 57 </div>
pankso@769 58
pankso@769 59 <h2>Information</h2>
pankso@769 60
pankso@769 61 <p>
pankso@769 62 The website and documentation has been translated and is kept
pankso@769 63 up-to-date by several contributors. For now, the actively maintained
pankso@769 64 languages are English, French, German, Portuguese and Chinese.
pankso@769 65 Spanish is on the stove, but more help is needed. Most of the
pankso@769 66 communication is done through the
al@1033 67 <a href="en/mailing-list.html">Mailing List</a> and the
al@1033 68 <a href="http://scn.slitaz.org/groups/i18n/">i18n group</a> on SCN.
pankso@769 69 </p>
pankso@769 70
pankso@769 71 <p>
pankso@769 72 Some additional languages can be installed through the Package
pankso@769 73 Manager, but we are not able to provide support and documentation.
pankso@769 74 SliTaz is a community based project, everyone can help out and is
pankso@769 75 more than welcome to join us.
pankso@769 76 </p>
pankso@769 77
al@1033 78 <h2 id="howto">How to participate</h2>
pankso@836 79
pankso@836 80 <p>
paul@838 81 From fixing typos to translating a full xHTML page there's always editing
paul@838 82 and proofreading to be done. Websites often move and get updated and
paul@838 83 SliTaz home made tools such as TazPanel acquire new strings depending on the new
paul@838 84 functions added to it. Over time we have developed a few ways to let you contact
paul@838 85 us and get involved in the project.
pankso@836 86 </p>
pankso@836 87 <p>
paul@838 88 For sending translations or requesting a new language you can join the
paul@838 89 SliTaz <a href="en/mailing-list.html">Mailing List</a> and/or join the
pankso@836 90 community <a href="http://scn.slitaz.org/groups/i18n/">group on SCN</a>
pankso@836 91 and post to the <a href="http://scn.slitaz.org/groups/i18n/forum/">forum</a>
paul@838 92 which lets you attach files.
pankso@836 93 </p>
pankso@836 94
pankso@836 95 <h3>Website translation</h3>
pankso@836 96
pankso@836 97 <p>
paul@838 98 Here is a howto for translating a SliTaz website into a new language. First
paul@838 99 you need the original website page in English. You have 2 ways to get a full
paul@838 100 copy of the website: use Mercurial and clone the repository or download the
paul@838 101 latest archive in tar.bz2 format. Using Mercurial lets you update your
pankso@836 102 local copy in one command and downloading directly from the repository
paul@838 103 allows you to get the page you want. So it's matter of choice, but if you
pankso@836 104 want to manage a language and push changes yourself, you will have to use
paul@838 105 Mercurial, here is some <a href="en/devel/forge.php">more info on Hg</a>.
pankso@836 106 </p>
pankso@836 107 <p>
pankso@836 108 Clone the website or get the latest archive:
pankso@836 109 </p>
pankso@836 110
pankso@836 111 <pre>
pankso@836 112 $ hg clone http://hg.slitaz.org/website
pankso@898 113 $ wget <a href="http://hg.slitaz.org/website/archive/tip.tar.bz2">http://hg.slitaz.org/website/archive/tip.tar.bz2</a>
pankso@836 114 </pre>
pankso@836 115
pankso@836 116 <p>
paul@838 117 Now that you have a full copy of the website you can fix typos or start a new
paul@838 118 translation. The reference is English, so always copy an English page to
paul@838 119 your native language and naturally keep the website structure intact. When
paul@838 120 you're happy with your work you can send it to the community as
paul@838 121 explained beforehand.
pankso@836 122 </p>
pankso@836 123 <p>
paul@838 124 If you're a bit afraid about sending a mail to more than 300 people on the list
paul@838 125 or becoming exposed on the forum, you can send a private message to one of the i18n
paul@838 126 group members on SCN, but he/she might not have time to answer. Keep in mind we are
paul@838 127 a friendly community and there aren't any stupid questions.
pankso@836 128 </p>
pankso@836 129
pankso@836 130 <h3>System translation</h3>
pankso@836 131
pankso@836 132 <p>
paul@838 133 Like said before, the goal is to provide full language support, not only
paul@838 134 with the website or forum, but with the system itself. Everything can be translated
paul@838 135 from menu items to SHell scripts and GUI boxes. For this we use standard
pankso@836 136 gettext POT files.
pankso@836 137 </p>
pankso@836 138 <p>
paul@838 139 Each translation of a sub-project has its own file named with a language
pankso@910 140 prefix, example: pt_BR.po or fr.po. This PO file can be translated with a nice
paul@838 141 graphical editor like POedit on SliTaz. That means you don't need to have
paul@838 142 programming or Linux skills to help or maintain a translation.
pankso@836 143 </p>
pankso@836 144 <p>
paul@838 145 If a PO file for a language doesn't exist you can create one yourself or
pankso@871 146 ask a contributor to do it for you and commit the new file to Hg. For each
pankso@871 147 project you will find a README file with translation instructions to use
pankso@871 148 msginit and other gettext tools. If you want to update or complete a
pankso@871 149 translation PO file, you can download it from here or from Hg and then
pankso@871 150 send it to the list, the forum or SCN as usual. Note that some projects
pankso@871 151 are contained in the same repository such as tazpkg-notify which is part
pankso@871 152 of tazpkg.
pankso@836 153 </p>
pankso@836 154
pankso@836 155 <style type="text/css">
pankso@836 156 table {
pankso@836 157 width: 100%;
pankso@836 158 border: 1px solid #ddd;
pankso@836 159 padding: 10px;
pankso@836 160 border-radius: 4px;
pankso@836 161 }
pankso@836 162 .thead { font-weight: bold; }
al@1033 163 td { border-bottom: 1pt dashed #ddd }
pankso@836 164 </style>
pankso@836 165
pankso@836 166 <!--
paul@838 167 Here we don't link to old gtkdialog box POT files since they will be
paul@838 168 removed. We may have links to menu files or some explaination about
paul@838 169 menu translations.
pankso@836 170 -->
pankso@836 171
pankso@836 172 <table>
al@1033 173 <thead class="thead">
al@1033 174 <tr>
al@1033 175 <td>Project</td>
al@1033 176 <td>POT file</td>
al@1033 177 <td>PO files</td>
al@1033 178 </tr>
al@1033 179 </thead>
al@1033 180 <tbody>
pankso@836 181 <tr>
pankso@836 182 <td><a href="http://hg.slitaz.org/tazpkg">TazPKG</a></td>
pankso@871 183 <td><a href="http://hg.slitaz.org/tazpkg/raw-file/tip/po/tazpkg/tazpkg.pot">
pankso@871 184 tazpkg.pot</a></td>
pankso@836 185 <td>
al@1033 186 <a href="http://hg.slitaz.org/tazpkg/raw-file/tip/po/tazpkg/es.po">es</a>,
al@1033 187 <a href="http://hg.slitaz.org/tazpkg/raw-file/tip/po/tazpkg/fr.po">fr</a>,
pankso@910 188 <a href="http://hg.slitaz.org/tazpkg/raw-file/tip/po/tazpkg/pt_BR.po">pt_BR</a>
pankso@836 189 </td>
pankso@836 190 </tr>
pankso@836 191 <tr>
pankso@836 192 <td><a href="http://hg.slitaz.org/tazpkg">TazPKG Notify</a></td>
pankso@871 193 <td><a href="http://hg.slitaz.org/tazpkg/raw-file/tip/po/tazpkg-notify/tazpkg-notify.pot">
pankso@871 194 tazpkg-notify.pot</a></td>
pankso@836 195 <td>
al@1033 196 <a href="http://hg.slitaz.org/tazpkg/raw-file/tip/po/tazpkg-notify/fr.po">fr</a>,
pankso@910 197 <a href="http://hg.slitaz.org/tazpkg/raw-file/tip/po/tazpkg-notify/pt_BR.po">pt_BR</a>
pankso@836 198 </td>
pankso@836 199 </tr>
pankso@836 200 <tr>
pankso@836 201 <td><a href="http://hg.slitaz.org/tazpanel">TazPanel</a></td>
pankso@871 202 <td><a href="http://hg.slitaz.org/tazpanel/raw-file/tip/po/tazpanel.pot">
pankso@871 203 tazpanel.pot</a></td>
pankso@836 204 <td>
al@1033 205 <a href="http://hg.slitaz.org/tazpanel/raw-file/tip/po/es.po">es</a>,
al@1033 206 <a href="http://hg.slitaz.org/tazpanel/raw-file/tip/po/fr.po">fr</a>,
pankso@910 207 <a href="http://hg.slitaz.org/tazpanel/raw-file/tip/po/pt_BR.po">pt_BR</a>
pankso@836 208 </td>
pankso@836 209 </tr>
pankso@836 210 <tr>
pankso@871 211 <td><a href="http://hg.slitaz.org/slitaz-tools">SliTaz Tools</a></td>
pankso@910 212 <td><a href="http://hg.slitaz.org/slitaz-tools/raw-file/tip/po/slitaz-tools/slitaz-tools.pot">
pankso@871 213 slitaz-tools.pot</a></td>
pankso@871 214 <td>
al@1033 215 <a href="http://hg.slitaz.org/slitaz-tools/raw-file/tip/po/slitaz-tools/es_AR.po">es_AR</a>,
al@1033 216 <a href="http://hg.slitaz.org/slitaz-tools/raw-file/tip/po/slitaz-tools/fr.po">fr</a>,
pankso@910 217 <a href="http://hg.slitaz.org/slitaz-tools/raw-file/tip/po/slitaz-tools/pt_BR.po">pt_BR</a>
pankso@871 218 </td>
pankso@871 219 </tr>
pankso@871 220 <tr>
pankso@871 221 <td><a href="http://hg.slitaz.org/slitaz-tools">SliTaz Boxes</a></td>
pankso@910 222 <td><a href="http://hg.slitaz.org/slitaz-tools/raw-file/tip/po/slitaz-boxes/slitaz-boxes.pot">
pankso@871 223 slitaz-boxes.pot</a></td>
pankso@871 224 <td>
al@1033 225 <a href="http://hg.slitaz.org/slitaz-tools/raw-file/tip/po/slitaz-boxes/es_AR.po">es_AR</a>,
al@1033 226 <a href="http://hg.slitaz.org/slitaz-tools/raw-file/tip/po/slitaz-boxes/fr.po">fr</a>,
pankso@910 227 <a href="http://hg.slitaz.org/slitaz-tools/raw-file/tip/po/slitaz-boxes/pt_BR.po">pt_BR</a>
pankso@871 228 </td>
pankso@871 229 </tr>
pankso@871 230 <tr>
pankso@836 231 <td><a href="http://hg.slitaz.org/slitaz-tools">TazBox</a></td>
pankso@910 232 <td><a href="http://hg.slitaz.org/slitaz-tools/raw-file/tip/po/tazbox/tazbox.pot">
pankso@871 233 tazbox.pot</a></td>
pankso@836 234 <td>
al@1033 235 <a href="http://hg.slitaz.org/slitaz-tools/raw-file/tip/po/tazbox/es_AR.po">es_AR</a>,
al@1033 236 <a href="http://hg.slitaz.org/slitaz-tools/raw-file/tip/po/tazbox/fr.po">fr</a>,
pankso@910 237 <a href="http://hg.slitaz.org/slitaz-tools/raw-file/tip/po/tazbox/pt_BR.po">pt_BR</a>
pankso@836 238 </td>
pankso@836 239 </tr>
pankso@871 240 <tr>
pankso@871 241 <td><a href="http://hg.slitaz.org/ssfs">Ssfs</a></td>
pankso@910 242 <td><a href="http://hg.slitaz.org/ssfs/raw-file/tip/po/ssfs/ssfs.pot">
pankso@871 243 ssfs.pot</a></td>
pankso@871 244 <td>
pankso@910 245 <a href="http://hg.slitaz.org/ssfs/raw-file/tip/po/ssfs/fr.po">fr</a>
pankso@910 246 </td>
pankso@910 247 </tr>
pankso@910 248 <tr>
pankso@910 249 <td><a href="http://hg.slitaz.org/tazusb">TazUSB</a></td>
pankso@910 250 <td><a href="http://hg.slitaz.org/tazusb/raw-file/tip/po/tazusb/tazusb.pot">
pankso@910 251 tazusb.pot</a></td>
pankso@910 252 <td>
al@1033 253 <a href="http://hg.slitaz.org/tazusb/raw-file/tip/po/tazusb/fr.po">fr</a>,
al@1033 254 <a href="http://hg.slitaz.org/tazusb/raw-file/tip/po/tazusb/pt_BR.po">pt_BR</a>
pankso@910 255 </td>
pankso@910 256 </tr>
pankso@910 257 <tr>
pankso@910 258 <td><a href="http://hg.slitaz.org/tazusb">TazUSB Box</a></td>
pankso@910 259 <td><a href="http://hg.slitaz.org/tazusb/raw-file/tip/po/tazusb-box/tazusb-box.pot">
pankso@910 260 tazusb-box.pot</a></td>
pankso@910 261 <td>
al@1033 262 <a href="http://hg.slitaz.org/tazusb/raw-file/tip/po/tazusb-box/fr.po">fr</a>,
al@1033 263 <a href="http://hg.slitaz.org/tazusb/raw-file/tip/po/tazusb-box/pt_BR.po">pt_BR</a>
pankso@871 264 </td>
pankso@871 265 </tr>
pankso@836 266 </tbody>
pankso@836 267 </table>
pankso@836 268
pankso@769 269 <!-- End of content -->
pankso@769 270 </div>
pankso@769 271
pankso@910 272 <?php include("lib/html/footer.html"); ?>
pankso@769 273
pankso@769 274 </body>
pankso@769 275 </html>