I guess you could just use `directory('/language/' . $user->lang_name . '/')`