Data::Localize::Gettext - Acquire Lexicons From .po Files


Data-Localize documentation  | view source Contained in the Data-Localize distribution.

Index


NAME

Top

Data::Localize::Gettext - Acquire Lexicons From .po Files

DESCRIPTION

Top

METHODS

Top

format_string($lang, $value, @args)

Formats the string

add_path($path, ...)

Adds a new path where .po files may be searched for.

get_lexicon($lang, $id)

Gets the specified lexicon

set_lexicon($lang, $id, $value)

Sets the specified lexicon

merge_lexicon

Merges lexicon (may change...)

get_lexicon_map($lang)

Get the lexicon map for language $lang

set_lexicon_map($lang, \%lexicons)

Set the lexicon map for language $lang

load_from_file

Loads lexicons from specified file

load_from_path

Loads lexicons from specified path. May contain glob()'able expressions.

register

Registers this localizer

parse_metadata

Parse meta data information in .po file

UTF8

Top

Currently, strings are assumed to be utf-8,

AUTHOR

Top

Daisuke Maki <daisuke@endeworks.jp>

Parts of this code stolen from Locale::Maketext::Lexicon::Gettext.

COPYRIGHT

Top


Data-Localize documentation  | view source Contained in the Data-Localize distribution.