Recommend this page to a friend! |
Download |
Info | Documentation | Files | Install with Composer | Download | Reputation | Support forum | Blog | Links |
Ratings | Unique User Downloads | Download Rankings | ||||
33% | Total: 79 | All time: 10,122 This week: 660 |
Version | License | PHP version | Categories | |||
season-info-multilin 1.0 | Custom (specified... | 5 | Localization, PHP 5, Time and Date |
Description | Author | |
This class can get the names of the seasons in several languages. Innovation Award
|
Translates name of season into 19 languages and scripts.
usee peterkahl\SeasonInfo\SeasonInfo;
echo SeasonInfo::getName('autumn', 'en-us'); # fall
echo SeasonInfo::getName('autumn', 'en-gb'); # autumn
echo SeasonInfo::getName('spring', 'it'); # primavera
echo SeasonInfo::getName('spring', 'fr'); # printemps
echo SeasonInfo::getName('spring', 'ru'); # ?????
echo SeasonInfo::getName('spring', 'cy'); # gwanwyn
echo SeasonInfo::getName('spring', 'zh-cn'); # ??
echo SeasonInfo::getName('winter', 'ja'); # ?
Files (4) |
File | Role | Description | ||
---|---|---|---|---|
src (1 file) | ||||
composer.json | Data | Auxiliary data | ||
LICENSE | Lic. | License text | ||
README.md | Doc. | Documentation |
The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page. |
Install with Composer |
season-info-multilin-2020-02-11.zip 6KB | |
season-info-multilin-2020-02-11.tar.gz 6KB | |
Install with Composer |
Version Control | Unique User Downloads | Download Rankings | |||||||||||||||
100% |
|
|
User Ratings | ||||||||||||||||||||||||||||||
|
Applications that use this package |
If you know an application of this package, send a message to the author to add a link here.