Translate error

This topic contains 6 replies, has 3 voices, and was last updated by  Guust 8 years, 3 months ago.

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

Open Support Ticket
  • Author
    Posts
  • #113911

    Dzjabrail Baas
    Expired Member
    Post count: 45

    Good day,

    I was busy translating the English PO file into Russian when I came across with this problem. Is there a some kind of solution for it?

    http://prntscr.com/9wm58u

    Thanks in advance!

    #113912

    Guust
    Moderator
    Post count: 29970

    It looks like you are not creating a translation, but you are just changing the English file.
    You need to use the option “create a new translation”.
    Not sure that will solve your trouble.

    Have you looked at
    https://wpgeodirectory.com/docs/getting-translation-files/
    https://wpgeodirectory.com/docs/translate-core/

    #114202

    Paolo
    Site Admin
    Post count: 31206

    Normally that means there are strings with errors. They are normally marked in red and placed at the bottom of the file.

    Let us know if this helps.

    Thanks

    #114432

    Dzjabrail Baas
    Expired Member
    Post count: 45

    Well anything I write as the translation for this text, it gives me this error message;

    Error: a format specification for argument 1 doesn’t exist in ‘msgstr’.

    I have no idea how to fix this..

    #114433

    Guust
    Moderator
    Post count: 29970

    That source text contains two variables, and you are not using those in the translation.
    The translation is expecting

    %s

    twice

    #114550

    Dzjabrail Baas
    Expired Member
    Post count: 45

    Thanks Guust, I fixed it!

    #114551

    Guust
    Moderator
    Post count: 29970

    Well done 🙂

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

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

Open Support Ticket