Linux Today: Linux News On Internet Time.
Search Linux Today
search.internet.com
Linux News Sections:  Blog -  Developer -  High Performance -  Infrastructure -  IT Management -  Security -  Storage -
Linux Today Navigation
LT Home
Preferences
Contribute
Link to Us
Search
Linux Jobs

Become a Marketplace Partner

internet.commerce
Be a Commerce Partner














The Linux Channel at internet.com
Linux Today
Enterprise Linux Today
Apache Today
JustLinux.com
Linux Planet
PHPBuilder
All Linux Devices
Technology Jobs

JustTechJobs.com

LinuxToday Newsletters
Subscribe News
Subscribe PR
Subscribe Security

internet.com
IT
Developer
Internet News
Small Business
Personal Technology

Search internet.com
Advertise
Corporate Info
Newsletters
Tech Jobs
E-mail Offers

 






Current Newswire:

Project: Building An All-Text Linux Workstation

Cool: Or Hot? Linux really making your coffee, live a linux coffee machine

Editor's Note: All This Great Technology Just to Reinvent Television

Kubuntu is not Ubuntu

Claws Mail: Mail with Attitude

SimplyMEPIS 8.5 RC3 Is Here, the Final Release Candidate

Ten Years of OpenOffice.org

OpenOffice.org Project of the Month: the Irish community

Intel Atom: NVIDIA ION vs. Radeon HD 4330 Graphics

7 (More) Free and Open Source Finance/Accounting Software for Linux




Systems Engineer Sr – Automation – Opsware SAS / HP SA
Next Step Systems
US-CO-Thornton

Justtechjobs.com Post A Job | Post A Resume
:Globalize your Web Applications: PHP's Locale Formatting Classes
Globalize your Web Applications: PHP's Locale Formatting Classes
Dec 29, 2009, 05 :37 UTC (0 Talkback[s]) (1547 reads)

(Other stories by Rob Gravelle)

"In programming, a locale is a set of parameters that define attributes for a user's specific geographic location, including the user's language, country and any special variant preferences that the user wants to see in his/her user interface. In Part 1 of the Globalize your Web Applications series, we examined what the locale entails, how they are supported by different operating systems, and we looked at some specific implementations in PHP. The Part 2 article continued with the PHP language as we explored how to make your dates locale aware, using both the native datetime functions as well as the I18N_DateTime class. Today, we'll be covering PHP's two remaining I18N Libraries, the I18N_Number and I18N_Currency classes, both of which are subclasses of the I18N_DateTime function.

"Formatting numbers

"Just as dates and times can vary greatly depending on the country, numbers are also written differently in different languages. For instance, the number 123456.789 would be written as 123 456,789 in German. Here are some LCIDs and their associated number formats for various languages and countries:"

Complete Story

Related Stories:
Open Source - the Ultimate Globalization Tool(Dec 16, 2008)
Internationalizing Web Applications Using Dojo(Aug 08, 2008)
Mastering Characters Sets in Linux (Weird Characters, part 2)(Nov 25, 2009)
Character Sets in Linux or: Why do I See Those Weird Characters?(Nov 12, 2009)



No talkbacks posted.
  Home | Search Talkbacks | Customize View    Top of Page  



Enter your comments below:

* Your Name:

* Your Email Address:

* Subject:

CC: [will also send this talkback to an E-Mail address]

* Comments:

Tags allowed:<I>,<B> and <U>. See our talkback-policy for more about talkback content.

Fields marked with * are required!






..............................




All times are recorded in UTC.
Linux is a trademark of Linus Torvalds.
Powered by Linux, Apache and PHP


The Network for Technology Professionals

Search:

About Internet.com

Legal Notices, Licensing, Permissions, Privacy Policy.
Advertise | Newsletters | E-mail Offers