By Ricardo Marques on Monday, 08 June 2015
Posted in Technical Issues
Likes 0
Views 767
Votes 0
I'm translating EasyBlog and I found a curious issue. The Media Manager is "hard" cached somewhere and as I go translating the lines, changes don't take effect. I cleaned all Joomla cache, browser cache, I even disabled Site Ground SuperCacher but nothing happens. I changed the site language from portuguese to english to make a test and now the Media Manager is "hard" cached in English. Even when I select portuguese as the default language for the site it won't get back to portuguese anymore. This is causing me troubles as I can't follow up with the translation and see how it looks like as I change the lines. Everything else works fine on EasyBlog, I can see language changes immediately on any other area of EasyBlog.

So my question is: Where is the cache of Media Manager located so I can clean it up in order to see the language changes that are being done?

Please point me to right place or method to clean the cache so I can see the changes that are being done.

Image attached.

Thanks,

Ricardo
Hello Ricardo.

I am sorry for the late reply.
Actually, the media manager page is using Javascript and in order for the changes to take place is you need to recompile the JS in your site. Can you try follow these two steps:
1. Make the language changes.
2. Run http://www.yoursite.com/index.php?option=com_easyblog&compile=1&minify=1 in your browser.

If this issue is still persist, perhaps you can provide us with language strings which you want to change. So, we can help you change it for you.

Please be advise.
·
Monday, 08 June 2015 10:39
·
0 Likes
·
0 Votes
·
0 Comments
·
Actually running that link didn't work. It didn't make any difference.

But this method worked:

Open: /media/com_easyblog/resources

When EasyBlog is installed there are just 2 files in the resources folder: default-3.9.24862.js and default-3.9.24862.json.

I deleted all files except those 2 files, I cleaned the browser cache and now I can see the changes I'm making. New files are being regenerated as I use EasyBlog. I repeat the process any time I need to have a fresh view.

Example image attached.
·
Monday, 08 June 2015 21:37
·
0 Likes
·
0 Votes
·
0 Comments
·
hi Ricardo Marques ,

Sorry for late reply to this,

Do you mean that you need to delete the cache file from /media/com_easyblog/resources everytime then it only work?

If yes, that shouldn't be like that, can you provide us with your Joomla backend and FTP access so we can help you check on this?
·
Tuesday, 09 June 2015 00:22
·
0 Likes
·
0 Votes
·
0 Comments
·
Yes, that's the only way I found to refresh the view of the Media Manager.

All other areas of EasyBlog work fine. I make changes to the translation file, upload the file and changes appear immediately.

But on the Media Manager is doesn't work like that, I don't why...

See site details for access.
·
Tuesday, 09 June 2015 01:05
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Ricardo Marques,

Sorry for late reply to this,

I have checked in your site, it seems like the language already changed.

By the way, I missed up we actually got "purge cache" button from backend Easyblog dashboard, take a look of my screenshot below.
·
Thursday, 11 June 2015 09:34
·
0 Likes
·
0 Votes
·
0 Comments
·
Yes, that button worked. The purge cache button cleans the resources folder.

I upload an updated language file. I purge the cache using that button on the admin area. Then I go back to the media manager and do a simple browser refresh, I reopen the media manager and all new translations appear. There's no need to clean the browser's cache.

Issue resolved. Thanks for your help!

Ricardo
·
Thursday, 11 June 2015 10:55
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Ricardo Marques,

Thanks for getting back to us your issues resolved.
·
Thursday, 11 June 2015 11:15
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post