Results 1 to 3 of 3
  1. #1
    Join Date
    Jan 2006
    Posts
    36
    Plugin Contributions
    0

    Default CSS buttons works in one language and not other?

    Hi,
    I'm working on a three language site.
    I've activated de CSS buttons, but,

    On Categories Product Listing pages or All products, the "Add Selected products to cart" button, only works as CSS button in english.
    In the other two languages the scripts renders the Input button as an image.

    Anyone knows what could be wrong here?

    I've have been hitting and torturing the Developers tool kit, but it is not willing to collaborate with me.

    Thanks
    Platinum Natural Dog Food
    Complete dry dog food made out of 70% human grade fresh chicken meat

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

    Default Re: CSS buttons works in one language and not other?

    I am fairly certian that the text that is used for the css buttons is mostly in the /includes/languages/english/button_names.php for the english representation and uses the defned "alt" text so you need to generate /includes/languages/other_language/button_names.php and translate the text into the target language.

    To check this before you do all of these change the text of one and check & look at the view source to insure that it is being drawn from the correct path
    Zen-Venom Get Bitten

  3. #3
    Join Date
    Jan 2006
    Posts
    36
    Plugin Contributions
    0

    Default Re: CSS buttons works in one language and not other?

    hey, thanks for your help.
    I had those files already, and had checked what you said.
    I found the problem.

    The ALT text can't be too long, or for some reason, It doesn't render the Css button.

    This is the offending line.
    Code:
    define('BUTTON_ADD_PRODUCTS_TO_CART_ALT','Agregar los productos seleccionados a la Cesta');
    This text is too long.. I had to shorten the ALT text, and now it works.

    No time now to figure out why, gotta go and do the bad cop thing with the developers tool kit to get some more answers...
    Platinum Natural Dog Food
    Complete dry dog food made out of 70% human grade fresh chicken meat

 

 

Similar Threads

  1. v151 CSS buttons works in one language and not other?
    By McLovin in forum Templates, Stylesheets, Page Layout
    Replies: 10
    Last Post: 7 Feb 2014, 09:13 AM
  2. v151 Disable CSS buttons for some buttons and not others
    By longstockings in forum Templates, Stylesheets, Page Layout
    Replies: 8
    Last Post: 16 Nov 2013, 04:00 PM
  3. v139e (10401) order error with one language, other two works fine
    By Nandor in forum Managing Customers and Orders
    Replies: 38
    Last Post: 25 Mar 2013, 05:58 PM
  4. Help with using css buttons, "update cart' does not use the css buttons?
    By trinitypres in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 1 Jan 2011, 04:34 PM
  5. add product in other language doesnt works
    By mambo75 in forum Templates, Stylesheets, Page Layout
    Replies: 7
    Last Post: 5 Apr 2009, 12:24 AM

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