test
Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • Hieu Nguyen Admin
    #116775

    Hi, I posted the same question in the members forum with no answer.. 😎

    There’s someone here can tell me how to make that “Add to Cart” button available in other languages?

    When I switch from english to another language I see a text instead of this button.
    Searchin’ in the language files of the whole site I didn’t figured out how it works..

    Were’s the code who calls it? :confused:
    Thanks!!

    nathanbohn Friend
    #209566

    its an image file you need to rewrite, templates/ja_shopping_ii/images/button-addtocart-big.gif
    so when its translated it sees the name of the button and translates the name of the button to the different language

    massimo12 Friend
    #209596

    nathanbohnits an image file you need to rewrite, templates/ja_shopping_ii/images/button-addtocart-big.gif

    OK Nathan.
    Once I have rewrite that.. I have a new image with “Add to Cart” in (for exemple) Japanese…
    So… what?
    I’m at the same point…

    so when its translated it sees the name of the button and translates the name of the button to the different language

    I apologize for my poor english ’cause I’m Italian. Maybe I don’t focus the problem so I retry..

    I have a Joomla + Joomfish + Virtuemart installation.

    As you all know, Joomfish is a component for multilanguage which translated (in fact store in a table) articles, modules, core messages etc etc.

    When you clic on one of the available flags you call a different table on your DB and you need a PHP code in your page to do that.

    The button-addtocart-big.gif address are located in the CSS file, WITHOUT any php code for making Joomfish understand that you have just change language and loading the appropriate gif.

    I need (I actually have) 5 or 6 different images who loads as an Add to Cart image.. at the same way of what happens when I browse my site in english.

    In fact, when I switch to italian, french or German I see only a text.
    In the language files I have a text “Add to Cart” for ALL my languages (english too)

    Thankyou Natahan for your patience, is it clear enough now?

    massimo12 Friend
    #209602

    Now, the questions cames itself..

    What EXACTLY kind of support you provide to “Templates Club Members” ?
    What this forum is intended for?
    Maybe for Templates Club Member Auto-Support?

    Hope to read an answer.
    Thanks.

    massimo12 Friend
    #209616

    …oooohh… YESSSS!

    🙁

    pjosephson Friend
    #209623

    Did you find an answer to your problem? I was thinking about joining the club to get this template but, you seem to have the same problem I would (multi-language site). Let me know if you found an answer

    massimo12 Friend
    #209624

    Yes,
    the answer was moving my message called “Post-sales matters”, from the “Pre-sales questions” to the “Share J! – Public Chat” forum.

    Nice answer, don’t you think?

    nathanbohn Friend
    #209646

    well unfortunately there is no “easy” solution. The template would have to be written in a way that a seperate template or at least several parts of the template would have to be rewritten in such a way that there would be a template for each language. The best way is to eliminate the image button totally since the translation engine will only see it as an image not text to be translated. If you replace the image with text then the words can be translated. You will need to add some scripts to read what language is being displayed and display the image accordingly. Pretty heavy modifications…

Viewing 8 posts - 1 through 8 (of 8 total)

This topic contains 8 replies, has 4 voices, and was last updated by  nathanbohn 18 years, 6 months ago.

We moved to new unified forum. Please post all new support queries in our New Forum