From mboxrd@z Thu Jan 1 00:00:00 1970 Received: by 10.90.92.18 with SMTP id p18cs176633agb; Tue, 6 Oct 2009 13:36:08 -0700 (PDT) Received: by 10.224.39.71 with SMTP id f7mr1803390qae.373.1254861365240; Tue, 06 Oct 2009 13:36:05 -0700 (PDT) Return-Path: Received: from rubyforge.org (rubyforge.org [205.234.109.19]) by mx.google.com with ESMTP id 12si9800893qyk.47.2009.10.06.13.36.04; Tue, 06 Oct 2009 13:36:05 -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 6C3131D7881F; Tue, 6 Oct 2009 16:36:04 -0400 (EDT) Received: from moutng.kundenserver.de (moutng.kundenserver.de [212.227.126.188]) by rubyforge.org (Postfix) with ESMTP id 49C0B18582CE for ; Tue, 6 Oct 2009 16:35:52 -0400 (EDT) Received: from localhost (xdslcv064.osnanet.de [89.166.149.64]) by mrelayeu.kundenserver.de (node=mreu0) with ESMTP (Nemesis) id 0Ly8x7-1MIPuk0q8r-015xao; Tue, 06 Oct 2009 22:35:51 +0200 From: Christopher Bertels To: sup-talk In-reply-to: <1254842820-sup-9099@masanjin.net> 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> Date: Tue, 06 Oct 2009 22:35:46 +0200 Message-Id: <1254861112-sup-590@thinkpad-ubuntu> User-Agent: Sup/git MIME-Version: 1.0 X-Provags-ID: V01U2FsdGVkX19sEbBDBe2iHNIbgQ7bzhkcR7+9eU0XfTh3CGp zoeIq27lLVHTo2FW4uxKNABNaOqLct5TiaVJR6mVBH4AgrezQC eYc3lYT6TcbnxEFCRotLJYZzwixrETe 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="===============1753768910==" Sender: sup-talk-bounces@rubyforge.org Errors-To: sup-talk-bounces@rubyforge.org --===============1753768910== Content-Transfer-Encoding: 8bit Content-Type: multipart/signed; micalg="pgp-sha1"; boundary="=-1254861350-573117-8632-9257-1-="; protocol="application/pgp-signature" --=-1254861350-573117-8632-9257-1-= Content-Type: text/plain; charset=UTF-8 Excerpts from William Morgan's message of Di Okt 06 17:38:39 +0200 2009: > This looks great. A couple comments: Cool, good to know you like it! > 1. I would prefer that uppercase substitution symbols made lowercase. > The uppercase seems weird and un-Rubyish to me. Ok, sounds good. I thought making them uppercase to let them be more distict from the rest of the string but since we surround them by #{} as in Ruby, you're making a good point here. I'll change that. > 2. I think it would be nice to have a simple module along the lines of: > > module M17n > def m s, o={}; I18n[m, o] end > end > > and to have that be the primary entry point when you want a translated > string. Then classes can include that module if they want m17n support, > and instead of writing > > I18n["text", { :var => value }] > > you can have > > m("text", :var => value) > > which is a little easier to read, IMO. Same here. Think this is nicer, too. > 3. Should we call it m17n instead of i18n? I think that might be a > little more accurate. Perhaps too nitpicky. What do you think? I couldn't care less about the name - but I guess m17n fits better, since it's just multilingualization. :) > 4. A finishing touch would be to have sup-config ask the user what > language they are interested in. Alright, cool. I'll add that as well, once I have the rest changed & working. Cheers, Christopher. -- ================================ Christopher Bertels http://www.adztec-independent.de GPG Key ID: 0x2345b203 --=-1254861350-573117-8632-9257-1-= Content-Disposition: attachment; filename="signature.asc" Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) iQIcBAEBAgAGBQJKy6oiAAoJEP8XblsjRbIDGmgQAKSbPdbL4/aVDkYXiXIzdWeT o/ZAu2IAYu1tp7HxUrbKpQUKqq0pwRWy1HABL/PIiYpDSjZkMTBzlqN1g4I3baKk VG6f54u7k6ejMph2hDRXiE5FdmRMBXEU5/cs3EN8sdIFX2EGG3MuofxVL/icxXN+ kAGR1z8xqFp1SMdoZk8ulpnSqnaZ3FhqcT2XOtCklVmRlYWeYhxrzP1B3wiAqILB FMuTgPrepg+VlXGg5XEsCaB4Mv5hpf6+BAJ0ywtc0uJ7SkZjpOp7c3C/sxLABQTH rBHD7RSKHS0nlR1ZZ/dh87f1lVAvR+84bisyaiBEb12/qnccY4Foep9ugXswx67/ w7LXZbivh99nMVhTkVLP85hAnllCKRfuMies6VGl3TYJJtubzx5TzzsGrgiAypFb BmlwbDF+Z7mNYc/gAOJSTRPf9AZFcuN0nt68sBIK6H4fT8zQiAs2zL5hSFn5N6eI IhvNteH9M7ez09rokASNesv5rOD9hLzaUn+Hfh4pq3xywqnReTH/XM5SVgbn9S33 9fT7kzocWJGC5HnC5JdGHOfg44OqE6i5hSq5w34CK41uTwaKUHkgDcmKkPrjwh/k h7y9Ml9YuI97Fuqu4WSPZKwNyzzBYI4gIa4/VeZTNwFsmQc3S7uQqSuoaU1h9cM4 xNZHT4LEeuLmQHWiXGPN =+qhz -----END PGP SIGNATURE----- --=-1254861350-573117-8632-9257-1-=-- --===============1753768910== 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 --===============1753768910==--