Support » Plugin: Football Pool » translation problem

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author AntoineH

    (@antoineh)

    Hi,

    Best way would be to translate via the translate.wordpress.com website. Because that is the future-proof solution and more people can contribute to and have benefit from the translation.

    But the existing translation is quite old, because there is no active translator. So it will need some work before a language pack will be released via WordPress (at least 90% needs to be translated).

    Second option:

    1. open the Polish .po file in the languages folder in Poedit
    2. Update the catalog (choose from the POT file).
    3. Add the translations that you need and save.

    I can send you an updated catalog (steps 1 and 2), if you like. I won’t be able to help with the translations 😀

    Disadvantages of second option: only you will have benefit from the Polish translation. And you need to make a backup of it because when you update the plugin, the file will be overwritten.

    Thread Starter fanman1948

    (@fanman1948)

    Please send me a POT file. I will complete the website translation in my free time.

    Thread Starter fanman1948

    (@fanman1948)

    One more question.
    Is it possible to display prediction sheet only for e.g. 3 days ahead?

    Plugin Author AntoineH

    (@antoineh)

    Here’s the PO file for the Polish language that you can open in Poedit. It is already updated with all translation labels for the latest stable version. Once saved, it will create a MO file that you need to upload to your languages folder of the plugin.

    You would do me a favor if you also import your changed PO file on the translation website:
    https://translate.wordpress.org/projects/wp-plugins/football-pool/stable/pl/default/import-translations/

    One more question.
    Is it possible to display prediction sheet only for e.g. 3 days ahead?

    You can create a predictionform with a shortcode and use that on a page (and then don’t use the standard page). With this you can ‘cut’ your prediction form in pieces and simply update the form with the matches that you want to show.

    There is also an automated way, but that requires some PHP knowledge. You can filter the matches based on dates. I have an example in this post that does this. It’s a different use case, but it shows how you can filter matches from the form.

    Thread Starter fanman1948

    (@fanman1948)

    You would do me a favor if you also import your changed PO file on the translation website

    Done.

    Plugin Author AntoineH

    (@antoineh)

    Ah, cool, thanks. I see you did all translations. I thought you only wanted to change some.

    If you request a review from a GTE in your language, then the status of your work can hopefully be changed from “waiting” to “translated”.
    See here: https://make.wordpress.org/polyglots/handbook/translating/after-your-contribution/

    That would be nice because, with your work, you should easily reach 90% translation coverage.

    Thread Starter fanman1948

    (@fanman1948)

    I have free time today so…;)
    Ok, I’ll work it out yet.

    Euro 2020 soon 🙂

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘translation problem’ is closed to new replies.