Joomla! 1.5 Top Extensions Cookbook — Save 50%
Over 80 great recipes for taking control of Joomla! Extensions
In the previous article we saw how to translate a site's content using Google's translation service. The full process is automated and the machine does the translation. However, machine translation is not always good and can sometimes be misleading. To avoid your content getting lost in translation, or in the absence of a translation service for a specific language, like Bengali, you may like to manually translate the site's content.
In this article by Suhreed Sarkar, author of Joomla! 1.5 Top Extensions Cookbook, you will learn how to translate your site's content manually into your desired language using the Joom!Fish extension. It allows you to translate the articles, modules, banners, menus, sections, categories, and so on into your desired language. It also shows a language selection module for visitors to choose a language from the site's frontend. Many other components and modules can be translated by installing their respective content elements.
|Read more about this book|
(For more resources on Joomla!, see here.)
The reader would benefit from the previous article on Joomla! 1.5 Top Extensions for Using Languages.
Joom!Fish is the most popular extension for building multilingual Joomla! websites. Download the latest version of Joom!Fish from http://joomlacode.org/gf/download/frsrelease/11315/45280/JoomFish2.0.4.zip, and install it from the Extensions | Install/Uninstall screen. It installs one component, two modules, and several plugins.
How to do it...
After installation, carry out the following steps:
- From the Joomla! administration panel, click on Components | Joom!Fish | Control Panel. This shows the Joom!Fish :: The multilingual Content Manager for Joomla! screen.
- Click on Language Configuration. This shows the Joom!Fish Language Manager screen, and lists all the installed languages.
- In the Active column, enable the checkboxes to activate the required languages. If you don't see an image for a language, type the image's URL in the Image filename field. Then click the icon displayed in the Config column. This shows the Joom!Fish Language Manager - Translate Configuration screen.
- In this screen, you can translate some common phrases, for example Offline Message, Site Name, Global Site Meta Description, Global Site Meta Keywords, a help site URL, mail settings, and so on. Type in the translations and click on the Save button in the toolbar.
- Now click on Translation, select Bengali in the Languages drop-down list, and select Categories in the Content elements drop-down list. This shows the translatable categories.
- Click on a category name and you should see the Translate screen, with the original text and a textbox to insert your translation.
- Type your translation in the Translate fields, enable the Published checkbox and then click on the Save button in the toolbar. Follow the same process for translating other categories. When finished translating all categories, select Contents in the Content elements drop-down list on the Translate screen. This shows the list of available articles for translation.
- Click an article title to translate. This shows the Translate screen with the original text and textboxes for translation.
- Type the translations in the Translation fields, enable the Published checkbox, and click on the Save button in the toolbar.
- Similarly, change types in the Content elements drop-down box and translate other content including Modules, Menus, Contacts, Banners, and so on. When finished translating, click on Extensions | Module Manager. This shows the Module Manager screen, listing the installed modules. From the list, click on the Language Selection module. This shows the Module: [Edit] screen:
- Select Yes in the Published field and select a module position from the Position drop-down list. From the Module Parameters section, in the Appearance of language selector drop-down list select how you want to display the language selection box. You can choose from Drop down of names, Drop down of names with current language flag, ul-list of names, ul-list of names with flag, ul-list of images, and Raw display of images.
- Preview the site's frontend and you should see the site in the default language, with the language selection box at the specified position.
- From the language selection module, click another case, in my case Bangla, to show the site content in that language.
- Visitors to your site can now switch to any active language through this language selection module. Note that the URL of the site now appends language code, for example, http://www.yourjoomlasite.com/index.php?lang=bn, where bn stands for the Bangla language.
Note that in Joom!Fish, you can translate almost anything—articles, modules, menus, sections, categories, and so on. These translations are done through content elements. You can see any component or module by clicking on Components | Joom!Fish | Content Elements.
You can download content elements for new extensions from http://extensions.joomla.org/extensions/extension-specific/joomfish-extensions and http://joomlacode.org/gf/project/joomfish/frs/. After downloading content elements, click on the Install button on Content Elements screen. This shows the Joom!Fish::Content Element Installer screen.
Click on the Browse button, select the content element file, and then click on the Upload File & Install button. This installs the content and you can translate the content for that particular component or module.
This article covered:
- Manually translating your site's content into your desired language
- Adding an Event Calendar to your Joomla! Site using JEvents
- Showing your Google calendar on your Joomla! site using GCalendar
- Joomla! 1.5 Top Extensions: Adding a Booking System for Events
- Joomla! 1.5 Top Extensions for Using Languages
|Over 80 great recipes for taking control of Joomla! Extensions|
eBook Price: $29.99
Book Price: $49.99
About the Author :
Suhreed Sarkar is an IT consultant, trainer and technical writer. He studied Marine engineering, served on board the ship for two years, and then started journey in to IT world with MCSE in Windows NT 4.0 track. Later he studied business administration and earned MBA from University of Dhaka. He has a bunch of BrainBench certifications on various topics including PHP4, Project Management, RDBMS Concepts, E-commerce, Web Server Administration, Internet Security, Training Development, Training Delivery and Evaluation, and Technical Writing.
He taught courses on system administration, web development, e-commerce and MIS. He has consulted several national and international organizations including United Nations, and helped clients building and adopting their web portals, large scale databases and management information systems. At present he is working on building a framework for education sector MIS, and promoting use of ICTs in education.
Suhreed is renowned technical author in Bengali – having a dozen of books published on subjects covering web development, LAMP, networking, and system administration. He authored Zen Cart: E-commerce Application Development, Joomla! E-commerce with Virtuemart, and Joomla! with Flash, published by Packt Publishing.
While not busy with hacking some apps, blogging on his blog (http://www.suhreedsarkar.com), reading philosophy of Bertrand Russell or management thought of Peter F Drucker – he likes to spend some special moments with his family. Suhreed lives in Dhaka, Bangladesh