Localization
Permalink Browser Info Environment
Hi!
Have been able to do all the style changes with CSS as you said on your website - fantastic!
One small issue left - i need to change "Show All" on the Filter Tag / Single Gallery from English to German.
Ideally it would be using the "t" for translate in the view.php. I know this is no guarantee it will be in the .mo or .po file (or whatever it's called) so I thought I could do a template or override.
Unfortunately, I can't seem to get the override path correct, and I am wondering about the naming of the file.
Can you make a path and file name recommendation?
Thanks for all your help so far...
Have been able to do all the style changes with CSS as you said on your website - fantastic!
One small issue left - i need to change "Show All" on the Filter Tag / Single Gallery from English to German.
Ideally it would be using the "t" for translate in the view.php. I know this is no guarantee it will be in the .mo or .po file (or whatever it's called) so I thought I could do a template or override.
Unfortunately, I can't seem to get the override path correct, and I am wondering about the naming of the file.
Can you make a path and file name recommendation?
Thanks for all your help so far...
Type: | Ticket |
---|---|
Status: | Resolved |
That worked perfectly! Thanks!
I think I got mixed up with the nested directories in the original package. Was actually straightforward!
Arlene Seydoux
arlene@seydoux.net
> On 04 Mar 2015, at 17:01, concrete5 Community <discussions@concretecms.com> wrote:
I think I got mixed up with the nested directories in the original package. Was actually straightforward!
Arlene Seydoux
arlene@seydoux.net
> On 04 Mar 2015, at 17:01, concrete5 Community <discussions@concretecms.com> wrote:
OOPS
I spoke to soon!
Is "Show All" used in another file in this block? I will look for it and let you know-
Now when I click on "Alle" - German for "Show Al" all pictures disappear.
I spoke to soon!
Is "Show All" used in another file in this block? I will look for it and let you know-
Now when I click on "Alle" - German for "Show Al" all pictures disappear.
Okay, I found a second instance of "Show All" in controller.php on line 334
When I add this "corrected" file to the override folder, I get an error message on the page with
Class '\Application\Block\GalleryESView\Controller' not found
I could edit the original files and see where that gets me, but maybe you know exactly where the problem is?
When I add this "corrected" file to the override folder, I get an error message on the page with
Class '\Application\Block\GalleryESView\Controller' not found
I could edit the original files and see where that gets me, but maybe you know exactly where the problem is?
Arlensey, I am so sorry I didnt get a notification of reply and I am on vacation at the moment!
Is this still a problem for you? I can look at it in 3 days when I am back home. Sorry again for totally missing it!
Is this still a problem for you? I can look at it in 3 days when I am back home. Sorry again for totally missing it!
Arlensey, I am so sorry I didnt get a notification of reply and I am on vacation at the moment!
Is this still a problem for you? I can look at it in 3 days when I am back home. Sorry again for totally missing it!
Is this still a problem for you? I can look at it in 3 days when I am back home. Sorry again for totally missing it!
Dear emerii
Yes I would really appreciate you looking at this. My attempts to correct were unsuccessful, and would have been overwritten by updates anyway.
We go live in the next two weeks, but I can always update...
Enjoy your vacation!
sincerely
Arlene
Yes I would really appreciate you looking at this. My attempts to correct were unsuccessful, and would have been overwritten by updates anyway.
We go live in the next two weeks, but I can always update...
Enjoy your vacation!
sincerely
Arlene
Hello,
I attach a zip file with the correct files for your override. I've put "Alle" as the button text, I completely forgot about the controller.php modification, that was indeed important, ha!
All you need to do is unzip file, upload the folder to your application/blocks, clear cache and you should be set.
I attach a zip file with the correct files for your override. I've put "Alle" as the button text, I completely forgot about the controller.php modification, that was indeed important, ha!
All you need to do is unzip file, upload the folder to your application/blocks, clear cache and you should be set.
Hello,
I attach a zip file with the correct files for your override. I've put "Alle" as the button text, I completely forgot about the controller.php modification, that was indeed important, ha!
All you need to do is unzip file, upload the folder to your application/blocks, clear cache and you should be set.
I attach a zip file with the correct files for your override. I've put "Alle" as the button text, I completely forgot about the controller.php modification, that was indeed important, ha!
All you need to do is unzip file, upload the folder to your application/blocks, clear cache and you should be set.
Hi emerii
Thanks so much, but every time I try to unpack the .zip, it changes to this:
gallery_e_s_mod.zip.cpgz
I have no idea what "cpgz" means.
Could you send the files unzipped?
Thanks!
Arlene
Thanks so much, but every time I try to unpack the .zip, it changes to this:
gallery_e_s_mod.zip.cpgz
I have no idea what "cpgz" means.
Could you send the files unzipped?
Thanks!
Arlene
I'm not sure what happened to that zip (i cant open either!!), but I will send you the files as soon as I get home, sorry about that!
Here's the single files, just put it in your override block in application folder!
https://www.dropbox.com/s/ehg18uuaikxykfy/controller.php?dl=0...
https://www.dropbox.com/s/dw1sr8oymfhyztv/view.php?dl=0...
I cant upload them to C5 as php file not allowed :( Hopefully you can get them thru drop box.
https://www.dropbox.com/s/ehg18uuaikxykfy/controller.php?dl=0...
https://www.dropbox.com/s/dw1sr8oymfhyztv/view.php?dl=0...
I cant upload them to C5 as php file not allowed :( Hopefully you can get them thru drop box.
I never messed with the translation things, but I did notice that the text wasn't surrounded in "t" tag, looks like I missed it, but i think it would still be easier to just override the file.
If you want the single gallery block if you put it like this, it should override:
application/blocks/gallery_e_s_view/view.php
Then copy the whole contents from the original package's block folder "view.php" into your new view.php, then edit the button text.
The Show All button is on line 28 of view.php
That's all you should need to do, but if it doesnt show up at first try clearing your cache.
Thanks!