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').;''


Upcoming Events

1)  18 Apr 2024 14:00 GMT-0000
Tiki Roundtable Meeting
2)  16 May 2024 14:00 GMT-0000
Tiki Roundtable Meeting
3)  20 Jun 2024 14:00 GMT-0000
Tiki Roundtable Meeting
4)  18 Jul 2024 14:00 GMT-0000
Tiki Roundtable Meeting
5)  15 Aug 2024 14:00 GMT-0000
Tiki Roundtable Meeting
6)  19 Sep 2024 14:00 GMT-0000
Tiki Roundtable Meeting
7) 
Tiki birthday
8)  17 Oct 2024 14:00 GMT-0000
Tiki Roundtable Meeting
9)  21 Nov 2024 14:00 GMT-0000
Tiki Roundtable Meeting
10)  19 Dec 2024 14:00 GMT-0000
Tiki Roundtable Meeting