• Resolved joben

    (@joben)


    I can’t seem to use translation plugin Polylang to change the values of “Page 1 of 2”, “Prev”, “Next”.

    Are these values hard-coded?

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author mauvedev

    (@mauvedev)

    Hi Joben,

    Apologies for the late reply. It’s certainly interesting keeping up with all that’s happening at the moment.

    I needed to create something specific in js to achieve the ability to use the shortcode near infinitely on a single page, todo this each instance for next/prev is unique which may be why its difficult to translate them.

    I’m not familiar with Polyang or translation support as this is my first plugin. If you can provide some more information of what is happening and or what you would like my plugin todo I will see if I can develop a solution.

    Plugin Author mauvedev

    (@mauvedev)

    I’ve worked it out, there is a first for everything. I’ve added WP native translation support, is this a solution?

    I’ve included 2 translations es_ES and de_DE. I’ve translated to the best of my knowledge as there are only a couple rendered words, hopefully correct. If you need an additional language let me know and I will release an update.

    Thread Starter joben

    (@joben)

    This is great!

    I have created a Swedish .po and .mo file that you can include in the next release if you want.
    It can be downloaded here: https://we.tl/t-BtVaw64Me2
    I have tested it and it works.

    Or you can just take the strings from here:

    #: medialist.php:57
    msgid “Pages”
    msgstr “Sida”

    #: medialist.php:58
    msgid “of”
    msgstr “av”

    #: medialist.php:59
    msgid “Prev”
    msgstr “F?reg?ende”

    #: medialist.php:60
    msgid “Next”
    msgstr “N?sta”

    Why not prepare the plugin for community translation at translate.www.ads-software.com?

    Right now, things seem to be a mess, though.
    You have copied the full structure into /tags/1.2.4 but you should only copy whatever is under /trunk/

    After that, you can check yourself, using a tool that was developed by @casiepa https://wp-info.org/tools/checkplugini18n.php?slug=media-list to see what you need to fix further.

    Plugin Author mauvedev

    (@mauvedev)

    Nice, I will add that to the next release.

    Ah, thanks for pointing that out. Lesson learned, always check. I use tortoise SVN, I’m guessing I was either in the wrong location or clicked the Merge button.

    That’s great, that tool will come in handy, I’ve been looking into the community translation side of things, it is a goal.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘feature request: support for translation’ is closed to new replies.