Skip to content

Latest commit

 

History

History
43 lines (18 loc) · 547 Bytes

LocaleTool.md

File metadata and controls

43 lines (18 loc) · 547 Bytes

LocaleTool

2017-10-28

This class contains functions to help with some locale tasks.

getCountryAlpha3CodeByAlpha2Code

2017-10-28

str|mixed    getCountryAlpha3CodeByAlpha2Code (str:alpha2Code, mixed:default = "USA")

Return the ISO 3166-1 alpha-3 code from an ISO 3166-1 alpha-2 code.

getLangIso639_1ByIso639_2

2017-11-01

str|mixed    getLangIso639_1ByIso639_2 (str:iso639_2Code, mixed:default = "eng")

Return the ISO 639-1 code from an ISO 639-2 code.