Results 1 to 10 of 10
  1. #1
    Join Date
    Feb 2009
    Posts
    18
    Plugin Contributions
    0

    Default no product image in French version

    Hi,
    I installed the French language pack, but there is one thing I cannot seem to get right.
    http://cactaceae.be/roxpi/index.php?...products_id=12
    Look on this link, to a product page. You can see the image on the product page in English, Spanish and Dutch, but NOT in the French version. When I look at the source code I do see the code towards a picture and I do not see a difference between the code where the pictures are if I'm looking in French or English.
    Anyone knows what's happening here?
    Thanks.
    Pieter

  2. #2
    Join Date
    Sep 2004
    Location
    Western Massachusetts
    Posts
    2,945
    Plugin Contributions
    5

    Default Re: no product image in French version

    The problem is with your french language definition for TEXT_CLICK_TO_ENLARGE - in your copy of french.php.
    You are currently using Agrandir l'image, and the apostrophe in it is breaking the javascript that displays the image. Try changing your define to
    Code:
      define('TEXT_CLICK_TO_ENLARGE', 'Agrandir l’image');
    Neville
    An assumption is what you arrive at when you get tired of thinking...

  3. #3
    Join Date
    Feb 2009
    Posts
    18
    Plugin Contributions
    0

    Default Re: no product image in French version

    Thank you, that works fine. That accent was escaped with a backslash, just like it is always done in that french.php file. Perhaps I should replace them all to avoid problems later on I haven't seen yet.

    Pieter

  4. #4
    Join Date
    Sep 2004
    Location
    Western Massachusetts
    Posts
    2,945
    Plugin Contributions
    5

    Default Re: no product image in French version

    escaping with a backslash is usually fine - it's just that in this case the defined text is also used in javascript, and the escape backslash in the define statement is parsed by php before being inserted to the javascript: that's what caused your problem.
    Neville
    An assumption is what you arrive at when you get tired of thinking...

  5. #5
    Join Date
    Feb 2009
    Posts
    18
    Plugin Contributions
    0

    Default Re: no product image in French version

    OK I see, didn't get that javascript thing yesterday.
    Perhaps that one should be changed in the language pack then as I guess I'm not the only one with this problem, but I have no idea how to report this.

  6. #6

    Default Re: no product image in French version

    Would this cause the additional product images to not load as well? My main product images load just fine, as do the larger versions. My problem is that for the additional product images, they only show up on the English page and not the French page. I changed the code you listed above for Agrandir l'image, but it doesn't solve my additional image problem. I only get an empty box on the French side, and when I look at the source page it seems that everything is identical to the English page. Is there another area that needs to be modified in French.php for these images to show up?

  7. #7
    Join Date
    Sep 2004
    Location
    Western Massachusetts
    Posts
    2,945
    Plugin Contributions
    5

    Default Re: no product image in French version

    Quote Originally Posted by cmgraham View Post
    Would this cause the additional product images to not load as well? My main product images load just fine, as do the larger versions. My problem is that for the additional product images, they only show up on the English page and not the French page. I changed the code you listed above for Agrandir l'image, but it doesn't solve my additional image problem. I only get an empty box on the French side, and when I look at the source page it seems that everything is identical to the English page. Is there another area that needs to be modified in French.php for these images to show up?
    Can you post a link to your site?
    Neville
    An assumption is what you arrive at when you get tired of thinking...

  8. #8
    Join Date
    Apr 2009
    Posts
    1
    Plugin Contributions
    0

    Default Re: no product image in French version

    Hello,

    New to the forum. Just wanted to thank Bunyip for this answer.

    I have been breaking my head on this one and there was no chance I'd have solved it without this post.



    Nate

  9. #9
    Join Date
    Feb 2009
    Posts
    892
    Plugin Contributions
    0

    Default Re: no product image in French version

    Thanks, i was also experiencing the same problem and thought i had changed one setting somewhere. FINALLY!!!!

  10. #10
    Join Date
    Dec 2009
    Posts
    37
    Plugin Contributions
    0

    Default Re: no product image in French version

    Just wanted to say thank you to Bunyip, been for sometime .


 

 

Similar Threads

  1. v139h Paypal IPN redirected to french version
    By JE2009 in forum Built-in Shipping and Payment Modules
    Replies: 5
    Last Post: 9 Mar 2012, 09:57 AM
  2. Product image not showing up in my french description !
    By josee225 in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 25 Apr 2009, 10:56 PM
  3. no image on the french pages
    By Annabelsgifts in forum Templates, Stylesheets, Page Layout
    Replies: 0
    Last Post: 22 Apr 2008, 08:00 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg