Forums

No Plugin Language file loads (3 posts)

  1. anmari
    Member
    Posted 2 years ago #

    Hi - I am on 2.9 and testing language translations of my plugins.
    I have the test wp site in german, however NONE of the plugins language files load.

    the code stylinglocalisaton plugin seems to find them, but wordpress does not. For some reason it thinks the files are unreadable (all). ( I hacked in some debug prints and it is bombing at the "is_readable" check in i18n.php. File names seem correct?

    Does anyone have any ideas?

  2. anmari
    Member
    Posted 2 years ago #

    I have managed to ascertain that it is mo files (which it used to load) generated by code styling localisation that it will not read.

    If I copy and pretend that the main default.mo file is the plugin mo file - then it appears to happily load that.

    .. so now I have to find another way to generate the files and hope thtat they will work.

  3. Naoko McCracken
    Moderator
    Posted 2 years ago #

    I like using Poedit or gettext (command line).

    I think these will be helpful (also try searching "Poedit WordPress" etc on English search engine).
    http://codex.wordpress.org/Translating_WordPress#Translating_With_poEdit
    http://codex.wordpress.org/Translating_WordPress#Translating_With_Gettext_Tools

Topic Closed

This topic has been closed to new replies.

About this Topic