Download Shareware and Freeware Software for Windows, Linux, Macintosh, PDA

line Home  |  About Us  |  Link To Us  |  FAQ  |  Contact

Serving Software Downloads in 956 Categories, Downloaded 50.474.301 Times

Locale::Maketext::Lexicon::Gettext 0.62

  Date Added: September 24, 2010  |  Visits: 856

Locale::Maketext::Lexicon::Gettext

Report Broken Link
Printer Friendly Version


Product Homepage
Download (96 downloads)



Locale::Maketext::Lexicon::Gettext is a Perl module for PO and MO file parser for Maketext. SYNOPSIS Called via Locale::Maketext::Lexicon: package Hello::I18N; use base Locale::Maketext; use Locale::Maketext::Lexicon { de => [Gettext => hello/de.mo], }; Directly calling parse(): use Locale::Maketext::Lexicon::Gettext; my %Lexicon = %{ Locale::Maketext::Lexicon::Gettext->parse( ) }; __DATA__ #: Hello.pm:10 msgid "Hello, World!" msgstr "Hallo, Welt!" #: Hello.pm:11 msgid "You have %quant(%1,piece) of mail." msgstr "Sie haben %quant(%1,Poststueck,Poststuecken)." This module implements a perl-based Gettext parser for Locale::Maketext. It transforms all %1, %2, < %* >... sequences to [_1], [_2], [_*], and so on. It accepts either plain PO file, or a MO file which will be handled with a pure-perl parser adapted from Imacats Locale::Maketext::Gettext. Since version 0.03, this module also looks for %function(args...) in the lexicon strings, and transform it to [function,args...]. Any %1, %2... sequences inside the args will have their percent signs (%) replaced by underscores (_). The name of function above should begin with a letter or underscore, followed by any number of alphanumeric characters and/or underscores. As an exception, the function name may also consist of a single asterisk (*) or pound sign (#), which are Locale::Maketexts shorthands for quant and numf, respectively. As an additional feature, this module also parses MIME-header style metadata specified in the null msgstr (""), and add them to the %Lexicon with a __ prefix. For example, the example above will set __Content-Type to text/plain; charset=iso8859-1, without the newline or the colon. Any normal entry that duplicates a metadata entry takes precedence. Hence, a msgid "__Content-Type" line occurs anywhere should override the above value..

Requirements: No special requirements
Platforms: Linux
Keyword: File File Parser Libraries Localemaketextlexicongettext Module Parser Perl Perl Module Po Programming
Users rating: 0/10

License: Freeware Size: 83.97 KB
USER REVIEWS
More Reviews or Write Review


LOCALE::MAKETEXT::LEXICON::GETTEXT RELATED
Libraries  -  PerlPoint::Parser 0.45
PerlPoint::Parser Perl module is a PerlPoint Parser. SYNOPSIS # load the module: use PerlPoint::Parser; # build the parser and run it # to get intermediate data in @stream my ($parser)=new PerlPoint::Parser; $parser->run( stream =>...
419.84 KB  
Libraries  -  Biblio::Document::Parser 1.10
Biblio::Document::Parser Perl module is a document parsing framework. Biblio::Document::Parser provides generic methods that should be overriden by specific parsers. This class should not be used directly, but rather be overridden by specific...
194.56 KB  
Libraries  -  FrameMaker::MifTree 0.075
FrameMaker::MifTree is a MIF Parser Perl module. SYNOPSIS use FrameMaker::MifTree; my $mif = FrameMaker::MifTree->new; $mif->parse_miffile(filename.mif); @strings = $mif->daughters_by_name(String, recurse => 1); print $strings[0]->string;...
48.13 KB  
Libraries  -  ConfigFile for Haskell 1.0.0
ConfigFile for Haskell is a configuration file parser and writer library for Haskell. The ConfigFile module works with configuration files in a standard format that is easy for the user to edit, easy for the programmer to work with, yet remains...
34.82 KB  
Log Analyzers  -  Multistat 0.1
Multistat is designed to be a flexible log file parser for multiple game servers. Designed with an extensible plugin interface, it is able to process statistics for any game and output them in any format simply by the use of custom modules....
204.8 KB  
Libraries  -  Language::Zcode::Parser 0.8
Language::Zcode::Parser is a Perl module that reads and parses a Z-code file into a big Perl hash. SYNOPSIS # Create a Pure Perl Parser my $pParser = new Language::Zcode::Parser "Perl"; # If they didnt put ".z5" at the end, find it anyway...
296.96 KB  
Libraries  -  File::Find::Rule::XPath 0.03
File::Find::Rule::XPath is a Perl module that contains rule to match on XPath expressions. SYNOPSIS use File::Find::Rule::XPath; my @files = File::Find::Rule->file ->name(*.dkb) ->xpath( //section/title[contains(., "Crustacean")] )...
4.1 KB  
Libraries  -  File::Where 0.05
File::Where is a Perl module to find the absolute file for a program module; absolute dir for a repository. SYNOPSIS ####### # Subroutine interface # use File::Where qw(pm2require where where_dir where_file where_pm where_repository);...
83.97 KB  
Libraries  -  File::Comments::Plugin::Java 0.07
File::Comments::Plugin::Java is a Perl plugin to detect comments in Java source code. SYNOPSIS use File::Comments::Plugin::Java; File::Comments::Plugin::Java is a plugin for the File::Comments framework. Both /* ... */ and // style comments...
12.29 KB  
Libraries  -  FFPOJO - Flat File POJO Parser 0.1
The FFPOJO Project is a Flat-File Parser, POJO based, library for Java applications. IMPORTANT: the source code of this project was migrated to GitHub: https://github.com/gibaholms/ffpojo
56.85 KB  
NEW DOWNLOADS IN PROGRAMMING, LIBRARIES
Programming  -  Cedalion for Linux 0.2.6
Cedalion is a programming language that allows its users to add new abstractions and define (and use) internal DSLs. Its innovation is in the fact that it uses projectional editing to allow the new abstractions to have no syntactic limitations.
471.04 KB  
Programming  -  Math::GMPf 0.29
Math::GMPf - perl interface to the GMP library's floating point (mpf) functions.
30.72 KB  
Programming  -  Net::Wire10 1.08
Net::Wire10 is a Pure Perl connector that talks to Sphinx, MySQL and Drizzle servers. Net::Wire10 implements the low-level network protocol, alias the MySQL wire protocol version 10, necessary for talking to one of the aforementioned...
30.72 KB  
Programming  -  logilab-common 0.56.2
a bunch of modules providing low level functionnalities shared among some python projects devel Please note that some of the modules have some extra dependencies. For instance, logilab.common.db will require a db-api 2.0 compliant...
174.08 KB  
Programming  -  OpenSSL for linux 1.0.0a
The OpenSSL Project is a collaborative effort to develop a robust, commercial-grade, full-featured, and Open Source toolkit implementing the Secure Sockets Layer (SSL v2/v3) and Transport Layer Security (TLS v1) protocols as well as a...
3.83 MB  
Libraries  -  wolfSSL 4.0.0
The wolfSSL embedded SSL/TLS library is a lightweight SSL library written in ANSI standard C and targeted for embedded and RTOS environments - primarily because of its small size, speed, and feature set. It is commonly used in standard operating...
3.88 MB  
Libraries  -  EuGTK 4.8.9
Makes it easy to develop good- looking, fast, cross-platform programs that run on Linux, OS X, and Windows. Euphoria is a very fast interpreted/compiled language with straight-forward syntax. EuGTK allows programming in a clean, object-oriented...
10.68 MB  
Libraries  -  Linux User Group Library Manager 1.0
The LUG Library Manager is a project to help Linux User Groups start their own library. A LUG library is helpful to the community at large because it increases access to information, and gives everyone the opportunity to become more knowledgeable.
5.35 KB  
Libraries  -  Module::MakefilePL::Parse 0.12
Module::MakefilePL::Parse is a Perl module to parse required modules from Makefile.PL. SYNOPSIS use Module::MakefilePL::Parse; open $fh, Makefile.PL; $parser = Module::MakefilePL::Parse->new( join("", ) ); $info = $parser->required;...
8.19 KB  
Libraries  -  sqlpp 0.06
sqlpp Perl package is a SQL preprocessor. sqlpp is a conventional cpp-alike preprocessor taught to understand SQL ( PgSQL, in particular) syntax specificities. In addition to the standard #define/#ifdef/#else/#endif cohort, provides also...
10.24 KB