Recommend this page to a friend! |
Classes of Rafael Martin Soto | GoogleTrnsltr PHP Google Translate API Library | README.md | Download |
|
DownloadGoogleTrnsltr. PHP Class to translate texts with Google Translator ApiBEWARE: Google Translator API is a PAYMENT Service of Google V.1.0.0Source donated by https://bio-farma.es # REQUERIMENTS:
# FILES: There are 2 basic files: GoogleTrnsltr.class.php -> Master class. This file is the main file that you need to include in your code. example.php -> example file # INSTALLATION: A lot of easy :smiley:. It is written in PURE PHP. Only need to include the files. Tested on basic PHP installation
# BASIC USAGE:
RESUME OF METHODS:
$GoogleTrnsltr= new GoogleTrnsltr( 'YOUR-API-KEY' ); // See https://cloud.google.com/translate/docs/setup Example:
tnrltSrcTgt( $q, $source, $target, $utf8Format = true ); Example:
Of course. You can use it freely :vulcan_salute::alien: By Rafa. @author Rafael Martin Soto @author {@link http://www.inatica.com/ Inatica} @blog {@link https://rafamartin10.blogspot.com/ Rafael Martin's Blog} @link https://bio-farma.es @since DECEMBER 2021 @version 1.0.0 @license GNU General Public License v3.0 |