Tag Archives: i18n

Drupal – Translate View Title

In Drupal Views module, you could not configure the view title translation in the view settings page. The post shows you how to translate view title with the i18n module. For more information about the i18n module, please refer to

Continue reading Drupal – Translate View Title

Drupal – Site Name Translation

The Drupal site name could be set @ Administer –> Site configuration –> Site information.

In a previous post, you can find out how to setup a multilingual Drupal web site using the i18n module.
Drupal – Apply Language Pack Continue reading Drupal – Site Name Translation

Drupal – Ubercart Localization

Localization with Ubercart is somehow a bit difficult. Assume we have 2 languages, English and Traditional Chinese, installed. For a particular product, there will be one node representing the English one and the other node representing the Traditional Chinese one. If you add the English node into the cart, it will not be translated in the cart and checkout page. In other words, they are treated as 2 different products.

The following example can localize the Product content type even in the cart and checkout page. and it is based on the work by Stewart Adam. Please refer to for the post – Translating or internationalizing an Ubercart store: Common problems & solutions more information.

1. Create a custom module and add the following hook implementation in the .module file. Continue reading Drupal – Ubercart Localization

Drupal – Synchronize Translation

We can translate contents/nodes by activating the Content Translation.
Drupal – Content Translation
 

The translated node itself has not relation with the original node except their node ids are mapped. So I can have a price $10 in the English item but $1000 in the Traditional Chinese item. It will be quite difficult to manage when the amount of content is getting more and more. Therefore, i18n provides another feature called Synchronize Translations. Whenever a node is updated, the synchronized fields of all other corresponding nodes are also updated. Continue reading Drupal – Synchronize Translation