I need to output localized currency names on a webpage.
USD | ameriški dolar
EUR | euro
I can't seem to find a way to do it through the intl library, although the data is present in Unicode CLDR.
E.g. Slovenian http://www.unicode.org/repos/cldr/tags/latest/common/main/sl.xml
Is there any way to use this data, aside from parsing and locally storing data from the remote CLDR XML files for each display language I have?
You may need a library like commerceguys/intl, which has a getName()
method.