Archive for October, 2007
Facebook App - Global Footprints (BETA)
Here is my first FB app, but as far as the number of users registered, it is not doing very well… I think it lacks some fun factors, and I decided not to update this app anymore. I have already started a new app and will be ready soon.
http://www.facebook.com/apps/application.php?id=4799981940
Using this application, you can write stories, ideas and knowledge in your languages to the world. Users who do not know your languages can also read your writings once your stories are translated to their languages, or through Google Translate. This means you can also read stories that are written in other languages, for instance, Nepali, Arabic and so forth.
I created this application hoping that it will bring the world a little bit closer by giving users chances to share their stories to the world and also learn from the world.
#########################################
- Here are some things you can do with Global Footprints:
1. Step on your friends.
If you step on a friend, your friend will get a message in Mini-Feed in his/her profile. It is a way to communicate with your friends.
2. Step on a friend with a message.
You can leave footprints to your friends with messages that you wrote or someone else wrote that you think your friend might also be interested in.
3. Read stories from the world.
4. Write stories, ideas, and knowledge to the world.
5. Translate those you like to the world yourself, or through Google Translate.
6. Write comments on footprints.
7. Rate footprints.
Enjoy!
No commentsLegacy encoding vs. Unicode
My simple writeup for this topic:
http://blog.translation-help.net/?page_id=36&preview=true
No commentsHow to use PEAR i18n library
1. Download PEAR i18n package to your local machine
http://pear.php.net/packages.php?catpid=28&catname=Internationalization
2. Upload it to your server
3. Add the library path to php include_path using ini_set:
ini_set (”include_path”, “.:/www/facebook/pear:/usr/local/php5/lib/php”);
4. Use it
//loading PEAR I18Nv2
require_once ‘I18Nv2.php’;
require_once ‘I18Nv2/Locale.php’;
require_once ‘I18Nv2/Language.php’;
$i18nv2_lang = &new I18Nv2_Language($locale, ‘UTF-8′);
$i18nv2_locale = &I18Nv2::createLocale($locale);
- Getting translated language names
foreach ($i18nv2_lang->codes as $lang_code => $lang_translated) {
…
}
- Getting formatted date & time
$fdate= $i18nv2_locale->formatDate($time, I18Nv2_DATETIME_MEDIUM) ;
$ftime = $i18nv2_locale->formatTime($time, I18Nv2_DATETIME_MEDIUM);