PHP Classes
elePHPant
Icontem

PHP Season of the Year: Get the names of the seasons in several languages

Recommend this page to a friend!
  Info   View files Documentation   View files View files (4)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Last Updated Ratings Unique User Downloads Download Rankings
2017-06-11 (5 months ago) RSS 2.0 feedNot enough user ratingsTotal: 65 All time: 8,974 This week: 587Up
Version License PHP version Categories
season-info-multilin 1.0Custom (specified...5Localization, PHP 5, Time and Date
Description Author

This class can get the names of the seasons in several languages.

It can take as parameter the name of the year season like summer, spring, autumn and winder, and returns the respective name in different languages.

The season name can be retrieved in different languages like arabic, czech, danish, german, english, spanish, french, hebrew, italian, japanese, ducth, portuguese, russian, chinese, etc..

Innovation Award
PHP Programming Innovation award nominee
May 2017
Number 10
As we all know, each season of the year has a name. The name changes from language to language.

This class can get the names of the year seasons in many different languages.

Manuel Lemos
  Performance   Level  
Name: Peter Kahl <contact>
Classes: 32 packages by
Country: Hong Kong Hong Kong
Age: ???
All time rank: 6644 in Hong Kong Hong Kong
Week rank: 23 Up1 in Hong Kong Hong Kong Up
Innovation award
Innovation award
Nominee: 19x

Details

Season-Info-Multilingual

Translates name of season to 16 languages and scripts.

Usage

usee peterkahl\SeasonInfo\SeasonInfo;

echo SeasonInfo::getName('autumn', 'en-us'); # fall

echo SeasonInfo::getName('spring', 'it');    # primavera

  Files folder image Files  
File Role Description
Files folder imagesrc (1 file)
Accessible without login Plain text file composer.json Data Auxiliary data
Accessible without login Plain text file LICENSE Lic. License text
Accessible without login Plain text file README.md Doc. Documentation

  Files folder image Files  /  src  
File Role Description
  Plain text file SeasonInfo.php Class Class source

 Version Control Unique User Downloads Download Rankings  
 100%
Total:65
This week:0
All time:8,974
This week:587Up