I tried to get the value with (what didn't work):
{{ paragraph.activeLangcode }} {{ paragraph.activeLangcode.value }}
Get the language of the paragraph entity through the method language() in a preprocess hook:
function mytheme_preprocess_paragraph(&$variables) {
$variables['lang_id'] = $variables['paragraph']->language()->getId();
}
For a Twig only solution you would need to adjust the twig sandbox policy, see Language name of translated node
Didn't work for me; So I used this method:
{% set language = content.field_title['#language'] %}