Table Of Contents

Phoca Documentation - creating documentation in Joomla! CMS
claudiotegazzini
Phoca Member
Phoca Member
Posts: 10
Joined: 11 Jun 2010, 18:55

Table Of Contents

Post by claudiotegazzini »

Hello,
I am using italian version of the component. When I insert plugin in the article ({phocadocumentation view=navigation|type=mpcn}), the 'c - content, table of contents will be displayed' option will display "Table of Contents" and "Close". Where I can change this words with "Indice" and "Chiudi" (in italian) ?
Thank you
Claudio
claudiotegazzini
Phoca Member
Phoca Member
Posts: 10
Joined: 11 Jun 2010, 18:55

Re: Table Of Contents

Post by claudiotegazzini »

I found 'Table of contents" in the file phocadocumentationnavigation.php.
I change in with "Indice", but it's no correct for multilanguage web site.
I don't find where to change "Close".
Some one has another solution ? Thank you
Claudio
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48402
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Table Of Contents

Post by Jan »

Hi,
the table of contents is translated in:

en-GB.plg_content_phocadocumentationnavigation.ini

so the strings can work on multilanguage site.

The "close" is a part of overlib, so this needs to be translated in code :-(
includes\js\overlib_mini.js

Close - added to feature request list - set it into navigation plugin as translatable string.

For now this needs to be customized in the code (in overlib or in plugin code)

Plugin code: adding:

Code: Select all

, CLOSETEXT, '".JText::_('Close')."'
into:
plugins/content/phocadocumentationnavigation.php ( code near: onmouseover=\"return overlib)

and CLOSE=Close string needs to be added to language file.

Jan
If you find Phoca extensions useful, please support the project
claudiotegazzini
Phoca Member
Phoca Member
Posts: 10
Joined: 11 Jun 2010, 18:55

Re: Table Of Contents

Post by claudiotegazzini »

Thank you.
I have seen that there is Table of Contents in english and in italian in the files en-GB.plg_content_phocadocumentationnavigation.ini and it-IT.plg_content_phocadocumentationnavigation.ini.
But it does'nt work. I can not send you image because the site is local not in web server.
When I put mose over the navigation panel, I saw previous (not precedente), succ.(instead Prossimo), table of contents (instead Indice dei contenuti).
Claudio
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48402
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Table Of Contents

Post by Jan »

Hi, then you should check if the italian language is correctly displayed on your site, check if the file is located in language folder:

https://www.phoca.cz/documents/46-transl ... -in-joomla

Jan
If you find Phoca extensions useful, please support the project
claudiotegazzini
Phoca Member
Phoca Member
Posts: 10
Joined: 11 Jun 2010, 18:55

Re: Table Of Contents

Post by claudiotegazzini »

Thank you
I have trasnfer file of navigation plug-initalian language by ftp.
it works correct.
Claudio
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48402
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Table Of Contents

Post by Jan »

Yes
If you find Phoca extensions useful, please support the project
Post Reply