 | News Feed |
 | Jobs Feed |
Sections
|
| feed this: |  |
Sameer Borate's Blog: Google Translation PHP wrapper
by Chris Cornutt March 03, 2010 @ 08:56:25
On his Code Diesel blog Sameer Borate has posted about a Google Translation wrapper library that can be used to interface with Google's Translation backend.
Google translation is an interesting service. Not only can you do language translation, you can also detect the language of a particular text. I recently needed to create a Wordpress plugin to translate post titles from one language to another. As the translation API is only available for Java and Javascript, I decided to create a quick one for PHP.
You'll need to register for an API key before you can follow along with the examples. Sameer includes a few small code snippets showing how to run a "self test" to be sure things are working, a sample translation of a string and how to grab errors should they happen during the process. You can grab the library from the Google Code page for the project.
voice your opinion now!
google translate api tutorial
CatsWhoCode.com: How to make a translatable WordPress theme
by Chris Cornutt August 21, 2009 @ 10:18:47
New from the CatsWhoCode.com blog there's a few helpful hints on making your WordPress theme easily translatable:
Althought English is the most represented language over the Internet, it is a good thing to think about people who speak other languages and offer them trabslated WordPress theme. In this step-by-step tutorial, you'll learn how to take a WordPress theme and make it translatable for any language.
You'll need to add in a few functions to handle the loading of various language templates and use them, along with language-specific .PO files, to make switching languages as simple as changing the value of a constant in a define.
voice your opinion now!
translate wordpress theme tutorial
DevShed: Building Sample Programs for an IP-to-country Mapping Application
by Chris Cornutt February 11, 2009 @ 08:44:29
DevShed has posted the second part of their series looking at an IP-to-Country mapping application, this time with a focus on building some simple applications to use the data inside.
Building a web site that will be seated on a multi-lingual platform often requires developing an IP-to-country application that permits you to map users' IP addresses to their corresponding countries. [...] This database contains over 82,0000 records and allows you to map more than 3,200,000 IP addresses to their respective countries. This can be really handy for developing different IP-to-country applications with minor efforts.
The review the previous article on making the database and move ahead to create a script that selects - based off the IP range - the country that address could be from.
voice your opinion now!
ip translate country mapping application program tutorial
Ken Guest's Blog: PHP for Enterprise/Business Whitepaper
by Chris Cornutt January 09, 2009 @ 12:05:13
Ken Guest has posted about a whitepaper that he was involved in editing - the PHP for Enterprise/Business Whitepaper:
As far as I know this is the first full English language translation and update of the work done by the Association Francaise des Utilisateurs de PHP (French PHP Users Group). Also there is a lot of new content in the Whitepaper that with regards to how PHP is now utilised in Enterprise. Figures have been updated and techniques available in later versions of PHP have been referenced.
He mentions some of the challenges in the translation and thanks a few others for the effort and contributions they made to the project. The whitepaper (pdf) looks at several key topics of PHP in the Enterprise including: suggestions for architecture, integration issues, concurrent use with other languages and how PHP fits into the web application ecosystem.
voice your opinion now!
translate whitepaper enterprise business french afup
SitePoint WebTech Blog: Give Your Visitors a Rough Time
by Chris Cornutt March 06, 2008 @ 08:44:00
In a new post to the Web Tech blog over on SitePoint, Toby Somerville has posted something he calls "RoughTime" - his method for displaying a more "human friendly" output of a timestamp.
When asked the time, we generally don't need to be military accurate with our response [...] we generally communicate the approximate time. i.e. 'its nearly ten' or 'its just gone half past three'. Yet on the web, time is generally shown as '12:24:13 AM', or similar '" not very visitor friendly.
His RoughTime uses two switch statements to map the hour and minute values to different strings. For example, minutes between 15 and 20 become "quarter past" and the hours are changed over from numeric versions to their word counterparts.
voice your opinion now!
roughtime switch approximate time hour minute translate
Rob Allen's Blog: Quiet around here (Tutorial Translation - Brazillian Portuguese)
by Chris Cornutt May 08, 2007 @ 07:51:00
In a new blog post, Rob Allen mentions a few different things going on in his life (like work, PHP news, and some on the Zend Framework). He mentions one thing that's great for those speaking Brazillian Portuguese - his Getting Started with the Zend Framework tutorial has been translated into the language.
Saving the biggest news for last, Adler Medrado has translated my tutorial into Brazillian Portuguese! Thank you very much Adler! I've said it before, and no doubt will say it again, I'm still very humbled that people think enough of my little tutorial to translate it. You guys are amazing.
You can grab this and other translations (including Simplified Chinese, French, German, Polish and Italian) from this page on Rob's blog.
voice your opinion now!
translate brazillian portuguese zendframework tutorial pdf translate brazillian portuguese zendframework tutorial pdf
|
Community Events
Don't see your event here? Let us know!
|