Giter Site home page Giter Site logo

isolang's Introduction

IsoLang Package

The isolang package provides a set of constants representing ISO 639-1 language codes in Go.

Installation

To install the isolang package, use go get:

go get github.com/rostis232/isolang

Usage

Import the isolang package in your Go code:

import (
    "fmt"
    "github.com/your-username/isolang"
)

func main() {
    // Example usage
    lang := isolang.English
    fmt.Println("Language code for English:", lang)
}

The package defines the following ISO 639-1 language codes as constants:

Afrikaans (af) Albanian (sq) Amharic (am) Arabic (ar) Armenian (hy) Azerbaijani (az) Basque (eu) Belarusian (be) Bengali (bn) Bosnian (bs) Bulgarian (bg) Catalan (ca) Chinese (zh) Croatian (hr) Czech (cs) Danish (da) Dutch (nl) English (en) Esperanto (eo) Estonian (et) Finnish (fi) French (fr) Georgian (ka) German (de) Greek (el) Gujarati (gu) Hebrew (he) Hindi (hi) Hungarian (hu) Icelandic (is) Indonesian (id) Irish (ga) Italian (it) Japanese (ja) Kannada (kn) Kazakh (kk) Korean (ko) Kurdish (ku) Lao (lo) Latvian (lv) Lithuanian (lt) Macedonian (mk) Malay (ms) Malayalam (ml) Maltese (mt) Marathi (mr) Mongolian (mn) Nepali (ne) Norwegian (no) Pashto (ps) Persian (fa) Polish (pl) Portuguese (pt) Punjabi (pa) Romanian (ro) Russian (ru) Serbian (sr) Sinhala (si) Slovak (sk) Slovenian (sl) Somali (so) Spanish (es) Swahili (sw) Swedish (sv) Tamil (ta) Telugu (te) Thai (th) Turkish (tr) Ukrainian (uk) Urdu (ur) Uzbek (uz) Vietnamese (vi) Welsh (cy) Xhosa (xh) Yoruba (yo) Zulu (zu)

For more details on each language code, refer to the ISO 639-1 standard.

License

This project is licensed under the MIT License - see the LICENSE file for details.

Feel free to adjust and expand on this template according to your specific needs or additional features of the package!

isolang's People

Contributors

rostis232 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.