Hello everyone,

For a multilanguage project, I had a problem with follow links. My website is in English, Chinese, Korean and Japanese. But, social networks aren't the same for occident, China, Korea or Japan. Follow is a good and easy module to manage social network links so I've choosed to use it and add the localisation with language.

So, with this patch, you can enable multilanguage management. When you go in admin/config/services/follow, you have a new tab "Settings". Presently, settings have just a checkbox to enable or disable the multilanguage. When you enable multilanguage, all your links are transfert in the default language but you will have no links for other languages and you must add them.

After have enabled the multilanguage, you have a tab for each language in admin/config/services/follow to change your links in each language.

The multilanguage isn't active for users. It doesn't seemed logical and it would be confused for untrained users.

If you decide to disable the multilanguage, just links of the default language will be conserved.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

Calystod created an issue. See original summary.

clairedesbois@gmail.com’s picture

And here, my patch.

clairedesbois@gmail.com’s picture

Status: Active » Needs review
clairedesbois@gmail.com’s picture

FileSize
9.35 KB

Correction, I removed accidentally the hook_update_7005, I've generated a new patch without this error.

clairedesbois@gmail.com’s picture

FileSize
10.02 KB

New patch with some corrections to prevent warnings.

clairedesbois@gmail.com’s picture

Assigned: clairedesbois@gmail.com » Unassigned