Manually Translating Your Joomla! Site's Content into Your Desired Language

Exclusive offer: get 50% off this eBook here
Joomla! 1.5 Top Extensions Cookbook

Joomla! 1.5 Top Extensions Cookbook — Save 50%

Over 80 great recipes for taking control of Joomla! Extensions

€23.99    €12.00
by Suhreed Sarkar | October 2010 | Cookbooks Joomla! Content Management Open Source Web Development

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.

 

Joomla! 1.5 Top Extensions Cookbook

Joomla! 1.5 Top Extensions Cookbook

Over 80 great recipes for taking control of Joomla! Extensions

  • Set up and use the best extensions available for Joomla!
  • Covers extensions for just about every use of Joomla!
  • Packed with recipes to help you get the most of the Joomla! extensions
  • Part of Packt's Cookbook series: Each recipe is a carefully organized sequence of instructions to complete the task as efficiently as possible
        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.

Getting ready...

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:

  1. From the Joomla! administration panel, click on Components | Joom!Fish | Control Panel. This shows the Joom!Fish :: The multilingual Content Manager for Joomla! screen.

  2. Click on Language Configuration. This shows the Joom!Fish Language Manager screen, and lists all the installed languages.

  3. 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.

  4. 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.
  5. 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.

  6. Click on a category name and you should see the Translate screen, with the original text and a textbox to insert your translation.

  7. 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.

  8. Click an article title to translate. This shows the Translate screen with the original text and textboxes for translation.

  9. Type the translations in the Translation fields, enable the Published checkbox, and click on the Save button in the toolbar.
  10. 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:

  11. 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.
  12. Preview the site's frontend and you should see the site in the default language, with the language selection box at the specified position.

  13. From the language selection module, click another case, in my case Bangla, to show the site content in that language.

  14. 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.

There's more...

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.

Summary

This article covered:

  • Manually translating your site's content into your desired language

Further resources on this subject:


Joomla! 1.5 Top Extensions Cookbook Over 80 great recipes for taking control of Joomla! Extensions
Published: October 2010
eBook Price: €23.99
Book Price: €38.99
See more
Select your format and quantity:

About the Author :


Suhreed Sarkar

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

Contact Suhreed Sarkar

Books From Packt


Joomla! Social Networking with JomSocial
Joomla! Social Networking with JomSocial

Joomla! 1.5 Top Extensions Cookbook
Joomla! 1.5 Top Extensions Cookbook

Building job sites with Joomla!
Building job sites with Joomla!

ChronoForms 3.1 for Joomla! site Cookbook
ChronoForms 3.1 for Joomla! site Cookbook

Joomla! 1.5 Multimedia
Joomla! 1.5 Multimedia

Joomla! 1.5 SEO
Joomla! 1.5 SEO

Joomla! 1.5 Templates Cookbook
Joomla! 1.5 Templates Cookbook

Joomla! 1.5 Content Administration
Joomla! 1.5 Content Administration


Code Download and Errata
Packt Anytime, Anywhere
Register Books
Print Upgrades
eBook Downloads
Video Support
Contact Us
Awards Voting Nominations Previous Winners
Judges Open Source CMS Hall Of Fame CMS Most Promising Open Source Project Open Source E-Commerce Applications Open Source JavaScript Library Open Source Graphics Software
Resources
Open Source CMS Hall Of Fame CMS Most Promising Open Source Project Open Source E-Commerce Applications Open Source JavaScript Library Open Source Graphics Software