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
Table Of Contents
-
- Phoca Member
- Posts: 10
- Joined: 11 Jun 2010, 18:55
Re: Table Of Contents
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
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
- Jan
- Phoca Hero
- Posts: 48402
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Table Of Contents
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:
into:
plugins/content/phocadocumentationnavigation.php ( code near: onmouseover=\"return overlib)
and CLOSE=Close string needs to be added to language file.
Jan
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')."'
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
-
- Phoca Member
- Posts: 10
- Joined: 11 Jun 2010, 18:55
Re: Table Of Contents
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
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
- Jan
- Phoca Hero
- Posts: 48402
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Table Of Contents
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
https://www.phoca.cz/documents/46-transl ... -in-joomla
Jan
If you find Phoca extensions useful, please support the project
-
- Phoca Member
- Posts: 10
- Joined: 11 Jun 2010, 18:55
Re: Table Of Contents
Thank you
I have trasnfer file of navigation plug-initalian language by ftp.
it works correct.
Claudio
I have trasnfer file of navigation plug-initalian language by ftp.
it works correct.
Claudio
- Jan
- Phoca Hero
- Posts: 48402
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact: