• hi,
    i have downloaded the mo and po files for the Hebrew translation of bbpress and added them to the language directory so that loco translate can see them, but for some reason i can’t save any moderations.
    even if I’m trying to change the pot file or to create new translation files I’m getting this massage: Error: Forbidden.
    another thing is that the existing translation from the mo and po files is not showing up in the front end.
    i already checked the permissions of the folders and files, and still the problem continues.
    the site is set up on a wordpress network installation and the language is defined “he”.
    i have been trying to work around this for weeks but still no solution.
    i would really appreciate the help

    https://wordpress.org/plugins/loco-translate/

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

    (@timwhitlock)

    First of all make sure you always use a full locale code, so “he_IL” not just “he”.

    I just installed bbpress, made the bbpress/languages folder writable and created a hebrew translation, which got named bbpress-he_IL.mo. The translations show up.

    As for why you’re getting the Forbidden message – you must have the manage_options permission to access Loco screens, but it sounds like you can access the screens, so I doubt it’s that.

    If Loco can’t save the files due to file permissions it will not say “Forbidden” It will explain the problem.

    I’m afraid I can’t tell from your description where the forbidden message is coming from, so I’m out of ideas unless you can provide more information.

    Thread Starter elis85

    (@elis85)

    hi,
    thanks for the fast answer.
    i am using the full locale code.
    the strange thing is that i’m getting this massage only for bbpress but can save any other plugin without a problem.
    i have reinstalled wordpress, bbpress and loco and still no luck.
    what other information do you need to help me out?.

    Plugin Author Tim W

    (@timwhitlock)

    I need to know what is producing the “Error: Forbidden” message and where it is appearing. Is a full screen error? If so, what is in the URL at the time?

    Thread Starter elis85

    (@elis85)

    It shows up as a red warning massage above the translation window.
    no redirect or anything just the massage when I’m clicking the save.

    Plugin Author Tim W

    (@timwhitlock)

    Sounds like the ajax service is throwing this error, but the only reason Loco would raise a “Forbidden” error is if you don’t have the manage_options permission. It would also raise this error for translating all plugins, not just one. Without being able to reproduce your error and without any reason why Loco would be denying access to anything, I’m out of ideas.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Error: Forbidden when trying to save bbpress translation files’ is closed to new replies.