This example demonstrates the localization ability of the Aggregator module. Each tab and each module contained within a tab can be targeted to a specific locale, all locales or a special setting called 'Fallback'. If a tab is specified as 'Fallback' then it will only show if no other tabs are shown because of their locale settings.
In the Aggregator below, I have 5 tabs. One for English (en-us), one for French (fr-fr), one for Italy (it-it) and one for all locales. I have also added a single MMLinks module to the 5th tab. If you click on each of the country flags below you will see how the tabs change based on the set locale. In the tab using the MMLinks module, I am using a tab caption of [MMLINKSCAPTION] which localizes the tab caption to the title of the first module inside the tab when the locale changes.
In this demonstration we are only localizing tabs but you can also target localization for modules within tabs. For example, you could have a tab with 3 modules, one localized for each language but when displayed to a user it would only show one of the modules ... the one specific to his/her language. This can be very useful in localizing modules that don't have a normal ability to be localized.
This content is only shown if the locale is US English (en-us).
This content is shown for all locales (the default) for tabs and modules within Aggregator.
This is localized content using the free MMLinks module.
The following images shows the above setup as it appears in the Aggregator setup screen. The advantage of using the MMLinks module for localization is that you can use a single module for all locales instead of including 3 as I have done with the first 3 modules. This will work if you have relatively simple localized content such as text, links etc. If you want to localize other modules such as contact list, documents etc. then you would need to include a module for each locale and add them to separate tabs as I've done in tabs 1 through 3.