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

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

Serving Software Downloads in 976 Categories, Downloaded 29.545.427 Times

Locale::Maketext::Simple 0.18

  Date Added: July 01, 2010  |  Visits: 595

Locale::Maketext::Simple

Report Broken Link
Printer Friendly Version


Product Homepage
Download (73 downloads)

Locale::Maketext::Simple is a simple interface to Locale::Maketext::Lexicon. SYNOPSIS Minimal setup (looks for auto/Foo/*.po and auto/Foo/*.mo): package Foo; use Locale::Maketext::Simple; # exports loc loc_lang(fr); # set language to French sub hello { print loc("Hello, [_1]!", "World"); } More sophisticated example: package Foo::Bar; use Locale::Maketext::Simple ( Class => Foo, # search in auto/Foo/ Style => gettext, # %1 instead of [_1] Export => maketext, # maketext() instead of loc() Subclass => L10N, # Foo::L10N instead of Foo::I18N Decode => 1, # decode entries to unicode-strings Encoding => locale, # but encode lexicons in current locale # (needs Locale::Maketext::Lexicon 0.36) ); sub japh { print maketext("Just another %1 hacker", "Perl"); } This module is a simple wrapper around Locale::Maketext::Lexicon, designed to alleviate the need of creating Language Classes for module authors. If Locale::Maketext::Lexicon is not present, it implements a minimal localization function by simply interpolating [_1] with the first argument, [_2] with the second, etc. Interpolated function like [quant,_1] are treated as [_1], with the sole exception of [tense,_1,X], which will append ing to _1 when X is present, or appending ed to <_1> otherwise..

Requirements: No special requirements
Platforms: Linux
Keyword: Interface Libraries Loc Localemaketextsimple Programming Simple Simple Interface
Users rating: 0/10

License: Freeware Size: 16.38 KB
LOCALE::MAKETEXT::SIMPLE RELATED
Libraries  -  Plugin::Installer 0.04
Plugin::Installers goal is to provide a simple, flexable interface for developing plugin languages. SYNOPSIS package Myplugin; use base qw( Plugin::Installer Plugin::Language::Foobar ); ... my $plugin = Myplugin->construct; #...
12.29 KB  
Development Tools  -  RPy (R from Python) 1.0.3
RPy is a very simple, yet robust, Python interface to the R Programming Language. It can manage all kinds of R objects and can execute arbitrary R functions (including the graphic functions). All errors from the R language are converted to Python...
 
Networking Tools  -  IFMonitor 0.1.0
IFMonitor is a simple network interface monitor for KDE. With IFMontor you can see how you are using your network bandwidth. It depends by QWT library, by Uwe Rathmann and Josef Wilgen.
1003.52 KB  
Network & Internet  -  PhpWebGallery 1.7.0
PhpWebGallery is an image gallery with a very simple installation interface and administration panel. PhpWebGallery features free or restricted access, user management, groups, access management for each category, multi-server support (to store...
552.96 KB  
Database Tools  -  PHP common DB interface 0.0.3
PHP common DB interface is a database programming API. It provides a collection of functions who will act as an upper layer of the PHP native database calls, to make less troublesome the porting of same application to different underlying...
 
Libraries  -  Simple Sockets Library 7c
Simple Sockets Library provides a simple C programming interface to sockets. The Simple Sockets Library makes sockets easy to use and comes as public domain source code. It resembles Cs file I/O, uses whatever port is available, has named...
184.32 KB  
Libraries  -  PGPLOT::Simple 0.05
PGPLOT::Simple is a simple Perl Interface to PGPLOT. SYNOPSIS use strict; use PGPLOT::Simple qw(:essential); die "Must provide a filename.n" unless @ARGV; my $filename = shift; chomp $filename; unless ( $filename =~ /.ps$/ ) {...
33.79 KB  
Libraries  -  SWISH::HiLiter 0.04
SWISH::HiLiter is a simple Perl interface to SWISH::API and HTML::HiLiter. SYNOPSIS my $query = "foo OR bar"; require SWISH::API; my $swish = SWISH::API->new( my_index ); require SWISH::HiLiter; # create an object my $hiliter =...
12.29 KB  
Libraries  -  Audio::TagLib::AudioProperties 1.42
Audio::TagLib::AudioProperties is a simple, abstract interface to common audio properties. DESCRIPTION The values here are common to most audio formats. For more specific, codec dependant values, please see see the subclasses APIs. This is...
1.4 MB  
Libraries  -  ExtUtils::F77 1.15
ExtUtils::F77 is a simple Perl interface to F77 libs. This module tries to figure out how to link C programs with Fortran subroutines on your system. Basically one must add a list of Fortran runtime libraries. The problem is their location and...
10.24 KB  
NEW DOWNLOADS IN PROGRAMMING, LIBRARIES
Programming  -  FLEX-db Digital Asset Manager 3.0.9
FLEX-db - an enterprise Digital Asset Manager (DAM). It ingests and links metadata with files, creates thumbnails, and processes files using business rules. FLEX-db has a JSP client, Java app server for file input and output and an EJB metadata...
21.57 MB  
Programming  -  Libicom 0.9.0
The libicom library is a character based dynamicly linked library for Linux. It is used to remotely control the Icom IC-R8500 wide band receiver via an RS232 link. All call and return parameters to the control functions are character string based....
20.48 KB  
Programming  -  dotdesktop 0.3
Dotdesktop library provides ability to parse desktop entry file and access the information in a convenient way. Desktop entry file format is defined by freedesktop.org, it is used to describe information about an application such as the name and...
327.68 KB  
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  -  libyasl 0.2
Libyasl is a C++ class library to easily realize TCP/UDP/Multicast clientsand servers in IPv4 and IPv6 environments under GNU/Linux systems.
143.36 KB  
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  
Libraries  -  App::SimpleScan::Substitution::Line 2.02
App::SimpleScan::Substitution::Line is a line with optional fixed variable values. SYNOPSIS my $line = App::SimpleScan::Substitution::Line->new(" this "); # Use only this value when substituting " ". $line->fix(substituite =>...
54.27 KB