Name

Google::Translate::Languages - The languages supported by Google Translate.

Synopsis

Produces a list of all the languages currently supported by Google Translate.

my @l = grep {$$_[0] =~ m(spanish)i}
        &Google::Translate::Languages::supportedLanguages;

say STDERR dump(@l);

# ["Spanish", "es", "spa"]

Returns an array of:

[Language name, ISO639 2 character code, and ISO639 3 character code]

describing the languages currently supported by Google Translate as listed on:

https://en.wikipedia.org/wiki/Google_Translate#Supported_languages

The language codes corresponding to each language are produced via: ISO::639

Description

The following sections describe the methods in each functional area of this module. For an alphabetic listing of all methods by name see Index.

Languages and codes

[Language name, ISO639 2 character code, and ISO639 3 character code] in English for languages supported by Google Translate

supportedLanguages()

[Language name, ISO639 2 character code, and ISO639 3 character code] in English for languages supported by Google Translate

This is a static method and so should be invoked as:

Google::Translate::Languages::supportedLanguages

Index

1 supportedLanguages

Installation

This module is written in 100% Pure Perl and, thus, it is easy to read, use, modify and install.

Standard Module::Build process for building and installing modules:

perl Build.PL
./Build
./Build test
./Build install

Author

philiprbrenan@gmail.com

http://www.appaapps.com

Copyright

Copyright (c) 2016-2017 Philip R Brenan.

This module is free software. It may be used, redistributed and/or modified under the same terms as Perl itself.