- Posts: 104
- Thank you received: 0
Translate images and badges
I am using joomla 2.5.9, hikashop 2.1.1 and joomfish 2.5.1.
I have some categories images and badges with text and want to know if it is possible to "translate" it.
I have the same image with the translated text but I do not know where I have to upload the image to display it "translated".
For example I have this two images for the same category. One for the english version and the other for the spanish version.
image missing http://img829.imageshack.us/img829/8731/customzone.png image missing http://img21.imageshack.us/img21/49/zonacustom.png
Please Log in or Create an account to join the conversation.
Is the field "image" present when editing the language in JoomFish ? If not present, so it's not possible by this way.
A method could be to edit the view "category / listing_img_title", detect the current language, and change the "$this->row->file_name" propery to add "_en" at the beginnning.
If you have the default image, for example "custom.png", so create the other image "en_custom.png". If the language is english, change the file name to "en_..." to load the english named image.
Hope this will help you. It require PHP knowledge.
Please Log in or Create an account to join the conversation.
I found the file listing_img_tittle and found the "$this->row->file_name" but I do not have php knowledge so if you can help me I will apreciate it.
Please Log in or Create an account to join the conversation.
Likewise, you can translate the badges by editing them in JoomFish.
I can assure you that it is possible. I just checked on our end and it's working fine.
Please Log in or Create an account to join the conversation.
If I do this the image that is showed in front end is the "no image" image.
I tried this yesterday. Is the same thaf you are explaining? Am I doing something wrong?
I can not upload an image to show you.
Please Log in or Create an account to join the conversation.
If you get the "no image" image, it means that the custom-zone.png file is missing in your upload folder.
Please Log in or Create an account to join the conversation.
Thanks nicolas.
Please Log in or Create an account to join the conversation.
In joomfish- translate- hikashop files there is no title for the images so is quite complex to find the image that I want to translate. Maybe can you tell me a little trick to find it quickly?
Thanks again for all your help.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
image missing http://img824.imageshack.us/img824/3781/joomhikafiles.png
As you can see, there is no tittle for the files so I have to check (select and edit) one by one.
Fortunately the first one is the zona-custom.png so I have translated it without any problem but now I want to translate a badge and I do not know what is it. I have 25 pages with 20 files each.
I do not need to translate all the files only some of them. Do yo know any way to find it easily?
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Should I delete it? Replace the code inside? or Create a new one with the name hikashop_badge_2013-04-01.xml?
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
I see in joomfish content elements- hikashop badges.
image missing http://img853.imageshack.us/img853/3882/liquidacion1.png
I try to translate the image there and it works.
image missing http://img607.imageshack.us/img607/1269/liquidacion.png
Badges are not a problem but I continue having the same problem with files, I have to search one by one.
Do you have another idea?
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
We are modifying the wrong file.
Hikashop badges are right, I can see the title.
Hikashop file is the wrong content element.
image missing http://img853.imageshack.us/img853/4223/filesf.png
As you can see, File name is empty
Please Log in or Create an account to join the conversation.
In Label: File name the Original es empty.
image missing http://img32.imageshack.us/img32/1418/filenamea.png
This is the reason why the title in joomfish hikashop files listing is empty (I think).
image missing http://imageshack.us/a/img824/3781/joomhikafiles.png
Then I did some tests with the contentelement hikashop_file.xml.
This is the original code
And this is the code I did.
The result.
image missing http://img62.imageshack.us/img62/387/resultq.png
Mabe is not the best solution but is enough for me for now.
Please Log in or Create an account to join the conversation.
im trying to set this on joomla 3.2 and falang but the badges dont want to work.
where i have to put the translated image? i put it in media/com_hikashop/upload/ and set the name in backend in fabola but it just dont work..
thanks
Please Log in or Create an account to join the conversation.
Are you able to translate other things with falang ?
Did you publish these translations ?
Please Log in or Create an account to join the conversation.