Loading...
 
Multilingual/i18n

Multilingual/i18n


Prevent translation of page name

posts: 2

Hi there,

my TikiWiki installation is version 3.3 and is monolingual set to "de".

Today a user encountered a problem while addding a new page. The page is named "Company" and is available under this name. BUT: The header of the page displays the translated page name, which is in german: "Firma".
This behaviour is absolutely not wanted.
Could someone give me a hint where to disable the translation of the displayed page name in the header section of a wiki page?

Thanks in advance.
Sascha

posts: 4656 Japan

The file is lib/breadcrumblib.php. Unless you know your way around PHP and Smarty templates, though, it might be easier to change the "Company" page name.

-- Gary


posts: 2

Thank you very much Gary!
That was exactly the information I needed.

FYI:
I simply removed the translation method call in lib/breadcrumblib.php line 247 (TikiWiki3.3):
$ret .= htmlentities(tra($crumbs$len-1->title), ENT_QUOTES, 'UTF-8').;''
=>
$ret .= htmlentities($crumbs$len-1->title, ENT_QUOTES, 'UTF-8').;''