Page 1 of 1

Table Of Contents

Posted: 28 Sep 2010, 21:30
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

Re: Table Of Contents

Posted: 28 Sep 2010, 21:50
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

Re: Table Of Contents

Posted: 28 Sep 2010, 23:10
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

Re: Table Of Contents

Posted: 29 Sep 2010, 00:11
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

Re: Table Of Contents

Posted: 02 Oct 2010, 12:27
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

Re: Table Of Contents

Posted: 03 Oct 2010, 07:53
by claudiotegazzini
Thank you
I have trasnfer file of navigation plug-initalian language by ftp.
it works correct.
Claudio

Re: Table Of Contents

Posted: 04 Oct 2010, 18:16
by Jan
Yes