• I created new translation and have chosen wp-content/languages/loco/ for destination folder. When I translate particular line of text and press “Save” button, the button changes as like it is saving in the background, but it lasts forever and do not save anything. It seems like something is blocked.
    The same thing happens if I want to edit already existing translation in Author folder.
    What can be wrong?

Viewing 15 replies - 1 through 15 (of 15 total)
  • Plugin Author Tim W

    (@timwhitlock)

    Please provide some information:
    https://localise.biz/wordpress/plugin/faqs/debug-info

    Note in particular the section on Ajax requests.

    Hello,

    i have same problem, latest version of wordpress, 4.7

    Just got recomanded by theme author to use your plugin.

    When i try to translate something and i hit save, it just keeep spening, and nathing happens.

    Sorry for my bad english.

    Hope to see this fixed.

    Thread Starter geronimoni

    (@geronimoni)

    I still have a problem. Sometimes it saves (very rare), sometimes only spinning around like it is saving, but after cca 10 minutes it stops and says: Error,

    I tried with Twenty Fourteen, Fifteen and Sixteen and everything works fine! I tried
    Them means that something with my Theme is wrong. I use Boss theme (https://www.buddyboss.com/), and it is switched into Boss Child theme. Also I use Learndash plugin (https://www.learndash.com/) and it also does not save Loco translations.

    Can you please help!
    Mario

    Plugin Author Tim W

    (@timwhitlock)

    I can’t help you debug problems introduced by commercial themes.

    If you want help with a particular theme, please post a free download link to it. Without this I cannot simply guess what your problem is.

    Thread Starter geronimoni

    (@geronimoni)

    I just sent download links on ttp://localise.biz/ contact form.
    I hope this will work.
    Thank you very much for assistance.
    Mario

    Plugin Author Tim W

    (@timwhitlock)

    I have no problems creating and saving new languages from boss.pot or from learndash.pot.

    Please provide exact steps to reliably reproduce your problem.

    Thread Starter geronimoni

    (@geronimoni)

    I go to: WP>Dashboard>Loco Translate>Plugins>LearnDash LMS, then I chose [New Language]. Then I choose first radio button, and on drop-down menu I choose German language. Then on the location menu, I choose second radio button in order to avoid deletion upon plugin upgrade: languages/loco/plugins/learndash-de_DE.po
    Then I click [Start Translation] button. The translation user interface appears.
    Then, for test purposes I make only one change in one random line of translation.
    The “star” appears on the left side of the line which indicates that the change has been made, then I try to “Save”, but save button starts to spin around without ending. After a 10 minutes it stops and inform me about an error. (please see attached picture)

    You mentioned .pot files, but I see only .po & .mo files. Maybe I am doing something wrong!

    Thread Starter geronimoni

    (@geronimoni)

    Plugin Author Tim W

    (@timwhitlock)

    These are the steps I took and they don’t produce an error for me. I have your theme enabled too.

    After a 10 minutes it stops and inform me about an error

    Your screengrab conveys no useful information. I believe you that the button keeps spinning. You mention there is an error – perhaps posting that is more useful?

    You mentioned .pot files, but I see only .po & .mo files

    When you add a new language, it is created from the POT file.

    Thread Starter geronimoni

    (@geronimoni)

    Oh, I see that the source file is .po file…
    Error message is: Error: Service Unavailable
    This problem drives me crazy.

    Do you think that it might help if I send to you link for /wp-admin login and pass for my web site?
    You can’t mess up anything because this is site where we practice implementation before we make thise changes on live version.

    • This reply was modified 8 years, 2 months ago by geronimoni.
    • This reply was modified 8 years, 2 months ago by geronimoni.
    Plugin Author Tim W

    (@timwhitlock)

    This error will never be thrown from my plugin. I cannot begin to guess at what part of your system is doing so, but I’ve already made suggestions as to how you can narrow that down.

    The advice I gave in my first reply suggests you try to view the raw output of the failed response. This may contain vital clues as to what part of your system is invoking the error.

    Plugin Author Tim W

    (@timwhitlock)

    Regarding your last question – no I do not offer this level of personal technical support.

    Hi, I have the exact same problem, I have LearnDash installed but I was translating a normal theme that is designed for LearnDash, it was working perfect but suddenly stopped, here are some useful info:

    Image for the Error: https://s27.postimg.org/jmzttt4fn/Screen_Shot_2017_01_24_at_12_26_32_PM.png

    Ajax Request Headers (Without Cookies):

    POST /wp-admin/admin-ajax.php HTTP/1.1
    Host: xxxxx.ca
    User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.12; rv:50.0) Gecko/20100101 Firefox/50.0
    Accept: application/json, text/javascript, */*; q=0.01
    Accept-Language: en-US,en;q=0.5
    Accept-Encoding: gzip, deflate, br
    Referer: https://xxxxx.ca/wp-admin/admin.php?path=languages%2Fthemes%2Fthrive-ar.po&bundle=thrive&domain=thrive&page=loco-theme&action=file-edit
    Content-Type: application/x-www-form-urlencoded; charset=UTF-8
    X-Requested-With: XMLHttpRequest
    Content-Length: 161305
    Connection: keep-alive

    Nothing is returned from the ajax request, is there anything I can provide to help fixing this issue?

    Thanks.

    Plugin Author Tim W

    (@timwhitlock)

    Nothing is returned from the ajax request

    Nothing? The fact you see “Unknown Error” means the server did respond.
    The information you’ve provided is the request, as I’ve said in this thread, I need to see the response. Please post the response. If the body is empty, then just post the headers.

    Also, please start a new thread as there is no guarantee you have the exact same issue and it’s confusing addressing multiple people in one thread.

    Hi, I’m seeing an “Unknown Error” message. Console throws the following: “Provide the following text when reporting a problem: –8<–“. Can you help me with this please?

Viewing 15 replies - 1 through 15 (of 15 total)
  • The topic ‘“Save” button in Loco Translate does not work’ is closed to new replies.