WordPress.org

Forums

Loco Translate
[resolved] language not found ? (7 posts)

  1. Li-An
    Member
    Posted 1 year ago #

    Hello, trying to translate this plugin http://wordpress.org/plugins/ajaxed-comments/ with Loco, it seems it could not "see" french .po and .mo I added to the good directory - it sees German and Polish files. If I try to create a new language po file for French, it says the file already exists...

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

  2. timwhitlock
    Member
    Plugin Author

    Posted 1 year ago #

    Hello.
    The French language in your plugin has no PO file. This must be present even if there is a MO file. Have you lost the PO file?

    Also, German is not visible in the version I just downloaded because the German PO file has mistakenly been named ajaxed-comments-de_DE.pot when it should be ajaxed-comments-de_DE.po

  3. Li-An
    Member
    Posted 1 year ago #

    Sorry for my bad english: I meant AFTER adding the .po file in the language directory, the french version was not found. You can grab it here: http://www.echodesplugins.li-an.fr/mes-traductions-de-plugins/#ajaxcomments

  4. timwhitlock
    Member
    Plugin Author

    Posted 1 year ago #

    I see. I think this is due to a bug in the way I'm caching the directory listings.

    You can force the plugin to clear its cache by opening your polish PO in the Loco editor and saving it. Going back to the package list should show the French .po

    The next thing on my list is to fix this caching problem.

  5. Li-An
    Member
    Posted 1 year ago #

    OK. Good think to cache the list :-)

  6. timwhitlock
    Member
    Plugin Author

    Posted 1 year ago #

    Latest release 1.4.1 has better cache invalidation. Listings are regenerated if any of the directories' contents changes.

    Please let me know if I can mark this issue as resolved.

  7. Li-An
    Member
    Posted 1 year ago #

    OK, it seems to work.

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.