Error when translating

This topic contains 4 replies, has 2 voices, and was last updated by  Alex Rollin 5 years, 10 months ago.

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket
  • Author
    Posts
  • #462630

    Marc
    Expired Member
    Post count: 22

    Hello,
    Im trying to translate via Poedit:
    This is a preview of your listing, it has not been published yet. <br />If there is something wrong then “Go back and edit” or if you want to add the listing then click on “Publish”.<br> You are going to pay <b>%s</b> & alive days are <b>%s</b> as %s listing”

    to

    This is a preview of your listing, it has not been published yet. <br />If there is something wrong then “Go back and edit” or if you want to proceed with your listing then click on “Publish”.<br> You are going to pay <b>%s</b> for %s

    But I get an error “a format specification for argument 3 doesn’t exist in ‘msgstr’

    Probably simple, but I feel a bit lost with it right now?
    Thanks.

    #462632

    Marc
    Expired Member
    Post count: 22

    edit: image attached

    #462639

    Alex Rollin
    Moderator
    Post count: 27815

    You must include all three %s

    #462644

    Marc
    Expired Member
    Post count: 22

    Is there a way to remove any of the variables there, or reorder them?

    #462646

    Alex Rollin
    Moderator
    Post count: 27815

    You would need to customize the plugin to remove the expectation of the variable.
    I am not sure but you might be able to wrap it in a tag and hide the tag with CSS?
    Reordering also requires customization.

    FWIW, V2 no longer requires the preview page and so that particular string has been removed.

Viewing 5 posts - 1 through 5 (of 5 total)

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket
20% Discount Offer
Hurry! Get your 20% discount before it expires. Get 20% Discount