Okay
  Public Ticket #3121579
lost translations
Closed

Comments

  •  12
    MeesterGijs started the conversation

    Hello,

    Yesterday I downloaded the latest version of plugins VibeBP and WPLMS. Today I see I lost my translation, for the VibeBP plugin. Where in FTP should I place the translation file so that it won't get lost after updating the plugin?

    Gijs

  • [deleted] replied

    Well we recommned to use the translation files in global wp-content/languages/plugins folder : 

    https://wplms.io/support/knowledge-base/translate-using-loco-translate-plugin/

  •  12
    MeesterGijs replied

    I have already made some translations so I wanted to copy/paste that .po file to wp-content/languages/plugins folder, but I couldn't find the edited vibebp-nl_NL.po file anywhere. Do you know where I can find that file? I have put translations here but for example I couldn't find this string in the plugin language file or in the languages folder...

    Do you know where I can find the file that has my translations?

    Gijs

  • [deleted] replied

    ITs already in 

    languages/plugins/vibebp-nl_NL.po


    It seems like you changed some setting or something which might have deleted the old translation file . 


  •  12
    MeesterGijs replied

    Oh, that's because I was adviced to update wplms and vibebp plugins. I had to download them thus having to install them. For installing them I had to delete the previous versions... But deleting a plugin and installing it again, does that make you lose the translations?

  • [deleted] replied

    No it does not make lossing translation please carefully refer this tip : 

    you need to create your language transaltion file in wp-content/languages folder . 

    then your translation will retain on update you just have to sync the template file as per : https://wplms.io/support/knowledge-base/translate-using-loco-translate-plugin/

  •  12
    MeesterGijs replied

    I always go to edit template, sync (saving afterwards is often not an option, because I didn't change a string). I then creat a new language, choose second option: system located. I open new language file, I sync and start translating and save my changes.

    Is this the correct way of doing things?

  • [deleted] replied

    wrong path for translations : https://prnt.sc/kARt9gLCfC9i

    it should wp-content/languages/plugins folder .

  •  12
    MeesterGijs replied

    How do I change the path?

  • [deleted] replied

    Craete the language file again or copy from de_DE.po de_DE.mo files from your wp-content/plugins/{plugin_name}/languages folder to wp-content/languages/{plugin_name} folder .

  •  12
    MeesterGijs replied

    And should they put as single files in the wp-content/languages folder, or should I put them in a folder named after the plugin? See screenshot, there are already signle translations in the folder, but also put in folders; woocommerce, plugins, etc. What's the best way?

  • [deleted] replied

    you need to put the po and mo files in wp-content/languages/plugins folder and for theme translation in wp-content/languages/themes folder

  •  12
    MeesterGijs replied

    This is what it looks like now, for wplms_plugin. Have I done it correctly? See this as well.

    And next steps, when language is not yet avaiable are:

    • Edit template, sync and save.
    • Create new langauge, location: system

    After that I can translate and changes will be saved even when plugin is deleted and reinstalled or when updated? Correct?

    Gijs


  • [deleted] replied

    Well according to this seems to be correct . 

    If I check this  : then these wplms-nl_NL.po/mo files must be directly in the wp-content/languages/plugins folder .https://prnt.sc/kpVduzMpoXCv


  •  12
    MeesterGijs replied

    Ok, so I have done it correctly and don't need to change anything anymore.

    Let's close. Thanks, Alex!