All Projects → lingui → Js Lingui

lingui / Js Lingui

Licence: mit
🌍📖 A readable, automated, and optimized (5 kb) internationalization for JavaScript

Programming Languages

javascript
184084 projects - #8 most used programming language
typescript
32286 projects

Projects that are alternatives of or similar to Js Lingui

Eo Locale
🌏Internationalize js apps 👔Elegant lightweight library based on Internationalization API
Stars: ✭ 290 (-91.07%)
Mutual labels:  translation, i18n, localization, internationalization, intl, icu, react-components
Eslint Plugin I18n Json
Fully extendable eslint plugin for JSON i18n translation files.
Stars: ✭ 101 (-96.89%)
Mutual labels:  translation, i18n, internationalization, intl, icu
Formatjs
The monorepo home to all of the FormatJS related libraries, most notably react-intl.
Stars: ✭ 12,869 (+296.09%)
Mutual labels:  translation, i18n, localization, internationalization, intl
i18n
internationalize projects to Arabic
Stars: ✭ 67 (-97.94%)
Mutual labels:  i18n, translation, internationalization, localization
Phabricator zh hans
Phabricator zh-Hans Translation & Tools.
Stars: ✭ 113 (-96.52%)
Mutual labels:  translation, i18n, localization, internationalization
Dom I18n
Provides a very basic HTML multilingual support using JavaScript
Stars: ✭ 125 (-96.15%)
Mutual labels:  translation, i18n, localization, internationalization
plate
Internationalization library for Python
Stars: ✭ 31 (-99.05%)
Mutual labels:  i18n, translation, internationalization, localization
Node Gettext
A JavaScript implementation of gettext, a localization framework.
Stars: ✭ 175 (-94.61%)
Mutual labels:  translation, i18n, localization, internationalization
i18n.cr
Internationalization API ( i18n ) for Crystal!
Stars: ✭ 36 (-98.89%)
Mutual labels:  i18n, translation, internationalization, localization
rosetta
A blazing fast internationalization (i18n) library for Crystal with compile-time key lookup.
Stars: ✭ 23 (-99.29%)
Mutual labels:  i18n, translation, internationalization, localization
cldr-engine
Internationalization and localization in Typescript with Unicode CLDR, batteries included
Stars: ✭ 34 (-98.95%)
Mutual labels:  i18n, internationalization, localization, messageformat
Mojito
An automation platform that enables continuous localization.
Stars: ✭ 256 (-92.12%)
Mutual labels:  translation, i18n, localization, internationalization
inlang
Open Source Localization Solution for Software.
Stars: ✭ 160 (-95.08%)
Mutual labels:  i18n, translation, internationalization, localization
Traduora
Ever® Traduora - Open-Source Translation Management Platform
Stars: ✭ 1,580 (-51.37%)
Mutual labels:  translation, localization, internationalization, i18n
Pseudo Localization
Dynamic pseudo-localization in the browser and nodejs
Stars: ✭ 109 (-96.65%)
Mutual labels:  translation, i18n, localization, internationalization
React Translated
A dead simple way to add complex translations (i18n) in a React (DOM/Native) project 🌎🌍🌏
Stars: ✭ 176 (-94.58%)
Mutual labels:  translation, i18n, localization, internationalization
Fluent
Fluent — planning, spec and documentation
Stars: ✭ 818 (-74.82%)
Mutual labels:  translation, localization, internationalization, intl
React Intl Hooks
React hooks for internationalization without the hassle ⚛️🌍
Stars: ✭ 64 (-98.03%)
Mutual labels:  translation, i18n, localization, internationalization
Weblate
Web based localization tool with tight version control integration.
Stars: ✭ 2,719 (-16.31%)
Mutual labels:  translation, i18n, localization, internationalization
fluent-vue
Internationalization plugin for Vue.js
Stars: ✭ 137 (-95.78%)
Mutual labels:  i18n, translation, internationalization, localization

Linguijs

🌍📖 A readable, automated, and optimized (5 kb) internationalization for JavaScript


Main Suite Release Workflow Testing Code Coverage PRs Welcome Backers on Open Collective Sponsors on Open Collective Join the community on Spectrum

Documentation · Documentation 2.x · Quickstart · Example · Support · Contribute · Licence

Internationalization is the design and development of a product, application or document content that enables easy localization for target audiences that vary in culture, region, or language.

--- W3C Web Internationalization FAQ

Lingui is an easy yet powerful internationalization framework for global projects.

  • Clean and readable - Keep your code clean and readable, while the library uses battle-tested and powerful ICU MessageFormat under the hood.

  • Universal - Use it everywhere. @lingui/core provides the essential intl functionality which works in any JavaScript project while @lingui/react offers components to leverage React rendering.

  • Full rich-text support - Use React components inside localized messages without any limitation. Writing rich-text messages is as easy as writing JSX.

  • Powerful tooling - Manage the whole intl workflow using Lingui CLI. It extracts messages from source code, validates messages coming from translators and checks that all messages are translated before shipping to production.

  • Unopinionated - Integrate Lingui into your existing workflow. It supports message keys as well as auto generated messages. Translations are stored either in JSON or standard PO file, which is supported in almost all translation tools.

  • Lightweight and optimized - Core library is only 1.9 kB gzipped, React components are additional 3.1 kBs gzipped. That's less than Redux for a full-featured intl library.

  • Active community - Join us on Spectrum to discuss the latest development. At the moment, Lingui is the most active intl project on GitHub.

  • Compatible with react-intl - Low-level React API is very similar to react-intl and the message format is the same. It's easy to migrate an existing project.

Quickstart

Install

Tutorials

If you're a react-intl user, checkout comparison of react-intl and Lingui.

Example

Short example how i18n looks with JSX:

import { Trans } from "@lingui/macro"

function App() {
  return (
   <Trans id="msg.docs" /* id is optional */>
     Read the <a href="https://lingui.js.org">documentation</a>
     for more info.
   </Trans>
  )
}

Message from this component will be extracted in following format:

msgid "msg.docs"
msgstr "Read the <0>documentation</0> for more info."

For more example see the React tutorial.

Support

If you are having issues, please let us know.

  • Join us at Gitter to get almost instant feedback.
  • Ask question on StackOverflow and mark it with Lingui tag.
  • If something doesn't work as documented, documentation is missing or if you just want to suggest a new feature, create an issue.

Contribute

Contribution to open-source project is everything from spreading a word, writing documentation to implementing features and fixing bugs.

  • Do you use Lingui in production site? Let us know!
  • Have you seen interesting talk or article about i18n? Share it!
  • Have you found a bug or do you want to suggest a new feature? Create an issue!
  • Do you want to improve the docs and write some code? Read the contributors guide and send a PR!

Contributors

This project exists thanks to all the people who contribute. [Contribute].

Contributors

Backers

Thank you to all our backers! 🙏 [Become a backer]

Backers

Sponsors

Support this project by becoming a sponsor. Your logo will show up here with a link to your website. [Become a sponsor]

License

The project is licensed under the MIT license.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].