-
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
257 changed files
with
1,268 additions
and
1,419 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,23 @@ | ||
<h1 align="center"> | ||
<img src="https://facebook.github.io/fbt/img/fbt.png" height="150" width="150" alt="FBT"/> | ||
<img src="https://facebook.github.io/fbt/img/fbt.png" height="150" width="150" alt="fbt"/> | ||
</h1> | ||
|
||
FBT is an internationalization framework for JavaScript designed to be **powerful**, **flexible**, and **intuitive**. | ||
**fbtee** (Far Better Translations, Extended Edition) is an internationalization framework for JavaScript designed to be **powerful**, **flexible**, and **intuitive**. | ||
|
||
It helps with the following: | ||
|
||
- Organizing your source text for translation | ||
- Composing grammatically correct translatable User Interfaces | ||
- Eliminating verbose boilerplate for generating User Interfaces | ||
- | ||
|
||
## Status: In-Progress Fork | ||
* Organizing your source text for translation | ||
* Composing grammatically correct translatable User Interfaces | ||
* Eliminating verbose boilerplate for generating User Interfaces | ||
|
||
## Status: Ready for Early Adopters | ||
|
||
This is a fork of Facebook's original fbt library, which has been archived. The aim of this fork is to create the best and most modern internationalization library for JavaScript & React. | ||
|
||
## License | ||
## Credits | ||
|
||
FBT is MIT licensed, as found in the [LICENSE](LICENSE) file. | ||
- `fbt` was originally created by [Facebook](https://github.com/facebook/fbt). | ||
- The auto-import plugin was created by @alexandernanberg. | ||
- [Nakazawa Tech](https://nkzw.tech) rewrote fbt into fbtee and is maintaining this project. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
{ | ||
"name": "@nkzw/babel-fbtee", | ||
"version": "0.0.1", | ||
"description": "The JavaScript & React Internationalization Framework.", | ||
"keywords": [ | ||
"fbt", | ||
"globalization", | ||
"i18n", | ||
"internationalization", | ||
"l10n", | ||
"localization", | ||
"react", | ||
"translation" | ||
], | ||
"repository": { | ||
"type": "git", | ||
"url": "https://github.com/facebook/fbt.git" | ||
}, | ||
"license": "MIT", | ||
"type": "module", | ||
"main": "lib/index.js", | ||
"bin": { | ||
"fbtee": "lib/bin.js" | ||
}, | ||
"scripts": { | ||
"build": "rm -f lib/index.js; pnpm build:src; pnpm build:bin", | ||
"build:bin": "esbuild --target=node22 --platform=node --format=esm --outfile=lib/bin.js --external:@nkzw/babel-plugin-fbtee --bundle ./src/bin.tsx", | ||
"build:src": "esbuild --target=node22 --platform=node --format=esm --outfile=lib/index.js --external:@nkzw/babel-plugin-fbtee --external:@nkzw/babel-plugin-fbtee-runtime --external:@nkzw/babel-plugin-fbtee-auto-import --bundle ./src/index.tsx", | ||
"build:types": "dts-bundle-generator -o lib/index.d.ts src/index.tsx" | ||
}, | ||
"dependencies": { | ||
"@nkzw/babel-plugin-fbtee": "workspace:*", | ||
"@nkzw/babel-plugin-fbtee-auto-import": "workspace:*", | ||
"@nkzw/babel-plugin-fbtee-runtime": "workspace:*" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
#! /usr/bin/env node | ||
|
||
import('@nkzw/babel-plugin-fbtee/lib/bin.js'); |
6 changes: 3 additions & 3 deletions
6
packages/babel-preset-fbt/src/index.tsx → packages/babel-fbtee/src/index.tsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
File renamed without changes.
16 changes: 13 additions & 3 deletions
16
...babel-plugin-fbt-auto-import/package.json → ...bel-plugin-fbtee-auto-import/package.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.