Support » Plugin: ProfileGrid – User Profiles, Memberships, Groups and Communities » Problems with translation after I update the plugin!

  • Hi
    I just updated your plugin, however, everything I translated using the Loco Translate plugin returned to English after I updated your plugin! Even though I have translated many words.
    I have also used the rollback plugin to revert to the previous version, but the translation is still in English!
    Can you give me a solution, because I’m also tired of translating?
    Thank you

Viewing 8 replies - 1 through 8 (of 8 total)
  • Hi,

    I’m not from ProfileGrid, but if you translate a plugin then the tranlation is keeped in a folder /wp-content/plugins/yuorplugin/languages/… with a name ending on …fr_FR.mo and …fr_FR.po (example for France, Francais).

    If you upgrade a plugin and your translations are not yet inplemented by the developer they are lost with an upgrade. You can easy get it back with a backup before every upgrade – if you do so. Or keep the .mo an .po file on your local pc and copy it back after upgrade.

    An update of a plugin reset always all files to original.

    Regards, Wilfried

    Plugin Author profilegrid0

    (@profilegrid0)

    Hello @mushlih,

    WordPress updates all files once you upgrade the plugin on site. You will be required to save the translated language file to your load system and update the files after each plugin update on site.

    Let us know if you have any other questions.

    Thread Starter Mushlih Almubarak

    (@mushlih)

    How to save the translation file?

    Before upgrading, copy the translated file to your local computer. After upgrade you can copy it back. Then you keep all translations.

    If translation is ready you can send the translation file to the developers to include it in the package.

    Thread Starter Mushlih Almubarak

    (@mushlih)

    Sorry, how do I save the file?
    I’m still a beginner

    Sorry I was not clear. Your website is on a host. On that host you can login with FTP (not browser, but file manager, or a program like Fiezilla or other). The same way like you probably first installed WordPress.

    then you have there the www folder, you go to /wp-content/plugins/name-plugin/ And there you problably have some ‘language’ folder.

    Find there the file that ends on your contry-language, for example be_FR (for Belgium / French). The extention is .mo or .po. Copy both of the files.

    The structure is (as far as I know) the same for all plugins.

    Does this is more clear?

    Plugin Author profilegrid0

    (@profilegrid0)

    You may save the translation files on your local server and then can add them to the plugin after the update. You may share the translation files with us and we will add this to the plugin in one of our future releases.

    Thread Starter Mushlih Almubarak

    (@mushlih)

    Ok, thank you

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Problems with translation after I update the plugin!’ is closed to new replies.