Hello is there any way to detect the language that is set in the System Setting from within the pdf template?
Did you tried running the global function for getting system settings?
$this->mdl_settings->setting('default_language')
Thank you