Project Steve Guttenberg

PSG Translation Project

Posted by Gavin on Saturday, May 24, 2003 (Link)
We are now starting to translate the core PSG message file into different languages. We've already received translations for German and Norwegian, and we'd love it if other non-English speakers could contribute translations, or proofread the translations we already have.
To make a translation, all you need to do is take a copy of the messages_en.php file (preferably from the CVS repository since it will contain the most recent strings), and change the strings on the right hand side of each line.
So for example, this line:
$messages['article_not_found'] = 'Article not found!';

would become
$messages['article_not_found'] = 'Artikel nicht gefunden!';

When you have finished your translation, e-mail it to the psg-devel list for inclusion.

Comments:

Re: PSG Translation Project
Posted by your leave. on Saturday, June 14, 2003
First off, accolades all around for some pretty sweet PHP code.

I've been getting familiar with PSG today having dloaded the latest and ran into this anomoly...

Hope it can be fixed cause it will sure blow page formatting and there always seems to be at
least one leaker who has to try it.

If I knew how to fix it I would but PHP newbie so no .....

mmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmm
[Avatar]
Re: PSG Translation Project
Posted by Gavin (jodrell (at) spod dot uk dot net) on Monday, June 16, 2003 (http://jodrell.net/)
There are some pretty easy solutions to this:

1) Write your own comment formatting function to wrap the text - you can use the wordwrap() function to break lines into nice blocks.
2) Use CSS to control line wrapping and word breaking: for example the word-break or word-wrap attributes.
Re: PSG Translation Project
Posted by your leave on Friday, June 27, 2003
I went with your second suggestion.

Adding the line

word-wrap: break-word;

to the .psg-body entry within psg.css solved the issue nicely.

I really appreciate your taking the time with this. Thanks again.
No more comments can be posted to this article.

<< Previous: WallpaperNext: PSG 1.8.1 >>

[ Archives | Search | Syndicate ]
© 2008 ProjectSteveGuttenberg.org.