How can I install es_AR locale on OSX El Capitan? I'm trying to install a locale on OSX (El Capitan) and I can't figure it out.

I've been googling for hours now.

In Ubuntu is as simple as locale-gen and dpkg-reconfigure.

I'm coding a PHP application that uses es_AR as a locale and I can't get my number formatting right.

Works fine in Linux systems.

$ locale -a | grep es
es_ES
es_ES.ISO8859-1
es_ES.ISO8859-15
es_ES.UTF-8
You would set that up in the Languages and Region setting in System Preferences



Under the advanced tab, you can set your number formatting