• I have searched for the Source Text I want to change, then made my change in the Translated Text. but when saving i get the following error –

    “You have uncommitted translation changes, do you want to discard them before saving?”

    Please help.

Viewing 10 replies - 1 through 10 (of 10 total)
  • Plugin Author Doug Wollison

    (@dougwollison)

    Did you hit the checkmark button next to each row you were editing to commit the change? Probably not the best UI choice but it was the simplest way to offer a sort of Undo on individual entries.

    Thread Starter tepegroup

    (@tepegroup)

    Hi Doug,

    I have pressed the green ‘Tick’ to OK the text change, then pressed Save Translation then the page loads up this error message –

    “Request Entity Too Large

    The requested resource
    /wp-admin/tools.php
    does not allow request data with GET requests, or the amount of data provided in the request exceeds the capacity limit.
    Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.”

    Plugin Author Doug Wollison

    (@dougwollison)

    Uh… oh.

    What file were you trying to edit? The theme/plugin it belongs to? I’m starting to suspect the system this plugin uses can’t feasibly handle large files.

    Thread Starter tepegroup

    (@tepegroup)

    Hi Doug,

    The Word is literally ‘ASC’ and ‘DESC’ for a sort by for a portfolio section on my website.

    The area is the en_US.po and is located in the Theme files.

    Plugin Author Doug Wollison

    (@dougwollison)

    I mean the file being too large; I’ve noticed with ones that have several hundred entries it, the system seems to hang trying to process it all.

    I’d need to know what theme you’re using in order to find and try out the file you’re editing.

    Thread Starter tepegroup

    (@tepegroup)

    Plugin Author Doug Wollison

    (@dougwollison)

    Sorry about the delay, work has been… hectic.

    That’s a premium theme so I won’t have access to the file myself. However when I looked into the original error you got, I think it’s actually unrelated to the plugin itself (so far) and an issue with your server’s configuration. See if you can raise the post_max_size setting in PHP (not sure what your setup is so can’t direct you on how to access it), to perhaps double the amount, and give it another shot. That error is about the data being submitted being too much, but I suspect even if you resolve this there may be a new problem of the system hanging trying to write the changes to the file.

    Thread Starter tepegroup

    (@tepegroup)

    Hi Doug,

    My post_max_size is 64mb and i’m only changing one word, infact its just 3 letters.

    Plugin Author Doug Wollison

    (@dougwollison)

    Yes but it’s submitting the whole translation set when you save changes, not just the revisions. When you make a tweak to a post it submits all the data not just the modified date/title.

    Are you able to email me the actual .po file to look at? [email protected]

    Plugin Author Doug Wollison

    (@dougwollison)

    Okay, I’ve tried just loading your file on my end and it’s taking forever, and it utterly fails trying to submit, probably because it’s taking so long to compile the data for submission that the browser doesn’t let it finish. Doesn’t help that the data it submits is about 50% larger than the original file.

    I only ever tested this plugin with smaller files, with a few dozen entries max. I’ve encountered a number of people having trouble getting it to play nice with larger files. I’m starting to think this plugin was a futile endeavour.

    The plugin is basically an attempt at a built-in version of this desktop app: https://poedit.net/download, I suggest making your change with that. Once you save the changes, you can either replace the one in the theme (and ditch my plugin), or use continue to use my plugin for it’s replacement feature, and place your modified version under “wp-content/pomo-editor/themes/kallyas/languages/” on the server, assuming the file is under a folder named “languages” in the theme’s folder. Assuming the directory structure matches, it should allow your changes to persist after updates to the theme, however if other stuff has been changed, you’ll need to repeat the process.

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘Error Message When Saving’ is closed to new replies.