August 10, 2017 at 12:16 pm #120250
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 © %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.
Anyone know how to change the code to internationalize properly the year in footer copyright?
Thank you in advance.August 10, 2017 at 12:28 pm #120251
Well, the image doesn’t appear, I try again:
Édit: I don’t understand how to add a picture! Sorry…August 11, 2017 at 2:51 am #120271
@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.
TikaramAugust 11, 2017 at 5:55 am #120280
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]August 11, 2017 at 7:18 am #120284
@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
TikaramAugust 11, 2017 at 9:36 am #120296
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.
FlobogoAugust 14, 2017 at 3:43 am #120393
- The topic ‘Problem with the internationalization of the year in the footer’ is closed to new replies.