list_locales Oct 05, 2012 / Updated: May 07, 2018
This function will parse a given HTTP Accepted language instruction(or retrieve it from $_SERVER if not provided) and will return a sorted array. For example, it will parse fr;en-us;q=0.8
Thanks to Fredbird.org for this code.
This extension has been abandoned by the ZenphotoCMS team and we provide it for archival purposes on our "unsuppported-plugins-offical" GitHub repository "as is". .