Install

Works with Drupal: 7.x

Using Composer to manage Drupal site dependencies

Downloads

Download l10n_update-7.x-2.0-rc1.tar.gztar.gz 75.1 KB
MD5: 119a1e34d8a0f62728e7a32ba143e3bd
SHA-1: 88ca34e7283cdb8e481053e837efa9e4e744748c
SHA-256: 36ef51ed204bd3f88808460ab8ba6c13d99ef8b32749f94d4791f8f151d14f0a
Download l10n_update-7.x-2.0-rc1.zipzip 102.62 KB
MD5: b84bf41c489b4142f9cd055ad9f8c7c7
SHA-1: b1ea9ed122544d812a4bf6cb935905ae79b16b45
SHA-256: 95aaa5f03a2d1b8390bd3b5470167580a489390a6888d1353f3e47ddd5295bf6

Release notes

This is a backport of the Drupal 8 (core) Interface translation update function.

Changes for site builders and admins

  • Improved performance for translation update. Especially for lange translation files (e.g. Drupal core and Views), both with manual update and with cron updates.
  • Impoved usability of the translation status page at admin/config/regional/translate/update
  • Remote-only translation source is no longer supported. 'Local only' and 'Remote and local' are still supported.
  • Cron update intervals have changed to Weekly and Monthly. Daily updates are no longer supported. However the weekly updates now checks and updates all expired translations, where previously only a limited number of projects where checked and updated on each cron interval.

Changes for developers

  • The translations directory is now required.
  • New .info parameter 'interface translation project'. This can be used to determine the project where a modules' translations belong to. This can be usefull for custom modules to use a common translation file. All modules sharing the same translation will have their 'interface translation project' set to the same value.
  • No longer supports .info parameters 'l10n server' and 'l10n url'. 'l10n path' is still supported. Custom translation sources must now use a combination of:
  • Use variable 'l10n_update_default_update_url' to change the translation source globally. Defaults to 'http://ftp.drupal.org/files/translations/%core/%project/%project-%versio...'
  • Use hook_l10n_update_projects_alter() to change the translation source on a project by project basis by changing or setting 'l10n path' and/or 'interface translation project' values.
  • API change: No longer supports hook_l10n_servers(). See above for alternatives.
  • API change: The $project data in hook_l10n_update_projects_alter() will no longer contain 'l10n server' and 'l10n url' parameters. $project parameter 'interface translation project' is new, 'l10n path' is still supported.
  • New variable 'l10n_update_import_enabled' can be used to disable the import of translations when enabling modules and adding languages.
  • Test scripts added.
Created by: Sutharsan
Created on: 6 Aug 2014 at 15:19 UTC
Last updated: 2 Oct 2019 at 17:44 UTC
New features
Insecure

Other releases