* Corrected "undefined index" issue for the `lang` parameter