- Posts: 2
COMMUNITY FORUM
- Forum
- Free Joomla Extensions & Templates
- Simple Image Gallery
- "CLICK_TO_ENLARGE" showing instead of the actual caption text
"CLICK_TO_ENLARGE" showing instead of the actual caption text
- stotty06
-
- Offline
- New Member
Referring to the J1.6 documentation (docs.joomla.org/API16:JPlugin/loadLanguage), the language file is returned using 'strlowercase'.
The language file names for SIG are:
en-GB.plg_content_jw_simpleImageGallery.ini &
en-GB.plg_content_jw_simpleImageGallery.sys.ini
Note the camel case. Referring to J1.6 documentation, J1.6 plugin::loadLanguage will return the lanuage file all in lower case, 'en-GB.plg_content_jw_simpleimagegallery.ini' and 'en-GB.plg_content_jw_simpleimagegallery.sys.ini'
On a Windows server, it doesn't matter because it is not case sensitive, but on a Linux server it is case sensitive. Hence the Linux server will not find the files.
So to fix it just rename the files to
en-GB.plg_content_jw_simpleimagegallery.ini
en-GB.plg_content_jw_simpleimagegallery.sys.ini
Simples!
Please Log in or Create an account to join the conversation.
- Spainman
-
- Offline
- New Member
- Posts: 13
I´m trying to translate the "Click to enlarge" into Spanish. I have edited the language file and it still appears in English.
Has anyone found a solution for this?
Thanks.
Richard
Please Log in or Create an account to join the conversation.
- scept1c
-
- Offline
- New Member
- Posts: 9
Please Log in or Create an account to join the conversation.
- LukeDouglas
-
- Offline
- Junior Member
- Posts: 32
That does solve ONE problem with the 'JW_SIG_NAVTIP' now being replaced by the navigation text from the INI files. HOWEVER, if you go to the plug-in, it only shows the language tag instead of the text for instructions. Also, if you click the 'Hide' button on the JW_SIG_NC or 'Navigation & caption messages' (plugin instruction text depending on if you have renamed the INI files), it still shows the navigation instructions instead of the filename as previous versions showed.
I wouldn't mind forking out the 12 euros for the pro version but I don't want to buy the pro version if it still has this problem. Anyone using the Pro version, post a reply and let us know if this is an issue with the Pro version.
This has been an plug-in I have used for years but, alas, I'm moving to another one as it looks like JoomlaWorks is no longer maintaining this plugin.
Please Log in or Create an account to join the conversation.
- danielswong
-
- Offline
- New Member
- Posts: 1
Please Log in or Create an account to join the conversation.
- evilmate04
-
- Offline
- New Member
- Posts: 1
Please Log in or Create an account to join the conversation.
- Daphne Christoforidou
-
- Offline
- New Member
- Posts: 14
I had this problem and fixed it.
Referring to the J1.6 documentation (docs.joomla.org/API16:JPlugin/loadLanguage), the language file is returned using 'strlowercase'.
The language file names for SIG are:
en-GB.plg_content_jw_simpleImageGallery.ini &
en-GB.plg_content_jw_simpleImageGallery.sys.ini
Note the camel case. Referring to J1.6 documentation, J1.6 plugin::loadLanguage will return the lanuage file all in lower case, 'en-GB.plg_content_jw_simpleimagegallery.ini' and 'en-GB.plg_content_jw_simpleimagegallery.sys.ini'
On a Windows server, it doesn't matter because it is not case sensitive, but on a Linux server it is case sensitive. Hence the Linux server will not find the files.
So to fix it just rename the files to
en-GB.plg_content_jw_simpleimagegallery.ini
en-GB.plg_content_jw_simpleimagegallery.sys.ini
Simples!
I just had to thank you stotty06 ! Your fix did it for me. And now I know what I'll try for other components who give me the same trouble. Thanks a lot !
Edit: I have to note that: unfortunately that fixes the frontend problem but then if you edit the plugin on the backend the options texts are replaced with the language tag just like LukeDouglas noted earlier (and I just saw it now).
Edit No 2: I did manage to fix it by extracting the plugin files on my computer, renaming all files from ..ImageGallery.. to ..imagegallery.. and I also had to open jw_simpleimagegallery.php and jw_simpleimagegallery.xml and replace all instances of "ImageGallery" part of string to "imagegallery". Then I zipped the files again and installed the corrected plugin to my joomla site (after I had uninstalled the original version).
So now, both frontend and backend work. Maybe I didn't have to do all these steps but I didn't have time to test various combinations so I just re-archived the plugin files transforming to lowercase all ImageGallery instances (both in filenames and inside code).
I tried to include the edited zip as an attachment in this message but it exceeded the attachment size limit so here's a link to the file:
rapidshare.com/files/3193789970/plg_jw_simpleImageGallery-v2.2_Joomla-1.6-Edited.zip
To forum admins: If I'm not allowed to share the edited file please let me know and I'll remove it immediately.
Daphne
Please Log in or Create an account to join the conversation.
- Gina Geick
-
- Offline
- New Member
- Posts: 3
Thank you for taking the time to make the necessary edits... any chance of making it available other than through RapidShare?
I had edited my main eN-GB.com_content file but just upgraded to J2.5 and thus lost those changes. A more permanent solution would be much appreciated.
Thanks,
Gina G.
Please Log in or Create an account to join the conversation.
- DeenzR
-
- Offline
- New Member
- Posts: 1
please advise thank you
Please Log in or Create an account to join the conversation.
- Katia
-
- Offline
- Platinum Member
- Posts: 4696
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Please Log in or Create an account to join the conversation.
- tasag
-
- Offline
- New Member
- Posts: 4
How do we solve the Click_TO_ ENLARGE??
I'm with the latest release and Joomla! 2.5.2 and with the same error.
Please Log in or Create an account to join the conversation.
- Katia
-
- Offline
- Platinum Member
- Posts: 4696
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Please Log in or Create an account to join the conversation.
- tasag
-
- Offline
- New Member
- Posts: 4
Please Log in or Create an account to join the conversation.
- Katia
-
- Offline
- Platinum Member
- Posts: 4696
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Please Log in or Create an account to join the conversation.
- sohagiu
-
- Offline
- New Member
- Posts: 1
Please Log in or Create an account to join the conversation.
- joomlakins
-
- Offline
- New Member
- Posts: 4
So the fix is:
Change the filename of
/administrator/language/en-GB/en-GB.plg_content_jw_simpleImageGallery.ini
to
/administrator/language/en-GB/en-GB.plg_content_jw_simpleimagegallery.ini
Hopefully Joomlaworks fixes this.
Please Log in or Create an account to join the conversation.
- Katia
-
- Offline
- Platinum Member
- Posts: 4696
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Please Log in or Create an account to join the conversation.
- joomlakins
-
- Offline
- New Member
- Posts: 4
Katia, you've replied a number of times in this thread saying to check if we are using the latest version.
It's quite obvious there's a problem and it's also obvious that the solution is extremely simple. In fact it would take more effort to reply to this thread than it would to fix the issue.
Please Log in or Create an account to join the conversation.
- LukeDouglas
-
- Offline
- Junior Member
- Posts: 32
Guys, this is such a simple fix as far as the JW_SIG_NAVTIP problem. Go to your source files and rename "en-GB.plg_content_jw_simpleImageGallery.ini" to "en-GB.plg_content_jw_simpleimagegallery.ini" and "en-GB.plg_content_jw_simpleImageGallery.sys.ini" to "en-GB.plg_content_jw_simpleimagegallery.sys.ini". Then re-zip the file and move to your download location.
Please Log in or Create an account to join the conversation.
- Katia
-
- Offline
- Platinum Member
- Posts: 4696
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Please Log in or Create an account to join the conversation.
- Forum
- Free Joomla Extensions & Templates
- Simple Image Gallery
- "CLICK_TO_ENLARGE" showing instead of the actual caption text