projectfluent/fluent.js
projectfluent/fluent.js has 1,010 GitHub stars and 83 forks. GitHot measured -1 stars in 24 hours and 0 in 7 days. Last checked 2026-11-13 07:29 UTC. Last push 2026-05-22.
측정된 스타 증가
- in 24h
- -1
- in 7 days
- 0
- in 15 days
- 기록 수집 중
- in 1 month
- 기록 수집 중
서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.
소개
JavaScript implementation of Project Fluent
웹 및 앱README.md
OriginalProject Fluent
Fluent.js is a JavaScript implementation of Project Fluent, a localization framework designed to unleash the expressive power of the natural language.
Project Fluent keeps simple things simple and makes complex things possible. The syntax used for describing translations is easy to read and understand. At the same time it allows, when necessary, to represent complex concepts from natural languages like gender, plurals, conjugations, and others.
Packages
Fluent.js consists of a set of packages which have different use-cases and can be installed independently of each other.
- @fluent/bundle
- @fluent/dedent
- @fluent/dom
- @fluent/langneg
- @fluent/react
- @fluent/sequence
- @fluent/syntax
You can install each of the above packages via npm, e.g. npm install @fluent/react.
See the end of this README for instructions on how to build fluent.js locally.
Learn the FTL syntax
FTL is a localization file format used for describing translation resources. FTL stands for Fluent Translation List.
FTL is designed to be simple to read, but at the same time allows to represent complex concepts from natural languages like gender, plurals, conjugations, and others.
hello-user = Hello, { $username }!
Read the Fluent Syntax Guide in order to learn more about the syntax. If you're a tool author you may be interested in the formal EBNF grammar.
Discuss
We'd love to hear your thoughts on Project Fluent! Whether you're a localizer looking for a better way to express yourself in your language, or a developer trying to make your app localizable and multilingual, or a hacker looking for a project to contribute to, please do get in touch!
- Discourse: https://discourse.mozilla.org/c/fluent
Get Involved
Fluent.js is open-source, licensed under the Apache License, Version 2.0. We encourage everyone to take a look at our code and we'll listen to your feedback.
Local Development
Hacking on fluent.js is easy! To quickly get started clone the repo:
$ git clone https://github.com/projectfluent/fluent.js.git
$ cd fluent.js
You'll need at least Node.js 20.19. Older versions are not supported.
Install the dependencies used by all packages, which are managed as npm workspaces:
$ npm install
Build and test all packages at once:
$ npm run dist
…which is equivalent to:
$ npm run clean
$ npm run build --workspaces
$ npm run lint
$ npm run test
$ npm run docs
Each package may also be built separately by running npm run build in
its directory.
관련 프로젝트 살펴보기
freeCodeCamp/freeCodeCamp
freeCodeCamp.org의 오픈 소스 코드베이스와 커리큘럼입니다. 수학, 프로그래밍, 컴퓨터 과학을 무료로 배울 수 있습니다.
459,089 스타donnemartin/system-design-primer
대규모 시스템 설계 방법을 배우고 시스템 설계 면접을 준비할 수 있습니다. Anki 플래시카드가 포함되어 있습니다.
377,770 스타react/react
웹과 네이티브 사용자 인터페이스를 위한 라이브러리.
252,577 스타vuejs/vue
Vue 2 저장소입니다. Vue 3은 https://github.com/vuejs/core를 방문하세요.
212,527 스타