PerlDoc

See PublishedAPI for packages intended to be used by Plugin and Contrib authors, or browse all packages.
See also Developing plugins, Developer's Bible, Technical Overview


Parent package: Foswiki::I18N
Child packages:

    internal package Foswiki::I18N::Extract

    Support translatable strings extraction from Foswiki topics and templates. Depends on Locale::Maketext::Extract (part of CPAN::Locale::Maketext::Lexicon).

    ClassMethod new ( $session ) → $extract

    Constructor. Creates a fresh new Extract object. A $session object, instance of the Foswiki class, is optional: if it's available, it'll be used for printing warnings.

    ObjectMethod extract ( $file , $text )

    Extract the strings from $text,m using $file as the name of the current file being read (for comments in PO file, for example). Overrides the base class method but calls it so the base behavior is preserved.

    As in base class, extracted strings are just stored in the =$self='s internal table for further use (e.g. creating/updating a PO file). Nothing is returned.

    Kontakt
    Pädagogische Hochschule Schwyz
    Zaystrasse 42
    CH-6410 Goldau
    T +41 41 859 05 90
    info@phsz.ch Dies ist ein Wiki des Fachkerns Medien und Informatik der Pädagogischen Hochschule Schwyz. Für Fragen wenden Sie sich bitte an wikiadmin@phsz.ch
    This page was cached on 07 Feb 2025 - 20:10.
    This website is using cookies. More info. That's Fine