/**
* Nationalize
*
* Takes multiple words separated by underscores and changes them to spaces
* It also have special fix for special national chars (for instance polish)
*
* @access public
* @param string
* @return str
*/
if (! function_exists('nationalise'))
{
function nationalise($str)
{
$en_up_pattern = '[ABCDEFGHIJKLMNOPQRSTUVWXYZ]';
$en_lw_pattern = '[abcdefghijklmnopqrstuvwxyz]';
$special_up_pattern = '[ĄĆĘŁŃÓŚŹŻ]';
$special_lw_pattern = '[ąćęłńóśźż]';
It makes an simple replacement with all English characters + additionally replaces Polish special chars. I don't know how efficient it is, but it's simple, dummy and it works.
If you want use it, you should change the lines with link names like: