New Landing How can we help? Themeforest Theme Support Dante Blog : By author on Date in french

Viewing 15 posts - 1 through 15 (of 17 total)
  • Posted in: Dante
  • #181368
    newki
    Member
    Post count: 177

    Hello,

    How can I do to display “By” “On” in French ?
    Thanks !

    #181586
    Rui Guerreiro – SUPPORT
    Keymaster
    Post count: 25779

    Hi,

    You should find these 2 text inside the translation files, you just need to translate it.
    http://dante.swiftideas.net/documentation/#translation

    By <span itemprop="author" class="fn">%1$s</span> on <span class="date updated">%2$s</span>

    By <span itemprop="author" class="fn">%1$s</span>

    Hope it helps.

    -Rui

    #181609
    newki
    Member
    Post count: 177
    This reply has been marked as private.
    #181610
    newki
    Member
    Post count: 177

    Ah, I can’t send you the file, not permitted…

    #181612
    Rui Guerreiro – SUPPORT
    Keymaster
    Post count: 25779

    place it inside a zip file and attach.
    -Rui

    #181615
    newki
    Member
    Post count: 177
    This reply has been marked as private.
    #181620
    Rui Guerreiro – SUPPORT
    Keymaster
    Post count: 25779

    You had several format errors. It seems you changed the original text.
    You can’t change the text in msgid only the text in msgstr, you have to place it back.

    You should have something like this:

    msgid "By <span itemprop="author" class="fn">%1$s</span> on <span class="date updated">%2$s</span>"
    
    msgid "Posté par <span itemprop="author" class="fn">%1$s</span> sur <span class="date updated">%2$s</span>"
    

    -Rui

    #181627
    newki
    Member
    Post count: 177

    OK I’ll put the initial file back and will check this tomorrow. Tx !

    #181711
    Rui Guerreiro – SUPPORT
    Keymaster
    Post count: 25779

    ok. Let us know how it goes.
    -Rui

    #182080
    newki
    Member
    Post count: 177

    Hello,

    I’ve put back the original file. I really don’t see which line is concerned by the pb of translation on my home : “By author on date”. Everything seems to be translated in the language file. Could you tell me which line it is?
    Nice day !

    #182219
    Mohammad – SUPPORT
    Moderator
    Post count: 27441

    Hi,
    You can find it at fr_FR.po and change through PO edit software. It will create mo file so please upload both po and mo files. You can use this plugin for missing translation https://wordpress.org/plugins/real-time-find-and-replace.
    Thanks
    Mohammad

    #182236
    newki
    Member
    Post count: 177
    This reply has been marked as private.
    #182241
    Mohammad – SUPPORT
    Moderator
    Post count: 27441

    Hi,
    1-You will need to open the .po file in PO Edit. Once opened, you will see all strings that needs to be translated. Type the translation of a string into the

    2- “Translation” column. Do not delete or edit “Original string” part.
    When you finish translating, save the file. This will create an .mo file in the same directory.

    3- Upload the new files into the languages folder of the theme /wp-content/themes/dante/languages/ and then follow this guide: http://codex.wordpress.org/Installing_WordPress_in_Your_Language#Single-Site_Installations
    Thanks
    Mohammad

    #182244
    newki
    Member
    Post count: 177

    Yep but I mean that in the translation column; the “by… on” seem to be translated as “Posté par… le” but on my blog, I still have the english translation.

    #182268
    Mohammad – SUPPORT
    Moderator
    Post count: 27441

    Hi,
    Please follow my last reply to create this translation again through PO edit software. This will generate mo files so please both po and mo files at /dante/language/.
    Thanks
    Mohammad

Viewing 15 posts - 1 through 15 (of 17 total)

You must be logged in and have valid license to reply to this topic.

License required for one of the following items
Login and Registration Log in · Register