New PurpleRain PHP Contest

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
contact_bogomil
Forum Newbie
Posts: 22
Joined: Mon May 27, 2002 8:13 am
Location: Sofia, Bulgaria
Contact:

New PurpleRain PHP Contest

Post 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
User avatar
volka
DevNet Evangelist
Posts: 8391
Joined: Tue May 07, 2002 9:48 am
Location: Berlin, ger

Post by volka »

probably I missed something but what is wrong with gettext()?
jason
Site Admin
Posts: 1767
Joined: Thu Apr 18, 2002 3:14 pm
Location: Montreal, CA
Contact:

Post 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.
contact_bogomil
Forum Newbie
Posts: 22
Joined: Mon May 27, 2002 8:13 am
Location: Sofia, Bulgaria
Contact:

re:

Post 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
contact_bogomil
Forum Newbie
Posts: 22
Joined: Mon May 27, 2002 8:13 am
Location: Sofia, Bulgaria
Contact:

re

Post by contact_bogomil »

we can discute this idea more detailed if you want!


Bogomil
Oxy
Forum Newbie
Posts: 17
Joined: Fri Apr 19, 2002 5:47 am
Location: U.K
Contact:

Re: New PurpleRain PHP Contest

Post by Oxy »

$thankyou_fr="mersi";-> 'Thank you' in french.
btw, thats "merci" :wink:
contact_bogomil
Forum Newbie
Posts: 22
Joined: Mon May 27, 2002 8:13 am
Location: Sofia, Bulgaria
Contact:

re:oxy

Post by contact_bogomil »

hi man
I know and I am fixing this error.
please visit the site!


Bogomil
Post Reply