Install

Works with Drupal: 7.x

Using Composer to manage Drupal site dependencies

Downloads

Download tar.gz 75.54 KB
MD5: 81fdbd18abb8dc80e81c09deda8e320d
SHA-1: 53e850adcbe6f81c283f5fe2f3761efbe87d2d66
SHA-256: 110d8f91736b5874b2ae4f7afaf2ea9d1eb6c8bcea3f3eebaf49ca7a1426a71c
Download zip 94.74 KB
MD5: 3c0b5310de9c6fe9483a0fc1b5145e56
SHA-1: a7efa99f183cd74713fc695c591bee1faf8b62e7
SHA-256: 64f0685b99d66700417523489ec3fda4abed4d56f3da9c96f156e64d85579be3

Release notes

This release introduces storage changes to support revisionable translation metadata, that was introduced in #1046282: Make the module work with revisions. This feature is disabled by default on existing sites to avoid problems with the upgrade path, instead it is natively available on new installations. People upgrading from earlier versions are strongly encouraged to backup their site database before proceeding.

People wishing to enable revision support on existing sites will have to perform the upgrade of translation revision metadata manually by creating a record in the {entity_translation_revision} table for each available entity revision. Simply copying values from the {entity_translation} table and updating the revision ids to the current version should be enough. Once this process is complete revision support needs to be enabled by setting the entity_translation_revision_enabled variable to TRUE.

Be aware that enabling revision support on sites where data has not been manually migrated may cause translation metadata to be permanently lost or corrupted. See #2396103: [DATA LOSS] Translations deleted for details.

Alternatively in #2402247: [UNSUPPORTED] Migrate translation for enable revision is available some unsupported code trying to automate the upgrade process. That code might be perfectly working but has not been "officially" tested so use it at your own risk.

Please note that not upgrading your database is not a supported way forward and may lead to unexpected behavior and data loss (see #2856617: [DATA LOSS] Node revision delete causes translations to be deleted in entity_translation table if et revisions are disabled).

New features

#1046282: Make the module work with revisions
#1605406: Expose translated field content to Views so that multiple language translations can be shown simultaneously
#1516202: Add a CTools access plugin for checking if a translation is available

Other changes

#2185523: Document that entity_translation_enabled_bundle() does not check whether the entity type is translatable
#2027513: Allow nested value for 'edit form' in hook_entity_info() (API addition)
#2073231: Rename entity_translation_form_language() to entity_translation_get_existing_language() (API change)
#1865244: Allow multiple translation handlers on the same form
#1866076: Add support for non-entity load tokens when declaring translations

Bug fixes

#2396103: [DATA LOSS] Translations deleted
#2218087: PHP Fatal error: Unsupported operand types in modules/field_ui/field_ui.admin.inc on line 477
#2396653: Fix validation handler for the entity language widget
#2395327: FATAL error when requesting an edit path for a non-existent entity
#2342787: Language widget submit handler runs on disabled entity types
#2389945: Tests don't pass when using different source than original node language
#2378195: Node edit notice when author of a translation is deleted
#2382713: entity_translation_update_7006 fails because of SQL error before variable_set('entity_translation_revision_enabled', FALSE); can run.
#2179183: Fatal error: Unsupported operand types in /entity_translation.module on line 188
#2160559: Warning because of empty value line 675
#2151503: Check for translation access for Add links
#2130091: Media edit dialog integration bug
#2065221: Static cache for handlers should key by $vid
#2072865: Only replace "delete" button with "delete translation", don't add one that doesn't exist
#2055491: Synced image fields cannot be emptied

Created by: plach
Created on: 22 Jan 2015 at 23:57 UTC
Last updated: 2 Aug 2018 at 17:18 UTC
Bug fixes
New features
Insecure
Unsupported

Other releases