[dev] Gettext strings in framework packages

Jan Schneider jan at horde.org
Tue Jul 14 17:03:14 UTC 2009


Zitat von Michael M Slusarz <slusarz at horde.org>:

> Quoting Jan Schneider <jan at horde.org>:
>
>>> What if we kept the strings, but removed the gettext dependency?  
>>> We could still use gettext in Horde itself, building the catalogs  
>>> there? We could have a simple Horde_Translation framework that the  
>>> packages used to manage their strings, and build application-level  
>>> catalogs for more traditional Horde usage...
>>
>> We would lose one of the major benefits of using gettext if we did  
>> this, unless I misunderstood you. If we don't use gettext calls  
>> inside the code, all the gettext tools that extract strings from  
>> the files, and link strings in po files back to the source code,  
>> stop working.
>
> My understanding was that Chuck wanted to keep the _("") strings in  
> the framework libs and simply remove the gettext dependency in the  
> package.xml files.

Using _() we *do* have a gettext dependency, unless we include a stub  
function with every package.

Jan.

-- 
Do you need professional PHP or Horde consulting?
http://horde.org/consulting/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: Digitale PGP-Unterschrift
URL: <http://lists.horde.org/archives/dev/attachments/20090714/84bfa931/attachment.bin>


More information about the dev mailing list