Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Message from discussion Archivos .po

Received: by 10.100.244.5 with SMTP id r5mr673323anh.7.1332282060973;
        Tue, 20 Mar 2012 15:21:00 -0700 (PDT)
X-BeenThere: php-arg@googlegroups.com
Received: by 10.236.86.115 with SMTP id v79ls912699yhe.2.gmail; Tue, 20 Mar
 2012 15:21:00 -0700 (PDT)
Received: by 10.100.253.1 with SMTP id a1mr625937ani.10.1332282060447;
        Tue, 20 Mar 2012 15:21:00 -0700 (PDT)
Received: by 10.100.253.1 with SMTP id a1mr625936ani.10.1332282060431;
        Tue, 20 Mar 2012 15:21:00 -0700 (PDT)
Return-Path: <ked...@gmail.com>
Received: from mail-yw0-f49.google.com (mail-yw0-f49.google.com [209.85.213.49])
        by gmr-mx.google.com with ESMTPS id e44si1721154yhk.0.2012.03.20.15.21.00
        (version=TLSv1/SSLv3 cipher=OTHER);
        Tue, 20 Mar 2012 15:21:00 -0700 (PDT)
Received-SPF: pass (google.com: domain of ked...@gmail.com designates 209.85.213.49 as permitted sender) client-ip=209.85.213.49;
Authentication-Results: gmr-mx.google.com; spf=pass (google.com: domain of ked...@gmail.com designates 209.85.213.49 as permitted sender) smtp.mail=ked...@gmail.com; dkim=pass header...@gmail.com
Received: by yhjj52 with SMTP id j52so654050yhj.36
        for <php-arg@googlegroups.com>; Tue, 20 Mar 2012 15:21:00 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=gmail.com; s=20120113;
        h=message-id:date:from:user-agent:mime-version:to:subject:references
         :in-reply-to:content-type:content-transfer-encoding;
        bh=F/jEDJWBhil0KK3K2qz5fuXyMKtby+VR620k79u05H0=;
        b=pLotFtcx+scaXaxKVrlpzq8RDj+vA89MBlPlO4DuP7NZKI403iT3Qy7RMl2qLFPvCc
         RAq2L27af43ZHLtlE5wxZ+iyzLRohRmdTx7YlWoGg0CkcXmWaBrRwNAEegrGr36ZPlcp
         cRBov977H7QVxcaNczIa9J2HMn2rJr2lVOU23bb+AySZm2gXvJtJdhfJ1r+LPl1sUKsz
         Yjo6U+Bd2gI9Yu4rErxKwSmNlX94ulEq6Zs2cxwXjO0hj5Mor1XYeeju92q/KQveoSO5
         kF3H1g5u5hjAg7OEENCTolfhr0uDfDzRzDmluu0D4+zeMgYbfrRvXiY/MjEhgNd/a0f8
         hozg==
Received: by 10.100.233.35 with SMTP id f35mr530375anh.37.1332282060331;
        Tue, 20 Mar 2012 15:21:00 -0700 (PDT)
Return-Path: <ked...@gmail.com>
Received: from ?IPv6:2001:470:5:60d:227:eff:fe03:da90? ([2001:470:5:60d:227:eff:fe03:da90])
        by mx.google.com with ESMTPS id p49sm7329424yhj.6.2012.03.20.15.20.57
        (version=SSLv3 cipher=OTHER);
        Tue, 20 Mar 2012 15:20:58 -0700 (PDT)
Message-ID: <4F6902C6.7080...@gmail.com>
Date: Tue, 20 Mar 2012 19:20:54 -0300
From: Tordek <ked...@gmail.com>
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:8.0) Gecko/20120216 Icedove/8.0
MIME-Version: 1.0
To: php-arg@googlegroups.com
Subject: Re: [php-arg] Archivos .po
References: <CABVXsvOg7YHkRsxVmeMXCzcVkxEphOP3zsq=ZUMi3+hNj02...@mail.gmail.com> <4F68DC9D.3080...@gmail.com> <CAA36WgTzMu5Vp5y5PKatGcB7rJ2zo5xyYhd-kx5zaa=E5LA...@mail.gmail.com>
In-Reply-To: <CAA36WgTzMu5Vp5y5PKatGcB7rJ2zo5xyYhd-kx5zaa=E5LA...@mail.gmail.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 8bit

On 20/03/12 18:40, Camello Ar wrote:
> Otro problema que vi con los PO (al menos en la forma que los
> trabaja WP) es que cada uso del string est� indicado en la forma
> archivo:linea, con lo cual con reescrituras de c�digo hay que editar
> todos los PO para adaptarlos a las nuevas lineas
>
> Ejemplo
> #: 404.php:15
> #: theloop.php:147
> msgid "Oh no! You're looking for something which just isn't here!
> Fear not however, errors are to be expected, and luckily there are
> tools on the sidebar for you to use in your search for what you need."
> msgstr ""

Esos son comentarios, para darte un poco de contexto de d�nde se 
usan (y, en menor medida, para darte una referencia de d�nde se 
usan, para ver que no repitas por error un string, o para hallar 
typos). El .po original se extrae con una herramienta (que, 
desafortunadamente, no pude encontrar c�mo se llama): se le pasa 
como par�metro el directorio del proyecto, y extrae todos los 
strings envueltos en _(), ngettext(), gettext(), y familia.


-- 
Guillermo O. �Tordek� Freschi. Programador, Escritor, Genio Maligno.
http://tordek.com.ar :: http://twitter.com/tordek