From mboxrd@z Thu Jan 1 00:00:00 1970 Received: by 10.90.117.16 with SMTP id p16cs456715agc; Mon, 2 Nov 2009 04:16:12 -0800 (PST) Received: by 10.224.44.89 with SMTP id z25mr2826079qae.153.1257164171947; Mon, 02 Nov 2009 04:16:11 -0800 (PST) Return-Path: Received: from rubyforge.org (rubyforge.org [205.234.109.19]) by mx.google.com with ESMTP id 42si489402qyk.64.2009.11.02.04.16.11; Mon, 02 Nov 2009 04:16:11 -0800 (PST) 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 685533C805A; Mon, 2 Nov 2009 07:16:11 -0500 (EST) Received: from entry.masanjin.net (masanjin.net [209.20.72.13]) by rubyforge.org (Postfix) with ESMTP id 143EA18582CE for ; Mon, 2 Nov 2009 07:12:42 -0500 (EST) Received: from w by entry.masanjin.net with local (Exim 4.69) (envelope-from ) id 1N4vm5-0006vL-RX for sup-talk@rubyforge.org; Mon, 02 Nov 2009 04:12:41 -0800 From: William Morgan To: sup-talk In-reply-to: <1256295847-sup-9437@viajero> 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> <1256280223-sup-736@tilus.net> <1256295847-sup-9437@viajero> Date: Mon, 02 Nov 2009 04:12:41 -0800 Message-Id: <1257163780-sup-1357@masanjin.net> User-Agent: Sup/git 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: , MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: sup-talk-bounces@rubyforge.org Errors-To: sup-talk-bounces@rubyforge.org Reformatted excerpts from Fabio Riga's message of 2009-10-23: > Well, I finally read the code and I agree with Tero. I also think that > the use of gettext will be simpler for both developer and translator. > In this way, every time a developer add a new string he need to write > it twice, or another developer has to hack it. Instead with gettext > the developer write his string, surrounded with _() or n_() and he's > done (tell me, if I'm wrong). Tero's comment wasn't about gettext, as far as I understand it. There are Ruby gettext bindings but they look like a pain in the ass to use, and it's pretty trivial to replace it a language like Ruby. > Furthermore people used to .po files (like me) will know what to do > and are already provided with tools for that purpose (i.e. Vim :-) ). That is a downside, definitely. > Can anyone explain me where and why a translated string in the UI should be > searchable with a regular expression? (Maybe this question is due to the > fact that I still don't understand sup internals...) I believe he was thinking about something like git grep. You see a weird message displayed by Sup, you want to find the code that's generating it, you can git grep the source for the message directly. -- William _______________________________________________ sup-talk mailing list sup-talk@rubyforge.org http://rubyforge.org/mailman/listinfo/sup-talk