• Resolved costas90

    (@costas90)


    Hello,

    I am confused right now.

    The plugins strings do not appear in the Strings Translation in Polylang.

    As a result I tried to check with the .mo file in the plugin;s directory. For example, I am trying to translate the yarpp plugin. I have translated the .po file with Poedit, and also uploaded the new .mo file in /plugins/yet-another-related-posts-plugin/languages/yarpp-el.mo

    The .mo file doesnt load though.

    I am just learning about this so I dont really know what I am doing! I would appreciate some guidance.

    Also, I tried to find the CodeStyling Localization plugin but I think it doesnt exist anymore.

    Thanks,

    Costas

    https://wordpress.org/plugins/polylang/

Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Support Chrystl

    (@chrystl)

    Hello

    The plugins strings do not appear in the Strings Translation

    Strings provide by your plugin are not translatabled in Strings translation.

    Could you check “The language is set from the directory name in pretty permalinks” in Settings > Languages > Settings tab.
    Does it work? 

    Thread Starter costas90

    (@costas90)

    Hello,

    I have checked The “language is set from different domains”.

    I dont want to messup the permalink structure. Is there another way to check it?

    Plugin Support Chrystl

    (@chrystl)

    Some themes or plugins are not compatible with this option “The language is set from different domains”.
    Check “The language is set from the directory name in pretty permalinks” could solve your issue.
    If it does not solve your issue you can revert to the “The language is set from different domains” without trouble.

    Could you give a link to your website?

    EDIT: Did you rename your po/mo in a correct way?

    In according with the WordPress Locale rename files with the WordPress Locale column.
    i.e for French admin side: admin-fr_FR.po and admin-fr_FR.mo
    For the frontend: fr_FR.po and fr_Fr.mo

    Thread Starter costas90

    (@costas90)

    Yes I did change it to the correct locale.

    If it helps, I remember that in the past I clicked the “Clean strings translation database”.

    I tried different ones actually! After changing them though, do I have to do something to see if it works? For example, clearing the cache or hitting save in the settings again?

    Plugin Support Chrystl

    (@chrystl)

    Polylang will never put your YARPP strings in the Strings Translation. Strings provide by your plugin must be handle with a plugin as Codestyling Localization (no more in WordPress directory), or Loco translate.

    But I see there is a problem with the po/mo names. YARPP plugin names its po/mo in a wrong way: yarpp-el_EL.mo yarpp-el_EL.po. WordPress will read these files only if your rename them as yarpp-el.mo and yarpp-el.po.

    After rename these files, put them in wp content/languages/plugins

    Thread Starter costas90

    (@costas90)

    I named the files like you said. I have also put them in wp content/languages/plugins.

    The translated content is not loaded still.

    I tried emptying my broswer’s cache and the website’s cache. Also trried saving the polylang language settings and the permalinks settings.

    Here is an example page on the site: http://www.gnicolaou.com.cy/blog-gr/%CF%80%CE%B1%CF%81%CE%B1%CE%BB%CE%B1%CE%B2%CE%AE-%CF%84%CE%B5%CF%87%CE%BD%CE%BF%CE%B3%CF%81%CE%B1%CE%BD%CE%AF%CF%84%CF%89%CE%BD-%CE%B5%CF%81%CE%B3%CE%BF%CF%83%CF%84%CE%AC%CF%83%CE%B9%CE%BF/

    Scroll at the end of the page where the social networking buttons are.

    Plugin Support Chrystl

    (@chrystl)

    Thread Starter costas90

    (@costas90)

    oh I didnt know about that.

    Probably thats the problem.

    Thanks for your help!

Viewing 8 replies - 1 through 8 (of 8 total)

The topic ‘Plugin is not Translated’ is closed to new replies.