StudioPress Community Forums

StudioPress Community Forums (http://www.studiopress.com/support/index.php)
-   General Discussion (http://www.studiopress.com/support/forumdisplay.php?f=7)
-   -   Help for italian language translation ... (http://www.studiopress.com/support/showthread.php?t=2435)

according 12-27-2008 01:20 AM

Help for italian language translation ...
 
Hi All,
I try to translate in italian language all the sections of website (http://www.according.it).

It's not easy... a part of the site has been translated but I can not find many words or phrases to be translated in php pages.

Example. In home page there is the words "Read more" I need to change as "Leggi ancora" or in each post (example http://www.according.it/?p=15) there is "dicembre 22, 2008 by" I need to change "22 Dicembre 2008 scritto da" as in topnavbar where I change the js function... but I do not find pages ...

I must search for any word or phrase or there is a more rational method?

Thanks!

Otello

adew 12-27-2008 02:26 AM

Re: Help for italian language translation ...
 
Hi Otello,

Unfortunately there is no easier way - you have to go through each template file and find hard-coded English text and translate it.

For the Read more on the home page etc, open up functions.php and near the end of the file you will find these lines:
Line 291:
Code:

echo "'>"."Read More &rarr;</a>";
Line 310:
Code:

echo "'>"."Read More &rarr;</a>";
Change those to:
Code:

echo "'>"."Leggi ancora &rarr;</a>";
For the date etc, open up index.php and archive.php and find these lines of code:
Code:

<?php the_time('F j, Y'); ?></span> by
and replace with:
Code:

<?php the_time('j F Y'); ?></span> scritto da
You may to look through other template files to see other examples like this which need changing.

according 12-27-2008 06:20 AM

Re: Help for italian language translation ...
 
Hi adew,

Thanks again!

Otello


All times are GMT -5. The time now is 02:55 PM.

Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.