-
AuthorPosts
-
Hieu Nguyen Admin
Hieu Nguyen
- Join date:
- November 2005
- Posts:
- 678
- Downloads:
- 36
- Uploads:
- 0
- Thanks:
- 69
- Thanked:
- 61 times in 1 posts
June 13, 2006 at 2:43 pm #116775Hi, 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 Friendnathanbohn
- Join date:
- March 2006
- Posts:
- 230
- Downloads:
- 0
- Uploads:
- 0
- Thanked:
- 9 times in 1 posts
June 13, 2006 at 10:09 pm #209566its 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 languageJune 14, 2006 at 11:21 pm #209596nathanbohnits 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?
June 16, 2006 at 12:56 am #209602Now, 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.June 22, 2006 at 1:38 am #209616…oooohh… YESSSS!
🙁
June 24, 2006 at 1:41 am #209623Did 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
June 24, 2006 at 3:00 pm #209624Yes,
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 Friendnathanbohn
- Join date:
- March 2006
- Posts:
- 230
- Downloads:
- 0
- Uploads:
- 0
- Thanked:
- 9 times in 1 posts
June 28, 2006 at 8:30 pm #209646well 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…
-
AuthorPosts
This topic contains 8 replies, has 4 voices, and was last updated by nathanbohn 18 years, 4 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum