WordPress.org

Ready to get started?Download WordPress

Forums

Loco Translate
Invalid MO format (6 posts)

  1. knsr
    Member
    Posted 1 month ago #

    Hello,

    I would like to use the plugin, but when I try add a new language an error message is printed :
    Error: Invalid MO format

    Is something wrong with plugin's prerequisites ?

    Thanks

    KNSR

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

  2. timwhitlock
    Member
    Plugin Author

    Posted 1 month ago #

    What software generated the MO file?

    Loco will only read a MO file if it can't find a corresponding PO file.

  3. knsr
    Member
    Posted 1 month ago #

    Ok, that's a good question :)

    Actually the theme is out of the box, and when I look into the dir tree, I can't see any .mo file.

  4. timwhitlock
    Member
    Plugin Author

    Posted 1 month ago #

    I don't know why it would read a MO file without the .mo extension.
    What theme is it?

  5. knsr
    Member
    Posted 1 month ago #

    The theme is Codilight.

    In File system permissions for Codilight , I can see a :
    themes/codilight/default.po

    Do I need to generate to .mo from this file ?

  6. timwhitlock
    Member
    Plugin Author

    Posted 1 month ago #

    This is a pay-for theme, so I can't try it without buying.

    Generating a MO file from the PO is not your issue. Loco won't try to read a MO file unless there is no PO file. You're saying it's already trying to read a MO file and failing. I need to work out why that is. If you can send me the theme I will check if there is a problem.

Reply

You must log in to post.

About this Plugin

About this Topic

Tags

No tags yet.