Taxonomy translation UUID

Categories

Component ID

2488052

Component name

Taxonomy translation UUID

Component type

module

Maintenance status

Development status

Component security advisory coverage

covered

Downloads

1480

Component created

Component changed

Component body

UUID support for i18n_taxonomy. With this module term-UUID is used instead of TID for translations.

On admin/config/regional/translate/translate
taxonomy:term:1234:name -> taxonomy:term:{tid}:[type]
becomes
taxonomy:term:6ab188de-c1fc-4d17-bf5b-3ab3a77e4ae9:name -> taxonomy:term:{uuid}:[type]

Use-case

  • Taxonomy terms and their translations are shared between projects.
  • Taxonomy-terms are translated with the i18n_taxonomy module from the Internationalization suite.
  • Taxonomy-terms are shared between projects with UUID Features Integration. Therefore your websites share terms with equal UUID's.

Reason

  • By default i18n_taxonomy uses internal entity-ids (tid's) as common key for translations, but tid's are assigned when terms are added (by features) and you cannot control that.
  • UUID's are fixed though (thats why it is used).

How it works

Just enable this module. On install all term-translations are converted to the uuid-version.
If you uninstall this module, all term-translations will be converted back to the tid-version.