Page 1 of 3 123 LastLast
Results 1 to 10 of 25
  1. #1
    Join Date
    Dec 2008
    Posts
    158
    Plugin Contributions
    0

    Default Is it possible to have different images for different languages??

    Hello! I have a multi language website (alepia.ch) and i'm working into a new template so I was wondering if it is possible to have a different image for every different language like for the french an image written in french, same for italian and english.
    Thank you
    www.alepia.ch Alepia suisse

  2. #2
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,761
    Plugin Contributions
    9

    Default Re: Is it possible to have different images for different languages??

    here is no builtin facility for different product images per language

    If you are talking about template images applied through a stylesheet
    Then look at the readme in your /css directory about different stylesheets
    Zen-Venom Get Bitten

  3. #3
    Join Date
    Dec 2008
    Posts
    158
    Plugin Contributions
    0

    Default Re: Is it possible to have different images for different languages??

    I want to change the logo.gif image for every language and also for the banners... I can't do this in the stylesheet!!
    www.alepia.ch Alepia suisse

  4. #4
    Join Date
    May 2009
    Posts
    1,219
    Plugin Contributions
    2

    Default Re: Is it possible to have different images for different languages??

    I have no suggestion for your problem, but a correction for the Italian
    On the top menu bar it should read "per i professionisti" instead of professionali

  5. #5
    Join Date
    Dec 2008
    Posts
    158
    Plugin Contributions
    0

    Default Re: Is it possible to have different images for different languages??

    Thank you! I'll change the wrong translation as soon as possible!!

    But going back to the problem... can I have different home logo and banners for every different language that I have ??
    www.alepia.ch Alepia suisse

  6. #6
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    12,472
    Plugin Contributions
    88

    Default Re: Is it possible to have different images for different languages??

    The logo image is specified by the file(s) /includes/languages/LANGUAGE/YOUR_TEMPLATE/header.php:

    Code:
    // added defines for header alt and text
      define('HEADER_ALT_TEXT', 'Powered by Zen Cart :: The Art of E-Commerce');
      define('HEADER_SALES_TEXT', 'TagLine Here');
      define('HEADER_LOGO_WIDTH', '192px');
      define('HEADER_LOGO_HEIGHT', '64px');
      define('HEADER_LOGO_IMAGE', 'logo.gif');
    If your site supports english, french, and italian and your template name is TEMPLATE, then you would have 3 files:

    /includes/languages/english/TEMPLATE/header.php
    /includes/languages/french/TEMPLATE/header.php
    /includes/languages/italian/TEMPLATE/header.php

    You could have 3 separate logo files (named, for example, logo_en.gif, logo_fr.gif and logo_it.gif) that are specified by the language-specific header.php file. All the logo files would be located in the /includes/templates/TEMPLATE/images directory.

  7. #7
    Join Date
    Jun 2003
    Posts
    33,715
    Plugin Contributions
    0

    Default Re: Is it possible to have different images for different languages??

    Lat9 is correct- specify your logo image name in the Language file.
    Please do not PM for support issues: a private solution doesn't benefit the community.

    Be careful with unsolicited advice via email or PM - Make sure the person you are talking to is a reliable source.

  8. #8
    Join Date
    Dec 2008
    Posts
    158
    Plugin Contributions
    0

    Default Re: Is it possible to have different images for different languages??

    It is not working with me though... actually I changed every header.php file in each language but english (where it is logo.gif) but it still shows the logo.gif and not logo_fr.gif in french, for instance! Why it is not working with me?
    Anyways I would like to know whether it is possible to do such a thing (different banners for different languages) also with the banners and how to do so!
    The website is : ALEPIA-TEMPLATE1, it is still a work in progress ;)
    Thanks in advance!
    Last edited by alepia; 8 May 2011 at 04:37 AM. Reason: forgot to put a link to the website!
    www.alepia.ch Alepia suisse

  9. #9
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,761
    Plugin Contributions
    9

    Default Re: Is it possible to have different images for different languages??

    It is not working with me though.
    Post the file name and path to it for each
    Zen-Venom Get Bitten

  10. #10
    Join Date
    Dec 2008
    Posts
    158
    Plugin Contributions
    0

    Default Re: Is it possible to have different images for different languages??

    Isn't the logo specified in tpl_header.php instead of /languages/TEMPLATE/header.php ??
    @Kobra : Do you want the link of each logo?
    www.alepia.ch Alepia suisse

 

 
Page 1 of 3 123 LastLast

Similar Threads

  1. Can I use different css for different languages?
    By mdivk in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 25 Apr 2012, 07:27 AM
  2. Possible to have different background images for each category?
    By Twaddle in forum Templates, Stylesheets, Page Layout
    Replies: 4
    Last Post: 28 Sep 2011, 11:35 AM
  3. Different images of a product for different languages?
    By jdl in forum General Questions
    Replies: 9
    Last Post: 16 Jul 2007, 03:27 PM
  4. Different category and sub-cat images for different languages
    By ultraman in forum Templates, Stylesheets, Page Layout
    Replies: 0
    Last Post: 10 May 2007, 05:22 PM

Bookmarks

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
Zen-Cart, Internet Selling Services, Klamath Falls, OR