Translation plugin

This topic contains 6 replies, has 2 voices, and was last updated by  bahus 9 months, 4 weeks ago.

  • Creator
    Topic
  • #54717

    bahus
    Participant

    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?

    Topic Information
    Bug Report
    7.1
    4.7
    2.0.1
Viewing 6 replies - 1 through 6 (of 6 total)
  • Author
    Replies
  • #54718

    MillaN
    Keymaster

    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

    bahus
    Participant
    #54727

    MillaN
    Keymaster

    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

    bahus
    Participant

    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

    MillaN
    Keymaster

    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

    bahus
    Participant

    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)

You must be logged in to reply to this topic.