• Resolved mouzaia

    (@mouzaia)


    Hello Kieran, and thanks for that beautiful calendar.
    I just dont know where do I have to place the .mo I did with poedit ?
    I tried in the wp-content/plugins/calendar or in the wp-content/languages/plugins with a name like wordpress-calendar-fr_FR.mo and .po with no success !
    Thanks for your help

    https://www.ads-software.com/plugins/calendar/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter mouzaia

    (@mouzaia)

    In fact the .mo is not manufactored by poedit !

    T?
    
    Report-Msgid-Bugs-To: Kieran O'Shea <[email protected]>
    POT-Creation-Date: 2015-10-10 15:05+0200
    PO-Revision-Date: 2015-10-10 15:55+0200
    Language-Team: Kieran O'Shea <[email protected]>
    MIME-Version: 1.0
    Content-Type: text/plain; charset=UTF-8
    Content-Transfer-Encoding: 8bit
    X-Generator: Poedit 1.8.4
    Last-Translator:
    Plural-Forms: nplurals=2; plural=(n > 1);
    Language: fr_FRT?

    Could it be a pb with the header of the .pot ?

    # Calendar translation file
    # Copyright (C) 2015 Kieran O'Shea
    # This file is distributed under the same license as the Calendar package.
    # Kieran O'Shea <[email protected]>, 2015
    #
    #, fuzzy
    msgid ""
    msgstr ""
    "Project-Id-Version: calendar-1.3.5\n"
    "Report-Msgid-Bugs-To: Kieran O'Shea <[email protected]>\n"
    "POT-Creation-Date: 2015-09-22 20:42-0000\n"
    "PO-Revision-Date: 2015-09-22 20:42-0000\n"
    "Last-Translator: Kieran O'Shea <[email protected]>\n"
    "Language-Team: Kieran O'Shea <[email protected]>\n"
    "MIME-Version: 1.0\n"
    "Content-Type: text/plain; charset=UTF-8\n"
    "Content-Transfer-Encoding: 8bit\n"

    Thanks for the help

    Thread Starter mouzaia

    (@mouzaia)

    Finally I found, with no help ??

    I need to do a folder on my personal machine (where I use poedit), and in that folder, I put calendar.pot and calendar.php
    Then I poedit calendar.pot, I name the generated files “calendar-fr_FR.mo” and “calendar-fr_FR.po” and I ftp back the 2 files .mo and .po in the plugins/calendar folder, that is.

    Plugin Author Kieran O’Shea

    (@kieranoshea)

    Glad you got this to function.

    The next release will make things a lot easier with regards translations, including support for around 20 languages out of the box

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Where to place .po and .mo ?’ is closed to new replies.