Nick Apostolakis wrote:

> Hello,
> 
> I discovered a broken link in my lyx web site mirror
> 
> The broken link is  http://www.gr.lyx.org/LGT/
> 
> since I user rsync to synchronize with the main web site what would
> be the cause of the problem.
> Any ideas?
> Have you upgraded your php recently and so my parser is older?

Lars has done some internationalization work in this directory recently.

LGT/index.php3 begins:
 1      <?php
 2
 3      require_once("lgt.inc");
 4      require_once("l10n.inc");
 5
 6      // What's the title of the page?
 7      $title = _("The Graphical Tour (1/5)");
 8      // Who is the author?
 9      $author="lyx-devel@lists.lyx.org";

The _("...") is a GNU gettext function. Read about php-gettext here
   http://savannah.nongnu.org/projects/php-gettext/?reload=1&;
and here
   http://docs.php.net/en/ref.gettext.html
In particular:
   To include GNU gettext support in your PHP build you must add the option
--with-gettext[=DIR] where DIR is the gettext install directory, defaults
to /usr/local.

-- 
Angus

Reply via email to