I have try many way but didn't work want to convert this php code in to twig code.
<?php echo $dynamic[$language[language_id]][header]; ?>
Please help me with that
It seems like what you are looking for is the attribute() function:
{{ attribute(dynamic, language['language_id']['header']) }}
language_idandheaderare defined constants. they will each trigger a "Use of undefined constant" warning.