I like this extension but I have a site in French and would like that the page title shown is not “Yearly archives: 2011” but “Archives annuelles: 2011”
How could I modify the titles?
Can you share a link to the page in question?
Is French the default language of your WordPress installation in the wp-config.php file? I think ‘Yearly Archives: 2011’ is being generated by WP’s language files.
In the meantime, we will add the text domain and the ability to translate all elements of the plugin into any language you wish. More info to follow.
In wp-config.php ther’s a line :
I cannot post a link to the page because it is still in development and I do not wish to publish any link for the time being.
Thanks for your reply.
Are you using the sidebar or the shortcode?
If Shortcode, please paste the exact shortcode, so we may test that it is translating properly.
For now, please do this:
- update to version 1.2 (fresh out of the plugin oven)
- go to our community translation tool and translate the plugin into French
- when you are finished, export the .po and .mo files
- rename the files to anarch-fr_FR.po and anarch-fr_FR.mo
- upload these files to the plugin’s languages sub-folder
We will include all new translations in future releases.
In the community translation tool I couldn’t find out how to start a new translation. There’s only the German translation and didn’t find any “Add new” link. Please give details.
I did what was recommended but there are some missing items to translate.
I did a widget with an annual archive and when I click on one of the years I still get “Yearly archives: 2011”
Regarding the French translation of the plugin: Great Job! We have included the french translation in version 1.2.1 of the plugin available here: http://plugins.twinpictures.de/plugins/annual-archive/
Wait, so where exactly is “Yearly archives: 2011” being displayed? Not in the widget, but on the archive page that 2011 links to? The archive page from your theme?! If so, then it’s your theme that needs to be translated! Which theme are you using on your site? If your page will be offered only in french, this will be an easy fix…
I used a sidebar widget setting it as annual. On the page I get a list of years, as expected. When I click on on of the years, I get a page with the archived items for that year but on top of that I get “Yearly archives: 2011”.
I’m using the twentyten template with some modifications.
The site is all french.
We just did a test on our test server: http://spacedonkey.de/date/2012/
If you set your browser to French, the site will display correctly in French.
This is what we did to make it work:
- Download WordPress in French.
- Copy up the twentyten language files: fr_FR.po and fr_FR.mo located in the French WordPress folder under:
wp-content > themes > twentyten > languagesto your server using FTP
That’s it. As In your wp-config.php you have:
define('WPLANG', 'fr_FR');and you have fr_FR.po and fr_FR.mo files loaded for both WordPress and Twenty Ten, everything should be working!
Perfect. I was missing the french translation files for the template. The original installation was in English and only later installed the French version, but I hadn’t copied the template translation files.
Thanks a million.
- The topic ‘[Plugin: Annual Archive] Change title language’ is closed to new replies.