From mboxrd@z Thu Jan 1 00:00:00 1970 Received: by 10.90.117.16 with SMTP id p16cs412590agc; Wed, 21 Oct 2009 11:47:27 -0700 (PDT) Received: by 10.224.33.7 with SMTP id f7mr4117216qad.42.1256150846756; Wed, 21 Oct 2009 11:47:26 -0700 (PDT) Return-Path: Received: from rubyforge.org (rubyforge.org [205.234.109.19]) by mx.google.com with ESMTP id 42si18833361qyk.30.2009.10.21.11.47.26; Wed, 21 Oct 2009 11:47:26 -0700 (PDT) Received-SPF: pass (google.com: domain of sup-talk-bounces@rubyforge.org designates 205.234.109.19 as permitted sender) client-ip=205.234.109.19; Authentication-Results: mx.google.com; spf=pass (google.com: domain of sup-talk-bounces@rubyforge.org designates 205.234.109.19 as permitted sender) smtp.mail=sup-talk-bounces@rubyforge.org Received: from rubyforge.org (rubyforge.org [127.0.0.1]) by rubyforge.org (Postfix) with ESMTP id 6786D1D7885F; Wed, 21 Oct 2009 14:47:26 -0400 (EDT) Received: from moutng.kundenserver.de (moutng.kundenserver.de [212.227.17.9]) by rubyforge.org (Postfix) with ESMTP id CED2F1858282 for ; Wed, 21 Oct 2009 14:37:46 -0400 (EDT) Received: from localhost (xdslhp233.osnanet.de [89.166.253.233]) by mrelayeu.kundenserver.de (node=mrbap1) with ESMTP (Nemesis) id 0MCwZH-1N8go61VNT-009pKt; Wed, 21 Oct 2009 20:37:45 +0200 From: Christopher Bertels To: sup-talk In-reply-to: <1256127705-sup-5539@doma> References: <1254353101-sup-1021@thinkpad-ubuntu> <1254415145-sup-635@masanjin.net> <1254420802-sup-3742@thinkpad-ubuntu> <1254421405-sup-8083@masanjin.net> <1254442420-sup-3771@thinkpad-ubuntu> <1254487575-sup-5468@thinkpad-ubuntu> <1254758256-sup-7400@thinkpad-ubuntu> <1254842820-sup-9099@masanjin.net> <1254861112-sup-590@thinkpad-ubuntu> <1254866136-sup-6974@thinkpad-ubuntu> <1256041985-sup-5427@thinkpad-ubuntu> <1256127705-sup-5539@doma> Date: Wed, 21 Oct 2009 20:37:34 +0200 Message-Id: <1256149858-sup-8291@thinkpad-ubuntu> User-Agent: Sup/git MIME-Version: 1.0 X-Provags-ID: V01U2FsdGVkX1/dWgqT7Oj3VpHiBCSJqi87lRlYyVUBEpodZ6i gYh/UnwSKzFJ6pxUuRmU2MugWSbW7j7B8ZLn7LCNU/KKtxkzBF TAOiWUj0f9Vq1SPMXc6xCiijKLyNoy3 Subject: Re: [sup-talk] i18n? X-BeenThere: sup-talk@rubyforge.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: User & developer discussion of Sup List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: multipart/mixed; boundary="===============2093119406==" Sender: sup-talk-bounces@rubyforge.org Errors-To: sup-talk-bounces@rubyforge.org --===============2093119406== Content-Transfer-Encoding: 8bit Content-Type: multipart/signed; micalg="pgp-sha1"; boundary="=-1256150264-737011-7931-7157-2-="; protocol="application/pgp-signature" --=-1256150264-737011-7931-7157-2-= Content-Type: text/plain; charset=UTF-8 Excerpts from Fabio Riga's message of Mi Okt 21 14:29:59 +0200 2009: > Well, I'm really interested, but I'm just a user. I could only make > Italian translation, but how? Is it a normal gettext .po file? What I > have to do? Get my sup clone git repository at gitorious: $ git clone git://gitorious.org/~bakkdoor/sup/bakkdoors-clone.git Then, checkout the i18n branch. $ cd bakkdoors-clone $ git checkout i18n Then have a look at the m17n folder. You should find a de.yaml and en.yaml file. They are for german and english translations. You can create your own translation files in there. For example, fr.yaml for french or it.yaml for italian. Have a look at en.yaml to see, what the original texts are (in english) and come up with your own translation. That's basically it. Then, if you have sup set up to run from that branch, you can set within your sup config file (~/.sup/config.yaml) to use any language, e.g.: :language: de for german. Sup will then look into the m17n folder for a file called "de.yaml" I hope that helped. Cheers, Christopher. -- ================================ Christopher Bertels http://www.adztec-independent.de GPG Key ID: 0x2345b203 --=-1256150264-737011-7931-7157-2-= Content-Disposition: attachment; filename="signature.asc" Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) iQIcBAEBAgAGBQJK31TuAAoJEP8XblsjRbID4ygQAK3RrTtXnZ5HPzqr3l6cOiZQ MmWU+q5ehm+M18CrOhA3cSZr3c6887PqXbPPTMAm32d/o0xwy+fyohwuAhyXZVOT /SPPABjfJqCO1qszsZTDhT0B8gZMWJmCDpl5mw2JFc3lf+xGFqAe2oucBElFIbj6 bjmzAcpUXAVAbTbu5udVlvSczO4kggptPu6oXK8g9zustZtiean0wUyqa0WWGCxz sJRZcy8ygzVr/g2WaDb1OhjQcwBZ6JJLuhNNzATJyJeavwVLMGah5WsNj99//x4O mFuV6R1BVkWqPKj8J6wXBRn+xR4ND0pYoLW78rMmui8XVIEWzMQ/rrGFNmjcSKpS eCEu59QFvz6SM4ltStiKep/3J/FpWi4XlbbsSphuWUcouEs3SBtpQ4PZ62Jo1lLr Vtf2ylT1D8FPE+lPHNY3WhR53whpWcTkFQLASPeSPzONUZIJ8nHyRzjINcQkkZ9r aN5FrwO9eZPNnmhNyuAsnG/53wtHOEq/pNP93uWGvEtpta9/hRARmyt4mZxqm2DS IhKE37IhkDawF6uPthNkR5c3JYiTi+PedBymxaPYx/NxRZl+z2U5Xaz/LcsgbE/I oJXYctIGYBPcAgO3B+fBl+KCe9+b8HMHyK8FShbMGi4nMPO/431sjVf2KwFMJKDd DzRSq3dNLa5eVtuRGU6+ =Y0Zn -----END PGP SIGNATURE----- --=-1256150264-737011-7931-7157-2-=-- --===============2093119406== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ sup-talk mailing list sup-talk@rubyforge.org http://rubyforge.org/mailman/listinfo/sup-talk --===============2093119406==--