• SirLouen

    (@sirlouen)


    I have not found any sources well about this issue, code-wise, but I’ve always wondered one thing:

    Every time I go into the updates, I see that there is an update available, a language update for Elementor. I click on update and …

    Updating translations for Elementor Pro (hi_IN)…

    Download failed. Not Found

    My question is: Why a plugin like Elementor is trying to update a language that doesn’t have a file to update? They have confirmed me that they don’t do updates for this language

    https://github.com/elementor/elementor/issues/28459#issuecomment-2339380900

    But I wonder why this is the only plugin that actually asks for this update, despite not offering it?

Viewing 5 replies - 1 through 5 (of 5 total)
  • Hello @sirlouen,

    I hope you are doing well.

    It seems that WordPress is trying to update a translation file for a language that isn’t available in Elementor. Various factors, such as a misconfiguration or a leftover entry in the translation settings could cause this.

    Regarding this issue, you should contact Elementor support. Since this involves a premium product, Elementor’s support might offer more insight if the problem persists. It could be a bug in the update logic that they need to address.

    Elementor support: https://elementor.com/support/

    Best regards,
    Asif Hossain

    Thread Starter SirLouen

    (@sirlouen)

    Hey @asifsiam97 If you saw the github link I posted, there is the conclusion of the Elementor guy. Its like a WordPress issue, but I’m not 100% confident. Do you know by any chance if there are any dev docs regarding this topic?

    threadi

    (@threadi)

    Based on the description in github, I would question whether Elementor Pro is even available in this language. Apparently this is not the case. Therefore WordPress tries to load a file, but only gets the message “does not exist”.

    This could only be solved if Elementor Pro also offers the language file. Since it is a commercial plugin, the language file is not hosted at www.ads-software.com but must either be provided by the plugin itself or offered for download.

    I think it would be better to contact Elementor Pro support to clarify whether and when the language will be available there.

    Thread Starter SirLouen

    (@sirlouen)

    @threadi is not available in this language, hence it doesnt make sense that it even looks for such translation, tries to download and reports a “Download failed. Not Found” error.

    I completely understand that this is a “commercial solution”, but my question is not about solving the Elementor flaw, but about the flaw itself for any other plugin that could happen to have this issue. My questions is: why a plugin could be trying to download a translation that doesnt exist?

    In fact, going a little bit further, like I asked in the previous message, I was wondering if there are any docs regarding this language updating protocol, just in case I would like to have some languages in my own plugins with updates. But to start with, I find that this issue is very interesting becuase I have not seen it in the past.

    One hyphotesis is that they somehow, query all languages available (not sure how I can query this with WP), and then try to update everything querying their servers with each given language pair.

    So for example, if it queries WP and it says that there are 4 languages: es_ES, en_US, hi_IN, fr_FR, then it seems that they will execute like an update to some endpoint like https://example.com/languages/es_ES.po

    But since I don’t really know how the workdpress manages this “languages updates” for any plugins, I opened this post, to get more insight about this topic.

    WordPress retrieves its own and all language files for installed plugins from translate.www.ads-software.com. There you can also find information on which languages exist and which do not. A commercial plugin can interfere with this retrieval and address its own server for the languages of their own plugin. If there is no information about non-existent languages, this can lead to an error – or a sign of poor programming. However, this is pure speculation, as no one here can view the source code of a commercial plugin to answer this for you in full. Only Elementor Pro Support can do that.

Viewing 5 replies - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.