Okay
  Public Ticket #1181281
Translation
Closed

Comments

  • roshanshahab started the conversation

    Hi

    I translated the plugins and theme long time ago and everything was fine. Now I realized that translations are not working whether after them or WordPress update. I re-uploaded the .mo and .po files but nothing changed. What do I need to do to fix this?

    Regards

  •  76
    Erik replied

    Hi. 

    You can translate the theme like any other WordPress themes using regular .po files.

    You can read more about localization in official WordPress documentation: 

    https://developer.wordpress.org/plugins/internationalization/localization/

    Or using a third-party plugin like Loco Translate.

    Don't forget to translate all included plugins which come within the theme.

    There is also a chapter regarding translations in our documentation: 

    http://inventorwp.com/documentation/user-guide/translations.html

  • roshanshahab replied

    I have translated all plugins and theme using poedit. Now the translation files are not working. Do you know how to fix this?

    Regards

  •  76
    Erik replied

    Have you followed documentation?

  • roshanshahab replied

    Yes and everything was fine I think since the update of theme or WordPress.

  •  76
    Erik replied

    Where did you copy your .mo files exactly?

  • roshanshahab replied

    wp-content/languages/plugins

    wp-content/languages/theme/superlist

    name example: inventor-ka_GE.mo &  inventor-ka_GE.po

  •  76
    Erik replied

    What is your current language set in the WP admin settings?

  • roshanshahab replied

    English

  •  76
    Erik replied

    So it is obvious it is not working, right?

  • roshanshahab replied

    the default language is English and in wp admin also it is English  

    The translation files were working some days ago before the updates of theme and plugins and also wordpress itself  

    Now the translations for plugins are not working and all I see in all languages is English when it is on plugins like inventor  

    You can ckeck it at getifo.ge

  •  76
    Erik replied

    It can't work if the language is set to English of course. You language file ends with "ka_GE ". So it means you need to set the language to "Georgian - GEORGIA":

    https://lh.2xlibre.net/locale/ka_GE/

    Read more in official WordPress documentation. It is not a theme related issue:

    https://developer.wordpress.org/plugins/internationalization/localization/

  • roshanshahab replied

    they were working fine before. I have 4 languages for my website including English! I have chosen all 4 languages from admin side and have all there. When I choose georgian in frontend backend language chages to georgian. Also theme itself is ok with translations. The issue is with plugins which doesn't care about translation for some reason I don't know!

    How could I find the problem? 

  •  76
    Erik replied

    What exactly is not translated?

  • roshanshahab replied

    I translated every plugin and the theme itself but the translation of plugins are not working.

  • roshanshahab replied

    they were working fine before

  •  76
    Erik replied

    Which phrases/words are not translated exactly?

  • roshanshahab replied

    it`s not about some phrases! translation for whole plugin like "inventor" is not working and other plugins. You can check it. when you want to add listing and the language of website is Russian for example the plugin is not translated and appears in English. I translated them with Poedit (pro version) again and upload the files once again but nothing changed.

  •  76
    Erik replied

    Do you use any third-party plugins?

  • roshanshahab replied

    This one is solved thanks for your help

    Regards

  • hakeeem replied

    How did you fix this issue @roshashab?

  •  76
    Erik replied

    Hi. Translations work just fine both for theme and all included plugins. You can check yourself by switching to any already translated language.

    There is also a chapter regarding translations in our documentation: 

    http://inventorwp.com/documentation/user-guide/translations.html