Upvote:1
According to schengen visa rules you can only apply through embassy/consulate which is your main destination.In your case your main destination is Germany and you can only apply from Germany. Also Switzerland and Spain Will not accept your application because your are staying only 2 days there. You can apply from France if you are spending more days in France. Or France is your first port of entry and you are spending equal number of days in each schengen country. I can suggest you to split and show maximum number of days in France and Germany equally and apply from France. This is the only way France would accept your application