Problem/Motivation
Update of interface translations has a soft dependency on Update module. Update module is required to determine a stable versions in case a dev-release module is installed. Translation packages are only available per release, not for dev-builds. The fallback when Update module is not installed, is quick and dirty. One of its side effects is that no interface translation status is available (/admin/reports/translations).
Proposed resolution
Use the new download URL that was added in #2113957: Build server side version fallback system for translations from which the translation file of the latest stable release can be downloaded.
An issue has been created to provide better user feedback (#2501035: Without "Update Manager" module enabled, "Available translation updates" does not get updated, should be documented), but it is better to fix the cause than the symptoms.
Remaining tasks
make patchwrite tests
User interface changes
none
API changes
none
Data model changes
none
Comments
Comment #2
sutharsan commentedThis patch adds the fallback solution that is used in the l10n_update 7.x-2.x branch.
Comment #3
sutharsan commentedAdding tests
Comment #4
sutharsan commentedWorking on changing the patch to support the new download URL for dev releases. This URL system was added in #2113957: Build server side version fallback system for translations. URL format:
https://ftp.drupal.org/files/translations/[core version]/[project]/[project]-[branch].[langcode].poSome examples of the relation between the project version and the branch used in the URL:
Comment #5
sutharsan commentedThis patch starts from scratch using the version logic solution described in #4. No interdiff provided as this is a new solution.
Comment #8
jose reyero commentedHey @Sutharsan, I've just realized we are working on similar issues, maybe we should merge both patches.. ?
https://www.drupal.org/node/1832946#comment-10365725
Comment #9
sutharsan commentedThanks for the heads-up, yes should merge. Will look at it later.
Comment #10
sutharsan commentedContinuing with combined effort in #1832946: Runtime translation download fallback works different from installer translation download fallback.