GithubHelp home page GithubHelp logo

falahati / i18n Goto Github PK

View Code? Open in Web Editor NEW

This project forked from dotroll/i18n

0.0 1.0 0.0 215 KB

PHP I18N library with some special features

Home Page: http://www.dotroll.com

License: BSD 3-Clause "New" or "Revised" License

PHP 100.00%

i18n's Introduction

Abstract

This is an I18N library with some non-standard features. Use at your own risk under the BSD license.

Thanks to the DoclerWeb guys for their help. Please visit www.dotroll.com and www.doclerweb.hu

Components

I18N_Country

This class has two purposes. First it contains a lot of information on the world's countries, most notably the short and official country names in English and Hungarian as well as in every official language in that country. It also contains the timezone of the capital, the TLD for that country and EU membership information. This information has been hand-picked and may therefore contain errors.

Secondly, it represents a country as an object and can be queried for the name, etc.

I18N_Currency

This is a very simple class for currency representation. It currently supports only three currencies: HUF, EUR and USD. This class also contains some style information how the currency normally formats money.

I18N_Language

This is a base class for all language representation. Again, this class has two purposes. It serves as an object representation, but also contains a lot of information like character maps for unknown characters, lexicographic ordering, etc. Please be sure to check the PHPDoc comments as features are too numerous to list here.

I18N_PhonePrefix

This class contains every country prefix in the world and again can be used as an object representation.

I18N_Timestamp

This is a very small utility class used to hold a timestamp in integer format.

i18n's People

Contributors

falahati avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.