• Hi
    I’m trying to translate a string on the mailpoet plugin using your plugin
    However, I can’t partially see the String to translate in the mailpoet plugin?
    This is the string contained in the mailpoet, but not in your plugin:

    -Yes, unsubscribe me
    – Your preferences have been saved
    -simply click on this link to stop receiving email from us

    That’s what I found, maybe there are others, but I don’t know
    I have also synchronized the strings, but the problem is still there

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author Tim W

    (@timwhitlock)

    This is the string contained in the mailpoet, but not in your plugin:

    Please explain what steps you have taken before arriving at this problem.

    Mailpoet does not ship with a mailpoet.pot template file. This file would define all translatable strings. See FAQ : How can I add a language without a translation template?

    Thread Starter Mushlih Almubarak

    (@mushlih)

    Hi
    I mean, I want to translate the string, but I don’t see the string in your plugin
    Why?

    Plugin Author Tim W

    (@timwhitlock)

    Why?

    The strings you list don’t seem to be extractable by conventional means. You will notice they are missing from the community translations too.

    https://translate.ww.wp.xz.cn/projects/wp-plugins/mailpoet/stable/id/default/

    As mentioned already, if the author wants people to be able to translate these texts they need to provide a POT file that defines the strings. Alternatively they should follow WordPress conventions so that other software can extract them.

    This is why clicking “Add language” from Loco Translate will not work. I assumed this is what you did. I asked you what steps you took, but you did not answer that.

    I notice that this plugin ships with pre-translated MO files, but excludes the PO source files for some reason. Loco will allow you to use any of these files as a stand-in template (as per FAQ I posted above). You can try that, but I doubt they’re reliable. Better to ask the author to provide a valid POT.

    Thread Starter Mushlih Almubarak

    (@mushlih)

    Please explain what steps you have taken before arriving at this problem.

    Hi
    I do this by adding a template, then adding the languages I want to translate, then I look for the strings I want to translate
    That’s where the problem comes in, when I was looking for a string I wanted to translate I couldn’t find it

    Example:
    In the mailpoet plugin there is a string “Hello”
    Then I want to translate the string “Hello” into my language
    Then the problem is, I can’t find the string “Hello” in your plugin, even though I have sync the string
    Thank you

    Plugin Author Tim W

    (@timwhitlock)

    I do this by adding a template

    You won’t be able to do this for the same reasons as already given. The plugin contains strings which cannot be extracted. As I said, ask the author to supply a template.

    I was looking for a string I wanted to translate I couldn’t find it

    The string won’t be in the template, so it won’t be in any translation files created from the template. As already suggested, you could try copying one of the author’s pre-translated files as shown in the FAQ, but there is no guarantee it is reliable either.

    I can only keep giving you the same answers I’ve already given, because there is no mystery here.

    Thread Starter Mushlih Almubarak

    (@mushlih)

    Ok. thank you very much

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘Mailpoet plugin’ is closed to new replies.