-
perspexyParticipant
Hi, I started using WP Cover today, and am about to translate. However: shall I help you by adding the Dutch translation?
Daniel TaraKeymasterHi,
Sure thing, any user contribution is welcome! I’ll add your translation to the theme and credit you for it.
standeParticipantHello,
Thanks a lot for your theme – I like it and used for my site http://www.ovsyanka.co.uk/. I would like to translate it to Russian, but don’t understand how I can do it. Can you please help me in this?
Thanks.
Daniel TaraKeymasterFirst you’ll need to [url=http://www.poedit.net/download.php]download Poedit[/url] which is the program that handles translation files.
Then, grab a translated file, either de_DE.po or ro_RO.po, make a copy of it and name it ru_RU.po
Open it with Poedit and you’ll see all the text strings in English in the left column. Replace them with the Russian translation in the right column.
NemesisParticipantHey,
I’m using the cover-wp theme. I really like it and I managed to translate almost everything to polish as I wanted to (thanks for help with that). But I still have a tiny problem. The pages listed in menu just below the header are all in polish except for ‘Home’ I can’t find a way to translate it :/
http://www.biurowodzislaw.pl/Daniel TaraKeymasterI haven’t localized that part, you can do it yourself if you want. Find this line:
<li<?php if(is_home()) echo ' class="current_page_item"'; ?>><a" href="<?php echo home_url(); ?>/">Home</a">
replace it with:
<li<?php if(is_home()) echo ' class="current_page_item"'; ?>><a" href="<?php echo home_url(); ?>/"><?php _e('Home', 'cover-wp'); ?></a">
Watch out, there’s a typo added automatically, a ” after the a, just remove the “.
You’ll have to update the catalog afterwards.- This reply was modified 12 years, 11 months ago by Daniel Tara.
oro77ParticipantSorry but I did not find the file to edit in order to change the “Home” string.
Thank you in advance.
AngeloParticipantI’have just started using WP Cover, but I cannot see how to change from English language to another one available.
What I mean is that I cannot find the command to change language.
Thanks
AngeloDaniel TaraKeymasterTo change the language you need to open the wp-config.php and edit the line
define( 'WP_LANG', '' )
Insert the desired language between the empty brackets, for example:
define( 'WP_LANG', 'de_DE' )
AngeloParticipantThanks.
I have checked WP_LANG, and I have seen that there is already “define( WPLANG, it_IT )”, that’s fine by me beacuse I’m looking for the italian version. I have seen that there is the it_IT.po file with all the traslation needed.
Nevertheless, the traslation is not done right. On http://www.piccolidavide.org, that is the blog that I’m setting up, some words are in Italian some are in English. For example, “Popular”, even if is translated with “Popolare” in it_IT.po, is shown as Popular.fw190ParticipantYou can always do it the hard way and edit the files inside the wordpress editor. I used to do it this way till I found this topic and the needed program.
AngeloParticipantThanks for the answer.
While awaiting I tried differently and it worked out: I did a copy of the de_DE.po file changing the name into it_IT.po and replacing this new created file to the existing it_IT.po one.
I have now another problem: I translated “Featured” into “In evidenza”, I created the new category “In evidenza” but it doesn’t work. What I mean is that the post created in the category “in evidenza” are not shown in the corresponde section of the homepage.
Thanks
AngeloAngeloParticipantProblem solved , thanks. I change 4 files (404.php, home.php, search.php. theme-options.php)
ThanksDaniel TaraKeymasterIt may be because this theme hasn’t been updated quite a while. I can see some lines of code necessary for localization are missing. An update is planned.
Tagged: translate
You must be logged in to reply to this topic.