• Hello,

    I’m using the Text Replace – Find and Replace WordPress Strings plugin.

    I’m having an issue with the Import feature. When I try to import a JSON file, I get this error:

    “Invalid file type. Please upload a JSON file.”

    I have tried importing these files:

    • sample-import.json
    • easy-text-replace-export_2026-08-13_16-25-20.json

    Both files have the .json extension, but the plugin still shows the same error.

    Could you please help me understand why the plugin is not accepting these JSON files?

    If there is a specific JSON structure or file format required for importing, please provide an example or let me know how I should format the file.

    Thank you for your help.

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author SH Sajal Chowdhury

    (@shsajalchowdhury)

    Hi @anish9947,

    Thanks for reporting this, I appreciate you flagging it. I’m looking into what might be causing it, which will take a bit of testing on my end to confirm. If I find a bug, I’ll get a fix released as soon as possible.

    Warm regards,
    Sajal

    Plugin Author SH Sajal Chowdhury

    (@shsajalchowdhury)

    Hi @anish9947 ,

    Good news, I found the issue and released a fix in the latest version.

    WordPress.org’s update servers can take a little while to reflect on your dashboard, so if you don’t see it right away, check again in a few hours under Updates → Plugins. If you’d rather not wait, you can also grab the latest version straight from the plugin page and reinstall it manually.

    Let me know how it goes, happy to help if anything’s still off.

    Warm regards,
    Sajal

    Thread Starter anish9947

    (@anish9947)

    Hi Sajal,

    Thank you for finding and fixing the previous issue.

    I updated the plugin and the import now accepts the sample-import.json file successfully. However, I’m still having an issue with the actual exported JSON file.

    When I try to import:

    easy-text-replace-export_2026-08-13_16-25-20.json

    the plugin now shows:

    “Invalid JSON format.”

    So it seems the file-type validation issue has been fixed, but the exported JSON file is still not being accepted.

    Could you please check whether the JSON structure generated by the Export feature is compatible with the Import feature?

    Since the sample JSON works but the exported JSON does not, could you please let me know:

    1. What exact JSON structure is required for importing?
    2. Whether the Export-generated JSON should be directly importable?
    3. If possible, could you provide an example of a valid JSON file containing multiple text replacements?

    If the exported file is supposed to be importable directly, there may still be an issue with the export/import format compatibility.

    Thank you for your help.

    Warm regards,

    Plugin Author SH Sajal Chowdhury

    (@shsajalchowdhury)

    Hi @anish9947,

    Thanks for the detailed report, that helped a lot in tracking this down.

    I identified the issue: the Export feature was generating a JSON structure slightly different from what Import expected, which is why the sample file worked but your exported file didn’t.

    I’ve fixed this and released a new version. Could you please update the plugin and try exporting and importing again? It should now work end-to-end.

    Let me know if you run into any further issues.

    Warm regards,
    Sajal

    Thread Starter anish9947

    (@anish9947)

    Hello Sajal,

    Thank you for the update. I updated the plugin, and the Export/Import feature is now working fine.

    However, I’m facing two other issues with the text replacement feature:

    1. WooCommerce – Edit Shipping Address
      I’m trying to replace the WooCommerce “Edit shipping address” text with “View shipping address” using the plugin, but the text is not being replaced.
    2. Theme Footer Credit
      I’m also trying to replace the theme footer credit text, but the plugin is not changing this text either.

    Could you please check why these strings are not being replaced and let me know if there is anything I need to configure differently?

    Thanks for your support.

    Plugin Author SH Sajal Chowdhury

    (@shsajalchowdhury)

    Hi @anish9947 ,

    Great to hear the Export/Import issue is resolved!

    Thanks for reporting these two, I’ll look into why the WooCommerce “Edit shipping address” text and the theme footer credit text aren’t being caught by the replacement feature. These are likely rendered in a way (e.g., dynamically generated, translated via a different function, or loaded from a template that runs before/after our replacement hook) that the plugin isn’t currently catching, but I’ll dig in and confirm.

    If I find an issue, I’ll fix it and release it in an upcoming version, I’ll follow up here once that’s done.

    In the meantime, if you’re happy with the support so far, a quick honest feedback would mean a lot, it really helps other users find the plugin and keeps me motivated to keep improving it.

    Thanks again for your patience and for the clear reports, they make a real difference.

    Warm regards,

Viewing 6 replies - 1 through 6 (of 6 total)

You must be logged in to reply to this topic.