Page 1 of 1

New PurpleRain PHP Contest

Posted: Mon May 27, 2002 8:13 am
by contact_bogomil
According to new trends in PHP programming and based in new technologies we are trying to make things better. Our previous contest was an algorithm contest and his personal purpose was to activate the 'sleeping brains' in our heads.
Well the next challenge will be "Uniform Multilanguage Protocol (UMP)".
Wait wait wait. I know we start asking me what is this, what you mean….?
Ok I Will explain you now :
This contest will be about the idea and a simple code for a system who is multilanguage oriented and shows the uniform scheme for a Multilanguage standard.
For example:
<?PHP
$indexpage_aboutus_bg="çà íàñ";
$thankyou_fr="mersi";
?>
$indexpage_aboutus_bg -> the string will be used only in index page and means 'about us' in Bulgarian language.

-OR-

$thankyou_fr="mersi";-> 'Thank you' in french.


I would like to thank you for all of you who are support us in our challenge and I would like to invite all visitors of this web page to take part in our contest because this idea engendered by all participants will be for all of the Programmer's community.
more info http://purplerain.org

Posted: Mon May 27, 2002 8:20 am
by volka
probably I missed something but what is wrong with gettext()?

Posted: Mon May 27, 2002 8:40 am
by jason
gettext() isn't available on all servers.

I can understand the need for something that is independent. If it's written soley in PHP, it may be a bit slower, but it will be more portable.

re:

Posted: Mon May 27, 2002 9:02 am
by contact_bogomil
hi folks
Our idea is create an unique system (standart ,protocol) for this comunication(multilanguage).
What I mean:
all users should be use this standart for their resources files ,for best understanding and for simple object oriented scheme.
I am using file named bulgarian_lang.php
and put into him one line
<?PHP
$hello_bg="zdrasti";
?>
And you can use this file for your own application and put into bulgarian support!

ok?

Kind regards
bogomil Shopov

re

Posted: Mon May 27, 2002 10:34 am
by contact_bogomil
we can discute this idea more detailed if you want!


Bogomil

Re: New PurpleRain PHP Contest

Posted: Mon May 27, 2002 1:26 pm
by Oxy
$thankyou_fr="mersi";-> 'Thank you' in french.
btw, thats "merci" :wink:

re:oxy

Posted: Tue May 28, 2002 3:28 am
by contact_bogomil
hi man
I know and I am fixing this error.
please visit the site!


Bogomil