FBT is an internationalization framework for PHP designed to be not just powerful and flexible, but also simple and intuitive. It helps with the following:
This library is based on the JavaScript implementation of Facebook's FBT.
composer require richarddobron/fbt
Version | Released | Status | Repo | PHP Version |
---|---|---|---|---|
3.x | 2022-02-18 | Maintained | v3 | >= 7.0 |
4.x | 2022-04-09 | Latest | v4 | >= 7.2 |
The following integrations are fully supported and maintained:
FBT works by transforming your <fbt>
and fbt(...)
constructs via Simple HTML DOM Parser. This library serve to extract strings from source and lookup translated payloads generated while execution. FBT creates tables of all possible variations for the given fbt phrase and accesses this at runtime.
Note: Due to the size or complexity of this submission, the author has submitted it as a .zip file to shorten your download time. After downloading it, you will need a program like Winzip to decompress it.
Virus note: All files are scanned once-a-day by SourceCodester.com for viruses, but new viruses come out every day, so no prevention program can catch 100% of them.
FOR YOUR OWN SAFETY, PLEASE:
1. Re-scan downloaded files using your personal virus checker before using it.
2. NEVER, EVER run compiled files (.exe's, .ocx's, .dll's etc.)--only run source code.