WordPress.org

Forums

Loco Translate
[resolved] Invalid MO format (8 posts)

  1. knsr
    Member
    Posted 1 year 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 year 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 year 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 year 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 year 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 year 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.

  7. timwhitlock
    Member
    Plugin Author

    Posted 11 months ago #

    Have you managed to resolve your issue?

    Please note a new version has been published since this ticket was opened (1.4.6)

  8. knsr
    Member
    Posted 11 months ago #

    It's OK.
    I manage this by translating the PO mannualy.

    Thanks

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Loco Translate
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic

Tags

No tags yet.