Switching images with language switcher

General questions regarding the use of languages in Joomla! 3.x.

Moderator: General Support Moderators

Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.
Windows Defender SmartScreen Issues <-- please read this if using Windows 10.
Post Reply
pambesteder
Joomla! Guru
Joomla! Guru
Posts: 616
Joined: Sat Sep 18, 2010 9:25 pm

Switching images with language switcher

Post by pambesteder » Sun Jul 31, 2022 2:06 am

Hello

How do I cause images to be switched based upon language?

For instance, an image that says "Click Here" needs to be switched to an image with the correct language when users user the switcher.

How do I do that and how will the system know which image to display??

Thanks
Pam

User avatar
infograf768
Joomla! Master
Joomla! Master
Posts: 19132
Joined: Fri Aug 12, 2005 3:47 pm
Location: **Translation Matters**

Re: Switching images with language switcher

Post by infograf768 » Sun Jul 31, 2022 8:04 am

Have you created that image? How is this image displayed? In an article? Is that article associated to an article in another language?
Jean-Marie Simonet / infograf · http://www.info-graf.fr
---------------------------------
ex-Joomla Translation Coordination Team • ex-Joomla! Production Working Group

pambesteder
Joomla! Guru
Joomla! Guru
Posts: 616
Joined: Sat Sep 18, 2010 9:25 pm

Re: Switching images with language switcher

Post by pambesteder » Sun Jul 31, 2022 5:06 pm

Yes, I have the images throughout already created with English words on them.

The images are mostly in modules. I have a module with some text and an image.

But if the user uses the switcher to switch to Spanish, how can I tell the system to switch to ones I have uploaded into the same folder but have Spanish writing to display?

User avatar
infograf768
Joomla! Master
Joomla! Master
Posts: 19132
Joined: Fri Aug 12, 2005 3:47 pm
Location: **Translation Matters**

Re: Switching images with language switcher

Post by infograf768 » Mon Aug 01, 2022 6:12 am

You have to associate the English and Spanish modules. When switching languages, the associated module will display with its specific image.
Jean-Marie Simonet / infograf · http://www.info-graf.fr
---------------------------------
ex-Joomla Translation Coordination Team • ex-Joomla! Production Working Group

pambesteder
Joomla! Guru
Joomla! Guru
Posts: 616
Joined: Sat Sep 18, 2010 9:25 pm

Re: Switching images with language switcher

Post by pambesteder » Mon Aug 01, 2022 7:49 pm

Thank you


Post Reply

Return to “Language - Joomla! 3.x”