FBT for PHP

An Internationalization Framework for PHP 7.0+

Inlined translatable text

Compose translatable text inline with your source:

<?php fbtTransform(); ?>
<button>
<fbt desc="Canonical intro text">
Hello World!
</fbt>
</button>
<?php endFbtTransform(); ?>

Seamless text collection

Collect your translatable source texts with ease:

{
"hashToText":{
"ni7kanCF2RfGZAS9mDOToQ==":
"Hello, World!"
},
...,
"desc": "Canonical intro text"
}

Integrated translations

Easily pull translations into your app

<button>Hello, Byd!</button>

Why FBT?

FBT is a framework for internationalizing user interfaces in PHP. It is designed to be not only powerful and flexible, but also simple and intuitive. Getting grammatically correct translated texts in dynamic applications is hard. Let FBT do the hard work for you.

From whom does it come?