docs: function _setup_locale(name, parent_name, opts) {
  
  	/** Copy objects */
  	function copy_obj(obj) {
  		// FIXME: This is not the best way to copy an object.
  		return JSON.parse(JSON.stringify(obj));
  	}
  
  	var obj = copy_obj(_locales[parent_name]);
  	opts = copy_obj(opts);
  	ARRAY(Object.keys(_locales.$def)).forEach(function(key) {
  		obj[key] = opts[key] || obj[key] || _locales.$def[key];
  	});
  	_locales[name] = obj;
  	return obj;
  }