Code Monkey home page Code Monkey logo

language-data's Introduction

Weblate

Weblate is a copylefted libre software web-based continuous localization system, used by over 2500 libre projects and companies in more than 165 countries.

Language definitions used by Weblate and free to use by others.

Website Translation status CII Best Practices PyPI package Documentation

Usage

The Python module can be installed from the PyPI:

pip install weblate-language-data

It contains several modules containing language definitions and Gettext translations for them (in a way that they would be discovered by Django when used as an Django application).

CSV Files

The repository also contains CSV files which are used to generate the Python code and can be used independently.

  • Semicolon delimited files
  • Contains language code, name, number of plurals and plural equation

languages.csv

  • Combined from several sources, plurals should match CLDR when available
  • Used by Weblate for language definitions
  • Manually edited

aliases.csv

  • Language aliases to map non standard or legacy locales to ones in languages.csv
  • Manually edited

default_countries.csv

  • List of default country specific locales
  • Used to map them to ones in languages.csv
  • Manually edited

extraplurals.csv

  • Additional plural variants for some languages
  • Usually used in Gettext
  • Manually edited

cldr.csv

gettext.csv

  • Based on Gettext defaults
  • Generated using export-gettext

translate.csv

l10n-guide.csv

  • Extracted from the l10n guide
  • Generated using export-l10n-guide

languages-po

  • Directory containing PO files with langauge names translations
  • Extracted from CLDR data

Contributing

Contributions are welcome! See documentation for more information.

language-data's People

Contributors

aga-c avatar asereze avatar baffclan avatar bourock avatar bovirus avatar comradekingu avatar dependabot-preview[bot] avatar dependabot[bot] avatar ereza avatar fat-zer avatar fitojb avatar julroy67 avatar kyotaro avatar ldmpub avatar lyubomirv avatar milotype avatar nijel avatar ppasserini avatar pre-commit-ci[bot] avatar racerbg avatar rffontenelle avatar santossi avatar slsimic avatar sr093906 avatar sveinki avatar tomkolp avatar vistaus avatar weblate avatar yarons avatar yurchor 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.