Unlike digital current loops, which often involves simple optical isolators, when talking about the Analog industrial control method, the theoretical solution would be to convert the current to a voltage in a range suitable for an ADC chip using a resistor, and adding an external (I2C or SPI (which could be optically isolated) ADC, see picture below) to the PI.