Title: Translation
Last modified: May 19, 2018

---

# Translation

 *  Resolved [spaniole](https://wordpress.org/support/users/spaniole/)
 * (@spaniole)
 * [8 years, 1 month ago](https://wordpress.org/support/topic/translation-885/)
 * Where to change the **month name** in “Answer before 11. **June**…” _(example)_
   at the Bonus questions section, need to be in another language, please. I can
   see in some earlier versions of Football Pool, it was like 2018-06-11.
 * After every update of Football Pool, I have to hardcode translate the following
   text _(can see in the PO file for my language __(Danish)_, it’s all okay, but
   the translations are not displayed at all, can’t figure out why).
    ../football-
   pool/pages/class-football-pool-pool-page.php You have to be a registered user
   and logged in to play in this pool.
 * ../football-pool/widgets/widget-football-pool-shoutbox.php
    save
 * ../football-pool/pages/class-football-pool-statistics-page.php
    You can select
   other users in the chart settings. No users selected The top 5 players are shown
   below
 * ../football-pool/classes/class-football-pool-matches.php
    Match statistics
 * ../football-pool/pages/class-football-pool-statistics-page.php
    No settings available
 * Thanks for a great plugin.

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

 *  Plugin Author [AntoineH](https://wordpress.org/support/users/antoineh/)
 * (@antoineh)
 * [8 years, 1 month ago](https://wordpress.org/support/topic/translation-885/#post-10298871)
 * > Where to change the month name in “Answer before 11. June…” (example) at the
   > Bonus questions section, need to be in another language, please. I can see 
   > in some earlier versions of Football Pool, it was like 2018-06-11.
 * I changed this code to follow the date and time settings of WordPress. But for
   the frontend of your site, you can override this [date format](http://php.net/manual/en/function.date.php)
   with a constant in wp-config.php, e.g.:
    `define( 'FOOTBALLPOOL_QUESTIONDATETIME_FORMAT','
   Y-m-d' );`
 * > After every update of Football Pool, I have to hardcode translate the following
   > text (can see in the PO file for my language (Danish), it’s all okay, but the
   > translations are not displayed at all, can’t figure out why).
   >  ../football-
   > pool/pages/class-football-pool-pool-page.php You have to be a registered user
   > and logged in to play in this pool.
 * Do you also create a new compiled translation (mo-file)?
 * p.s. It is best that you do not change the files in the plugin directory, these
   get overwritten on every update of the plugin by WP. So, if you want to keep 
   your own translations, store your files in a sub-folder of the general languages
   folder of WP. Path in standard installs: /wp-content/languages/football-pool/
 * If your files are stored there, they don’t get overwritten. And these translations
   get preference over the translations in the plugin folder.
 * p.s.2. If you think that your translations are better or more complete, I can
   also include yours in the plugin install. Or I can ask the [translation team](https://translate.wordpress.org/locale/da/default/wp-plugins/football-pool)
   to make you plugin translation editor.
 *  Thread Starter [spaniole](https://wordpress.org/support/users/spaniole/)
 * (@spaniole)
 * [8 years, 1 month ago](https://wordpress.org/support/topic/translation-885/#post-10299131)
 * Thanks for the date format.
 * New MO file has been compiled, no change, still miss the translations as described.
   
   I’m aware of that the files been overwrited at update, but for full translation
   in danish, I have to hardcode some translation – but that’s okay, their not so
   many entries to change. The Football Pool’s da_DK PO file appears to be sufficient,
   but nevertheless, the translations is not displayed 100%, strange!
 *  Plugin Author [AntoineH](https://wordpress.org/support/users/antoineh/)
 * (@antoineh)
 * [8 years, 1 month ago](https://wordpress.org/support/topic/translation-885/#post-10299214)
 * I just changed my install to Dansk to see what happens and I indeed noticed that
   the shoutbox widget save button was not translated. When I opened the translation
   file I saw that this translation was labelled as “needs work” (“fuzzy” in older
   versions of Poedit). When I made this translation final and saved to a mo-file,
   the correct translation was shown on the button. Maybe you can check this for
   the other translations?
 *  Thread Starter [spaniole](https://wordpress.org/support/users/spaniole/)
 * (@spaniole)
 * [8 years, 1 month ago](https://wordpress.org/support/topic/translation-885/#post-10299291)
 * I’ll check it out, thanks for helping.
    My da_DK PO & MO files I do use, can 
   be seeing here -> [https://www.dropbox.com/s/za7tp8zaw2827jl/football-pool-da_DK.zip?dl=0](https://www.dropbox.com/s/za7tp8zaw2827jl/football-pool-da_DK.zip?dl=0)–
   and I think the aforementioned texts, has been full translated, but do not being
   displayed as expected.
 *  Plugin Author [AntoineH](https://wordpress.org/support/users/antoineh/)
 * (@antoineh)
 * [8 years, 1 month ago](https://wordpress.org/support/topic/translation-885/#post-10299356)
 * What also may help, is to update the po catalogue from the pot file before you
   translate. I updated your [po file](https://www.dropbox.com/s/27xruryzvqrzb6c/football-pool-da_DK.po?dl=0)
   and uploaded it to my dropbox.
 *  Thread Starter [spaniole](https://wordpress.org/support/users/spaniole/)
 * (@spaniole)
 * [8 years, 1 month ago](https://wordpress.org/support/topic/translation-885/#post-10299414)
 * Thumbs up – I’ll be testing it at the next update of Football Pool. Thank you
   so much.

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

The topic ‘Translation’ is closed to new replies.

 * ![](https://ps.w.org/football-pool/assets/icon-256x256.png?rev=983880)
 * [Football Pool](https://wordpress.org/plugins/football-pool/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/football-pool/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/football-pool/)
 * [Active Topics](https://wordpress.org/support/plugin/football-pool/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/football-pool/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/football-pool/reviews/)

 * 6 replies
 * 2 participants
 * Last reply from: [spaniole](https://wordpress.org/support/users/spaniole/)
 * Last activity: [8 years, 1 month ago](https://wordpress.org/support/topic/translation-885/#post-10299414)
 * Status: resolved