I implemented a multilanguage feature for my web application. I get the values by this

```
echo $lang['the key here'];

```

and i keep the values in a separate fiels like this

```
$lang['confirm'] = 'COnfirm the message';
$lang['deny'] = 'Deny the invitation';

```

so i want if somebody calls a undefined key like $lang['sdefscfef'] , insted of printing white space, I want to print the key name i.e 'sdefscfef' 

I want to make it as a function

```
function translate($string) {
if(! isset($string)) {
echo THE KEY;
}
else {
echo $string;
}
}

translate($lang['asdadad']);

```

and to print the key