Git Product home page Git Product logo

locale-list's Introduction

symfony upgrade fixertwig gettext extractorwisdomcentipedepermissions handlerextraloadgravatarlocurrocountry listtransliterator

Locale List

List of all locales with names and codes in all languages and all data formats.

Formats Available

  • Text
  • JSON
  • YAML
  • XML
  • HTML
  • CSV
  • SQL
    • MySQL
    • PostgreSQL
    • SQLite
  • PHP

Build

Locale list is available out of the box, but if you want to submit patches, add new formats, update data source or contribute in any other way, you will probably want to rebuild the list:

$ composer install
$ ./bin/build

Other Interesting Lists

locale-list's People

Contributors

markchrislevy avatar umpirsky avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

locale-list's Issues

XML structure is probably wrong (and weird at least)

First off: Thank you for this and the country list as well!

I ended up using the json version because the xml of both projects is wrong or at least weird. Take a look:

<?xml version="1.0" encoding="utf-8"?>
<values>
    <item>
        <id>af</id>
        <![CDATA[Afrikaans]]>
        <value />
    </item>
    <item>
        <id>af_NA</id>
        <![CDATA[Afrikaans (Namibia)]]>
        <value />
    </item>

I presume that the intent was to have the value inside the <value> tag like so:

<?xml version="1.0" encoding="utf-8"?>
<values>
    <item>
        <id>af</id>
        <value><![CDATA[Afrikaans]]></value>
    </item>

The current format is probably technically correct XML, but very hard to parse by most libraries because the <item> element mixes both child elements and text; which is unusual.

Missing packagist.org package

Your other country, language and currency list packages are really useful, it would be great if we could have the locale list as a package on packagist.org as well.

Separate to per "type" packages

Is there any plan to separate this package "type" specific packages? Like

  • locale-list-yaml
  • locale-list-csv
  • ...

The whole repository has ~179MB. When building an image with ~40MB, app ~10MB this is so much overhead.

PHP 7 support and symfony/locale is deprecated

Hello,

Your script don't support PHP 7. Is it possible that you can support this version?
And I see that symfony/locale is deprecated and not supported anymore. Do you have any plans do update this package?

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.