Both Calafia and California most likely came from the Arabic word khalifa which means steward,[b] successor or leader. The same word in Spanish was califa, easily made into California to stand for "land of the caliph" (خلیف), or Calafia to stand for "female".
Source
I know this doesn't have any relation to the objective of your post bug found it interesting so posting...