Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #120250
    Flobogo
    Participant

    Hello everyone
    I prepare locally* a redesign of my site with the Full Frame theme. I like it because it is very fast to load.
    I am French, and I noticed an error in the internalisation of the year on copyright in the footer.
    The code in the fullframe-default-options.php file is:
    $fullframe_content['left'] = sprintf( _x( 'Copyright &copy; %1$s %2$s. All Rights Reserved.', '1: Year, 2: Site Title with home URL', 'full-frame' ), esc_attr( date_i18n( __( 'Y', 'full-frame' ) ) ), '<a href="'. esc_url( home_url( '/' ) ) .'">'. esc_attr( get_bloginfo( 'name', 'display' ) ) . '</a>' );
    The mention “all rights reserved” is well translated in french, but the year does not appear at all.
    As I work locally, I can not show the site, so I put a screenshot of the footer.
    no date appear in copyright in footer
    Anyone know how to change the code to internationalize properly the year in footer copyright?
    Thank you in advance.

    #120251
    Flobogo
    Participant

    Well, the image doesn’t appear, I try again:
    the year not appear in copyright in the footer

    Édit: I don’t understand how to add a picture! Sorry…

    #120271
    tikaram
    Keymaster

    @flobogo : Please try disabling all Plugins and click on this link to know more about plugin conflict with our themes. If the problem still persist then try installing a fresh copy of theme. The demo of the theme is working fine so there is no any issues with the theme.
    You may upgrade to Pro version of the theme where you have footer editing options from the customizer. Let me know if you need further assistance.

    Regards,
    Tikaram

    #120280
    Flobogo
    Participant

    Thanks for the quick reply.
    I tested by disabling all the plugins: it does not change anything, the date does not appear on my footer site.
    You say: “The demo of the theme is working fine” but obviously the demo is in English.
    That’s why I think it’s a problem with internationalization or translation. I even tried to modify the file fr_FR.po (with Poedit, of course) but it does not change.
    I specify that I do not want to edit the footer, I just want the year to be displayed in the footer – left, exactly as on the demo.

    I try again to put here the image of my footer:
    [url=https://www.hostingpics.net/viewer.php?id=745279noyearfooter.jpg][img]https://img4.hostingpics.net/pics/745279noyearfooter.jpg[/img][/url]

    #120284
    tikaram
    Keymaster

    @flobogo : Please check the following screen shot. You can see its working fine. I tested it by changing the language to French. There is no any error with internationalization or translation within the theme. You don’t need to modify any of the files to get the year displayed. Maybe, you need to look on other areas to find out the solution. Have you tried installing a fresh copy of theme again. Let me know if you need further assistance.
    Screen shot : https://prnt.sc/g76sbs

    Regards,
    Tikaram

    #120296
    Flobogo
    Participant

    Hi @tikaram,
    The problem is solved, it was indeed an error in the fr_FR.po file : the entry Y (year) was translated by A (année in French) whereas it must remain Y for the translation performs with the internationalization.
    That is what I tried this morning, but I havent’t refreshed correctly. (to refresh the footer, you have to go through Appearance> customize although the footer is scheduled by default in the free version)
    So, it’s resolved for me. I advise you to modify the fr_FR.po file accordingly.

    Bests regards
    Flobogo

    #120393
    tikaram
    Keymaster

    @flobogo : Glad to know that your problem has been solved. Have a Good day.

    Regards,
    Tikaram

Viewing 7 posts - 1 through 7 (of 7 total)
  • The topic ‘Problem with the internationalization of the year in the footer’ is closed to new replies.