Back to GD Rating System (Lite) Forum

Translation plugin

Published on: January 25, 2017 at 12:08 pm · By: bahus
Author
Topic
#54717

As should be called the translation plug-in files and where they should lie?
Created in the program poedit translation files. I call them standard gd-rating-system-ru_RU.mo and gd-rating-system-ru_RU.po. Place the file in the folder plug-in languages. The plugin does not see these files. In the folder cms   /wp-content/languages/plugins/ plug these files also can not see.
How to make the plugin to see and accept the translation files?

Viewing 6 replies - 1 through 6 (of 6 total)
Author
Replies
  • #54718

    Is your WordPress set to ru_RU? WordPress loads translation files for plugins, only if WordPress is switched to the particular language. You can attach your translation files here, and I can try it out.

    Dev4Press - Premium plugins for WordPress.

  • #54725

    Yes, in the settings wordpress installed ru_RU.
    Files:
    https://dendrblog.ru/1/gd-rating-system-ru_RU.mo
    https://dendrblog.ru/1/gd-rating-system-ru_RU.po

  • #54727

    I think that MO file is not valid, the part where the translations should be is too short to contain any translations. Are you sure that you have exported MO correctly? How many strings have you translated?

    Dev4Press - Premium plugins for WordPress.

  • #54731

    Created files repeatedly in file-save as. Just create two files and po mo. Nothing changed.
    I went in a roundabout way. File-compile to mo format. I create mo file. Further, through the file-save as created both files. According to the old links can be downloaded.
    As a result, the translation plug-in to see the files (at least in the admin panel for sure).
    Clarification:
    In the first case the translation was created from a template gd-rating-system.pot.
    In the second case the translation was created through a translation program menu plug-in which she PROGRAM IS plugin scans files and creates a translation.
    Perhaps in the template file contains inaccuracies, because of which creates an incorrect mo file.

  • #54750

    POT file included is current, and the fact that you have valid PO file (the one you sent) proves that it is OK. I am not sure what is happening, but this looks more like the POEdit issue. I can’t help you with that.

    Dev4Press - Premium plugins for WordPress.

  • #54751

    Thank you for participating. Already everything is fine. To create the correct files. Plugin saw them. Translation displayed.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Translation plugin’ is closed to new replies.