I have created English and Spanish language file for my Joomla component but when I trying to change Joomla default language then my Spanish language file not working or not overwrite . Please give me an suggestion, How I can fix this?
Show us some code for Your language file.
Probably Your language file isn't loading. Go to Global Configuration > System > Debug Language > ON. Now You'll see which language files are loaded.