• Hello,

    For a reason that I can not explain, my french .po file is on the correct folder of the plugin, but it is not loaded when I activate the plugin.

    Any help ?

    thx a lot

    The page I need help with: [log in to see the link]

Viewing 11 replies - 1 through 11 (of 11 total)
  • Plugin Author Max K

    (@kaminskym)

    Hi,

    You should have the .mo files, because .po files are not used in WP, only .po compiled .mo.

    Max

    Thread Starter Fulgence Ridal

    (@theeponymus)

    Hi,

    sorry … in fact my .po and .mo files are in languages folder …
    but it appears that the translation doesn’t work.

    (config. multisite and last version of wordpress and Ajax login plugin)

    Plugin Author Max K

    (@kaminskym)

    So what exactly part you want to translate?
    Frontend or Backend?

    Thread Starter Fulgence Ridal

    (@theeponymus)

    Hi Max,
    front-end … In fact tab “expressions” section is not translated, but I see inside the .po and .mo files and occurrences are translated but not appear translated in frontend. Ex. “Surname” appears in english, but in .po (and .mo) file, surname is translated.

    Of course I can change occurrences easily for one or few sites … but I have multisite config. and I’m just wondering why it appears not translated in the expressions sections (backend). Is-it normal or a bug ?

    Thx

    Plugin Author Max K

    (@kaminskym)

    See – after the plugin install and before you save the settings by the idea they was generated dynamically and .mo files used, but once you save the settings – they are taken from the database.

    Send me please your .po file, I’ll check.

    Thread Starter Fulgence Ridal

    (@theeponymus)

    Plugin Author Max K

    (@kaminskym)

    Plugin Author Max K

    (@kaminskym)

    I understand

    You have to rename the file to

    ajax-login-and-registration-modal-popup-fr_FR.mo

    Please let me know if that helps.

    Thread Starter Fulgence Ridal

    (@theeponymus)

    Hi MAx,

    Thank you for your help but it doesn’t work.
    I think, there is something strange because in backend, default .mo file is loaded cos half of words are translated (I suppose according to the .mo file). There are translated everywhere except inside the input occurences of expression section.
    I suppose it is a bug or simply a multisite config. bug.

    info : for .mo & .po, I was using the default name when I downloaded the plugin.

    Plugin Author Max K

    (@kaminskym)

    See – after the plugin install and before you save the settings by the idea they was generated dynamically and .mo files used, but once you save the settings – they are taken from the database.

    You could open the link

    YOURSITE.COM/wp-admin/?action=lrm_reset_translations

    This will erase Expressions from the database ach check again Expressions tab.

    Hi there, I also noticed that the default form values are not localized on the class-settings.php. Default values for most fields does not call __() and therefore the translation files even if there will not work.

    Max any chance you can fix this on the plugin sometime soon?

    Thanks

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘.po is not loaded’ is closed to new replies.