Weblate: There are more files for the single language (id), please adjust the filemask and use components for translating different resources

Created on 12 Jan 2021  路  9Comments  路  Source: WeblateOrg/weblate

Hi everyone
I'm going crazy because I don't understand the reasoning behind this (documentation), if there's any at this point (:D)

I'm creating a new component through ZIP upload. These files are available in the ZIP:

  • testcomponent/resources/localization/productconfigaddon-locales.properties
  • testcomponent/resources/localization/productconfigaddon-locales_cs.properties
  • testcomponent/resources/localization/productconfigaddon-locales_de.properties
  • testcomponent/resources/localization/productconfigaddon-locales_es.properties
  • testcomponent/resources/localization/productconfigaddon-locales_fr.properties
  • testcomponent/resources/localization/productconfigaddon-locales_hi.properties
  • testcomponent/resources/localization/productconfigaddon-locales_hu.properties
  • testcomponent/resources/localization/productconfigaddon-locales_id.properties
  • testcomponent/resources/localization/productconfigaddon-locales_in.properties
  • testcomponent/resources/localization/productconfigaddon-locales_it.properties
  • testcomponent/resources/localization/productconfigaddon-locales_ja.properties
  • testcomponent/resources/localization/productconfigaddon-locales_ko.properties
  • testcomponent/resources/localization/productconfigaddon-locales_ms.properties
  • testcomponent/resources/localization/productconfigaddon-locales_pl.properties
  • testcomponent/resources/localization/productconfigaddon-locales_pt.properties
  • testcomponent/resources/localization/productconfigaddon-locales_ru.properties
  • testcomponent/resources/localization/productconfigaddon-locales_tr.properties
  • testcomponent/resources/localization/productconfigaddon-locales_vi.properties
  • testcomponent/resources/localization/productconfigaddon-locales_zh.properties

but it gets blocked like below:
image

As per #3952 I tried with both testcomponent/resources/localization/productconfigaddon-locales.properties and testcomponent/resources/localization/productconfigaddon-locales_en.properties but no luck with both.

Any hint is welcome!

thanks
nicola

bug

All 9 comments

Hint: in and id lead to the same language (Hindi, I assume), therefore removing one of the two changes the message. Problem is, it gets back to the infamous

There are more files for the single language (en), please adjust the filemask and use components for translating different resources

It doesn't matter whether there is productconfigaddon-locales.properties or productconfigaddon-locales_en.properties, but there should be only one of them (and that one should be configured as monolignual base file).

This issue looks more like a support question than an issue. We strive to answer these reasonably fast, but purchasing the support subscription is not only more responsible and faster for your business but also makes Weblate stronger. In case your question is already answered, making a donation is the right way to say thank you!

We tried narrowing down to 1 language only (DE) and still not accepted, at this point something else must be the issue. I'm really near to give up, it makes no sense anymore :/

  • productconfigaddon/resources/localization/productconfigaddon-locales_de.properties
  • productconfigaddon/resources/localization/productconfigaddon-locales.properties

image

This happens on creating component via ZIP upload? I'm not sure if there is proper cleanup, so maybe there are stale files from previous attempts. Can you try changing the component slug?

THAT MADE THE TRICK!!! so it was caching the previous ZIPs. It literally drove me crazy :D

Thanks a lot @nijel!!!

I've just added the cleanup to the file upload path.

Thank you for your report, the issue you have reported has just been fixed.

  • In case you see a problem with the fix, please comment on this issue.
  • In case you see a similar problem, please open a separate issue.
  • If you are happy with the outcome, don鈥檛 hesitate to support Weblate by making a donation.
Was this page helpful?
0 / 5 - 0 ratings