News Feed
Sections




News Archive
feed this:

Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

PHPBuilder.com:
Building a Multilingual PHP Website
September 01, 2011 @ 09:02:21

On PHPBuilder.com today there's a new post from Vojislav Janjic with three methods (sans-framework) that you can use to create a multilingual website - some a bit easier to maintain than others.

Fast internet growth has brought many opportunities in the global market. Businesses can reach their customers across many countries, and information sharing is not limited to a local area or country anymore. This is why there is an increasing tendency for multilingual websites. By having a website in multiple languages, you can target local markets more easily. Also, it is more convenient to use a website in your native language.

His three methods are all relatively simple, but they all have their good and bad points - making separate HTML/views for each language, creating XML files with different versions of the content or storing the translations in a MySQL database. He gives quick code snippets showing how to implement each of them, some basing the language on a cookie value, others on a GET variable passed to the page.

1 comment voice your opinion now!
multilingual website tutorial mysql xml html translate


PHP-GTK Community Site:
PHP-GTK.eu goes multilingual
August 18, 2008 @ 11:18:25

The PHP-GTK Community site has gone multilingual to help reach out to a broader audience:

A new block has appeared today on top right corner of the php-gtk.eu pages, with three little flags : they show you can now navigate the site in one of these languages and, more importantly, automatically find the translated versions of all articles when they exist ... or contribute one yourself if you are logged in to the site.

Right now they offer English, French and German and they're still working on translating some parts of the UI of the site, but the articles and content should be translated over just fine.

0 comments voice your opinion now!
multilingual phpgtk website english french german


ThinkPHP Blog:
Multilingual Websites with PHP
July 15, 2008 @ 07:55:38

On the ThinkPHP blog, Florian Eibeck has posted an overview of some key things to consider when internationalizing your application/website.

The biggest problem is that most developers lack knowledge about Internationalisation, Localisation, Character encodings, Unicode and all those terms connected with multilingualism. The following article should give you a basic understanding and show you how to avoid those funny characters.

He defines a few terms - internationalization, ASCII, unicode and the UTF-8/ISO-8859 character sets. He mentions how to accept the utf-8 string into your application and how to use it in both PHP and store it in a MySQL database.

0 comments voice your opinion now!
multilingual website internationalization i18n utf8 unicode


Developer.com:
Build Multi-lingual Websites With the Zend Framework
June 15, 2007 @ 13:29:54

Developer.com has a new tutorial posted today dealing with a specific use of one of the more popular PHP frameworks currently, the Zend Framework, and using it to create multi-lingual websites from Jason Gilmore.

Despite my best attempts I'm unable to speak this array of languages, but as a Web developer I wanted to create the most efficient means for hosting a multi-lingual support site, and then work with native speakers to translate the English material. Because the support site runs the Zend Framework, naturally I wondered whether some sort of translation component was available, and sure enough a quick perusal of the Zend Framework website turned up Zend_Translate. In this brief tutorial I'll document how I'm using the Zend Framework to make my website available to the world.

Jason breaks up the article into two main sections - an introduction to using the Zend_Translate component and examples of it in action (including the creation of CSV files to trade out the translations.

0 comments voice your opinion now!
zendframework multilingual website zendlocale zendtranslate tutorial zendframework multilingual website zendlocale zendtranslate tutorial


Sanisoft Blog:
Multilingual apps with CakePHP
June 11, 2007 @ 12:33:00

On the Sanisoft blog today, there's a quick tutorial demonstrating how to create a multilingual application with the CakePHP framework:

There are basic two ways to creating a multilingual app in traditional PHP [...] CakePHP V1.2 is the framework which allows you to take the quantum leap of using gettext like functionality with minimum of hassles and at the same time address the common problems which a PHP programmer faces while creating multilingual apps.

They give an example of a simple translation of a sentence (including working with .po files). They show how to integrate the example string, create the .po file with the translation and configure the language to pull the correct phrasing to display to the page.

0 comments voice your opinion now!
multilingual application cakephp gettext translate multilingual application cakephp gettext translate



Community Events





Don't see your event here?
Let us know!


language release code laravel symfony install application interview threedevsandamaybe api introduction list wordpress series podcast configure community developer library unittest

All content copyright, 2014 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework