translation problem with codestyling localization plugin

Home Forums Legacy Support Support queries Translation issues translation problem with codestyling localization plugin

Viewing 15 posts - 1 through 15 (of 24 total)
  • Author
    Posts
  • #63661
    ewanb
    Participant
    Hi I followed all steps of page https://wplms.io/support/knowledge-base/translate-using-codestyling-localization-plugin/ But when I click on "edit" in localization page, I do not see any string and I get the following error message : "Error: The actual loaded translation content does not match the textdomain: vibe Expect, that any text you translate will not occure as long as the textdomain is mismatching! This is a coding issue at the source files you try to translate, please contact the original Author and explain this mismatch."
    #63775
    H.K. Latiyan
    Participant
    Please try to rescan the file before clicking on edit button, the rescan button is just next to edit button. Also let us know which file you are translating and which text.
    #63780
    ewanb
    Participant
    Yes, I followed steps of page https://wplms.io/support/knowledge-base/translate-using-codestyling-localization-plugin/  so I clicked on rescan for all files. This problem appears for every file I tried : bbpress translation file, vibe course module file,... and also for theme translation file.
    #64039
    H.K. Latiyan
    Participant
    We have never seen this error message before and no other users reported this to us. I can suggest you 2 things: 1) Please try using loco translate plugin: https://wplms.io/support/knowledge-base/translate-using-loco-translate-plugin/ This plugin is also available in the wordpress directory. 2) If the issue persists then share the site url and the admin credentials to check the issue on your site.
    #64565
    ewanb
    Participant
    I tried using Loco Translate plugin This is fine for some .po files (like Buddypress) But for some other plugins, for example Vibe Course Module, it doesn't "find" the fr_FR existing translation (see attached screenshot : fr_FR file is set to 0%, and there is no string when editing this language). And of course I will not start back from an empty .po file. How can I "import" the fr_FR translation files that exist ? It seems they are located at wp-content/plugins/vibe-course-module/languages/ Thanks
    #65158
    H.K. Latiyan
    Participant
    First go to wp-admin->settings->general->site language, and select your language there. Once the site language is changed then the wordpress will automatically consider the language file for your language from the wp-content/plugins/vibe-course-module/languages/. Also make sure the languages folder is present in the wp-content folder because all the translations are saved in this global languages folder done by the translation plugin.
    #65177
    ewanb
    Participant
    General site language is already set to french. As I said there is no problem for some other plugins (example : Buddypress) There is a "language" folder in wp-content, do I need to manually move vibe-fr_FR.po to this global folder ? (now it's in wp-content/plugins/vibe-course-module/languages/) thanks
    #65180
    H.K. Latiyan
    Participant
    Do not move it but you can copy and paste it in the wp-content/languages/plugins folder.  
    #65185
    H.K. Latiyan
    Participant
    Make sure the wp-content/languages folder contains two folders i.e. "plugins" and "themes" If not then create them. The theme translation is save in the wp-content/languages/themes folder and plugins translations are saved in the wp-content/languages/plugins folder for the wplms theme and plugins respectively.   
    #65367
    ewanb
    Participant
    After copying the files in the wp-content/languages/plugins folder, I still have the problem : fr_FR file is set to 0%, and there is no string when editing this language.
    #65614
    H.K. Latiyan
    Participant
    I have already mentioned a link above for translating using loco translate plugin. Try translating the strings using the plugin and it will remain safe.
    #66006
    ewanb
    Participant
    Yes I do use loco translate plugin. My problem is that existing file is not recognized. So if I translate strings with the plugin, I have to start back from an empty file, meaning a huge loss of time
    #66163
    H.K. Latiyan
    Participant
    Please make sure your files are present in the wp-content/languages folder. If already present then you have to sync the files and the translations will not be lost. So after updating just try to sync the files, refer: http://prnt.sc/byimm1
    #66222
    ewanb
    Participant
    It appears that all my .po files have been replaced by empty ones on the ftp after loco translate install. Thankfully I had backup files. For the record, the folder where I had to replace the files is not wp-content/languages/plugins but the langage folder of each plugin (e.g. wp-content/plugins/vibe-course-module/languages). That might help someone else aswell. Thanks for helping,
    #66382
    H.K. Latiyan
    Participant
    These files will be lost after the update if you put it in the plugins/languages folder. In the theme the first check is for the files in the global languages folder only. So the correct way is to keep the files in the global languages folder to keep them safe from the updates.
Viewing 15 posts - 1 through 15 (of 24 total)
  • The topic ‘translation problem with codestyling localization plugin’ is closed to new replies.