Unable to download translation file https://ftp.drupal.org/files/translations/8.x/menu_breadcrumb/menu_breadcrumb-8.x-1.0-alpha1.ja.po.

When the translations is not available or unable to download we see an error on the page and after that it doesn't work for views page.

I am working on a multilingual site, when I install menu breadcrumb module it gives above mentioned errors where as it works fine for node pages but it doesn't work for views pages of japanese site(same views page I open in english works fine).
Item is already added in menu and when I am on that page and module version is 8.x-1.0-alpha1.

Comments

RavindraSingh created an issue. See original summary.

RavindraSingh’s picture

Issue summary: View changes
rphair’s picture

Status: Active » Postponed (maintainer needs more info)

@RavindraSingh - can you please post whether you are still having the problem (since the current version has upgraded from Alpha to Beta and affects the URL of the translation file above)? If so, can you explain how you believe the error you are getting is related to the Menu Breadcrumb module itself? I haven't worked with translations in D8 yet so please be patient with me, but:

  1. The translation file menu_breadcrumb-8.x-1.0-beta1.ja.po is currently accessible; I don't know how/if this happens automatically but I definitely didn't create this file, nor is it generated or read by this module.
  2. If there is a guideline for translation friendliness that you can point us to, please post it here and I will check this module for compliance. As far as I know all we're expected to do is consistently use the t() function so if there is anything else our code is missing please let me know how & where.
RavindraSingh’s picture

Issue summary: View changes
rphair’s picture

There is still no evidence the Menu Breadcrumb module is causing that error about not being able to get the translation file. This issue (from a back-port of Localization Update into D7) shows this error happens when there are problems retrieving or storing files, e.g., permission problems on the host. It has nothing to do with the module it is downloading the file for (this older issue shows it happening all at once for several unrelated modules).

I have been meaning to test Menu Breadcrumb on a multilingual web site, and will post again here when I have mocked something up & tested it on Views pages. If it works OK I will have to close this ticket as an unrelated bug, so in the meantime please test again with the Beta version of this module, as well as Drupal 8.2 itself which should include any fixes to the core modules that handle Localization.

rphair’s picture

Status: Postponed (maintainer needs more info) » Closed (works as designed)

Tested on multilingual web site; no problem with translation file downloading for last 3 versions (alpha1, beta1, beta2). Above error message must therefore be host configuration or drupal.org issue, with suggestions for fixing this type of problem in comment #5.

On a related note, if any passers-by know how to ping the "Translation Team" about new language strings that have been added to this module so far in D8 (e.g., "Taxonomy Attachment"), could they please post here?