Language switcher for traditional and simplified Chinese

General questions regarding the use of languages in Joomla! 2.5.

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.
Locked
brandonlin
Joomla! Apprentice
Joomla! Apprentice
Posts: 11
Joined: Thu Jun 11, 2015 2:58 am

Language switcher for traditional and simplified Chinese

Post by brandonlin » Thu Jun 11, 2015 6:44 am

Dear experts,

I'm a newbie to Joomla and trying to maintain and enhance this charity's website. Has anyone been successfully creating a site with both simplified Chinese and traditional Chinese?

When I try to create a language switcher with both languages, I see that the simplified Chinese is showing up a broken image for the flag, and the traditional Chinese is showing up with the China flag. Any help is greatly appreciated!

Best regards,
Brandon

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

Re: Language switcher for traditional and simplified Chinese

Post by infograf768 » Thu Jun 11, 2015 6:53 am

In the Language Manager=>Content Languages,
edit the Simplified Chinese and set the image prefix to "zh"
edit the Traditional Chinese and set the image prefix to "tw"
Jean-Marie Simonet / infograf
---------------------------------
ex-Joomla Translation Coordination Team • ex-Joomla! Production Working Group

User avatar
imanickam
Joomla! Master
Joomla! Master
Posts: 28191
Joined: Wed Aug 13, 2008 2:57 am
Location: Chennai, India

Re: Language switcher for traditional and simplified Chinese

Post by imanickam » Thu Jun 11, 2015 6:57 am

What version of Joomla! is being used.

In Joomla! 2.5 there is only one image file for the flag of Chinese language (i.e. zh.gif). This flag is a Chinese flag.

In Joomla! 3.x there are two image files namely zh_cn.gif and zh_tw.gif representing China and Taiwan respectively.

In both the version, if need be, you could create your own flag icon and use it. The default file size of the flag is 18px X 12px.
Ilagnayeru (MIG) Manickam | இளஞாயிறு மாணிக்கம்
Joomla! - Global Moderators Team | Joomla! Core - Tamil (தமிழ்) Translation Team Coordinator
Former Joomla! Translations Coordination Team Lead
Eegan - Support the poor and underprivileged

brandonlin
Joomla! Apprentice
Joomla! Apprentice
Posts: 11
Joined: Thu Jun 11, 2015 2:58 am

Re: Language switcher for traditional and simplified Chinese

Post by brandonlin » Thu Jun 11, 2015 7:52 am

Thanks all so much for the prompt help!!

The site is using Joomla! 2.5. I was afraid that I had to upgrade to 3.x (without knowing how much effort that is). But the suggestion from infograf768 seems to work!

Greatly appreciated!


Locked

Return to “Language - Joomla! 2.5”