A JavaScript Internationalization Framework
3,881
stars
820
commits
JavaScript
primary language
Nov 14, 2024
updated
FBT is an internationalization framework for JavaScript designed to be not just powerful and flexible, but also simple and intuitive. It helps with the following:
git clone git@github.com:facebook/fbt.git
cd fbt
yarn install
NOTE: if you make changes to the fbt runtime that you'd like to test in the demo-app, be sure to run this command to rebuild the JS code:
yarn build-runtime
See how to use the source directly with Babel and Webpack in our demo-app.
FBT works by transforming your <fbt> and fbt(...) constructs via
Babel plugins. These plugins serve to extract strings from source and
lookup translated payloads generated at build-time. FBT creates tables
of all possible variations for the given fbt phrase and accesses this
at runtime.
See the CONTRIBUTING file for how to help out.
See CHANGELOG.
babel-plugin-fbt-runtime)
FBT is MIT licensed, as found in the LICENSE file.
(top 30 of 97)
JavaScript
98.8%
A JavaScript Internationalization Framework
3,881
stars
820
commits
JavaScript
primary language
Nov 14, 2024
updated
FBT is an internationalization framework for JavaScript designed to be not just powerful and flexible, but also simple and intuitive. It helps with the following:
git clone git@github.com:facebook/fbt.git
cd fbt
yarn install
NOTE: if you make changes to the fbt runtime that you'd like to test in the demo-app, be sure to run this command to rebuild the JS code:
yarn build-runtime
See how to use the source directly with Babel and Webpack in our demo-app.
FBT works by transforming your <fbt> and fbt(...) constructs via
Babel plugins. These plugins serve to extract strings from source and
lookup translated payloads generated at build-time. FBT creates tables
of all possible variations for the given fbt phrase and accesses this
at runtime.
See the CONTRIBUTING file for how to help out.
See CHANGELOG.
babel-plugin-fbt-runtime)
FBT is MIT licensed, as found in the LICENSE file.
(top 30 of 97)
JavaScript
98.8%