Spin-reorientation transitions in intermetallic (Pr1-xSmx)Fe8Ga3C compounds with the tetragonal BaCd11-type structure have been investigated. The magnetic phase diagram has been proposed for these compounds based on magnetic and X-Ray diffraction studies using their nanocrystalline ribbons and powders aligned in a magnetic field. In the concentration range 0 ≤ x ≤ 0.4 the compounds exhibit an «easy-plane» anisotropy at all temperatures of the magnetically ordered state. The magnetic anisotropy of the compounds with 0.5 ≤ x ≤ 1 is of the «easy-cone» type. The SmFe8Ga3C compound with the highest Sm content is a uniaxial ferromagnet with no indications of a spin-reorientation transition below its Curie temperature.