SEARCH
NEW RPMS
DIRECTORIES
ABOUT
FAQ
VARIOUS
BLOG
DONATE




YUM REPOSITORY

 
 

Locale::Language

Section: User Contributed Perl Documentation (3)
Updated: 2018-03-01
Index 

NAME

Locale::Language - module for dealing with language code sets 

SYNOPSIS

   use Locale::Language;   $name = code2language(CODE);   $code = language2code(NAME);   @codes   = all_language_codes();   @names   = all_language_names();
 

DESCRIPTION

This module provides access to language code sets.

Please refer to the Locale::Codes::Types document for a descriptionof the code sets available.

Most of the routines take an optional additional argument whichspecifies the code set to use. The code set can be specified using thename of a code set, or the perl constant specified in the abovedocument. If not specified, the default code set will be used. 

ROUTINES

All routines in this module call the appropriate method in theLocale::Codes module, using an object of type: languagePlease refer to the documentation of the Locale::Codes modulefor details about each function.

The following functions are exported automatically:

code2language(CODE [,CODESET] [,'retired'])
See code2name in Locale::Codes
language2code(NAME [,CODESET] [,'retired'])
See name2code in Locale::Codes
language_code2code(CODE ,CODESET ,CODESET2)
See code2code in Locale::Codes
all_language_codes([CODESET] [,'retired'])
See all_codes in Locale::Codes
all_language_names([CODESET] [,'retired'])
See all_names in Locale::Codes

The following functions are not exported and must be called fullyqualified with the package name:

Locale::Language::show_errors(FLAG)
By default, invalid input will produce empty results, but no errors. Bypassing in a non-zero value of FLAG, errors will be produced.

See show_errors in Locale::Codes but note that the default forthe non-OO modules are to NOT produce errors.

Locale::Language::rename_language(CODE ,NEW_NAME [,CODESET])
See rename_code in Locale::Codes
Locale::Language::add_language(CODE ,NAME [,CODESET])
See add_code in Locale::Codes
Locale::Language::delete_language(CODE [,CODESET])
See delete_code in Locale::Codes
Locale::Language::add_language_alias(NAME ,NEW_NAME)
See add_alias in Locale::Codes
Locale::Language::delete_language_alias(NAME)
See delete_alias in Locale::Codes
Locale::Language::rename_language_code(CODE ,NEW_CODE [,CODESET])
See replace_code in Locale::Codes
Locale::Language::add_language_code_alias(CODE ,NEW_CODE [,CODESET])
See add_code_alias in Locale::Codes
Locale::Language::delete_language_code_alias(CODE [,CODESET])
See delete_code_alias in Locale::Codes
 

SEE ALSO

Locale::Codes
The Locale-Codes distribution.
 

AUTHOR

See Locale::Codes for full author history.

Currently maintained by Sullivan Beck (sbeckAATTcpan.org). 

COPYRIGHT

   Copyright (c) 2011-2018 Sullivan Beck

This module is free software; you can redistribute it and/ormodify it under the same terms as Perl itself.


 

Index

NAME
SYNOPSIS
DESCRIPTION
ROUTINES
SEE ALSO
AUTHOR
COPYRIGHT

This document was created byman2html,using the manual pages.