How to use the language code within the pipeline components?

Hi,

In this part of the documentation: Language Support (rasa.com) it is mentioned, that one can specify the two-letter language code in the config.yml.

But how this language code will be used? How the (custom) pipeline components get access to this value? How is it possible to define nlu data samples or domain responses for a given language?

Thanks for any info!