# Facebook FBT

> Facebook FBT file localization

URL: https://store.crowdin.com/fbt
Identifier: fbt
Category: File Formats
Type: System
Author: Crowdin

Facebook FBT is a natively supported file format, you can use it without an additional installation. Just upload it to your projects and start the localization.

## File Format Details

| Attribute | Value |
| --------- | ----- |
| File Extension | .json |
| [API Type](https://developer.crowdin.com/api/v2/#operation/api.projects.files.post) | fbt |
| Source can be edited in Crowdin | No |
| Generating translated files via [Bundles](https://support.crowdin.com/bundles/) | [Search Crowdin Store](https://store.crowdin.com/tags/string-exporter) |
| Supports pluralization | No |
| WYSIWYG Preview in the editor | No |
| Supported types of contextual information | Text comments, Screenshots, In-Context |
| Custom attributes | No |
| Existing translations import possibility | Key-value mapping |

## Sample File

```json
{
  "phrases": [
    {
      "hashToText": {
        "40bd5bc10bd59fe020569068cfd7d814": "Your FBT Demo"
      },
      "filepath": "src/example/Example.react.js",
      "line_beg": 110,
      "col_beg": 12,
      "line_end": 110,
      "col_end": 49,
      "type": "text",
      "desc": "title",
      "project": "fbt-demo-project",
      "jsfbt": "Your FBT Demo"
    },
    {
      "hashToText": {
        "f75b97a97fa3772468477f17e0c0a160": "Construct sentences"
      },
      "filepath": "src/example/Example.react.js",
      "line_beg": 112,
      "col_beg": 14,
      "line_end": 112,
      "col_end": 58,
      "type": "text",
      "desc": "header",
      "project": "fbt-demo-project",
      "jsfbt": "Construct sentences"
    },
    {
      "hashToText": {
        "26d8c764cc951266855af9e375d97105": "Use the form below to see FBT in action."
      },
      "filepath": "src/example/Example.react.js",
      "line_beg": 113,
      "col_beg": 14,
      "line_end": 113,
      "col_end": 91,
      "type": "text",
      "desc": "yet another header",
      "project": "fbt-demo-project",
      "jsfbt": "Use the form below to see FBT in action."
    }
  ],
  "translationGroups": [
    {
      "fb-locale": "de_DE",
      "translations": {
        "40bd5bc10bd59fe020569068cfd7d814": {
          "tokens": [],
          "types": [],
          "translations": [
            {
              "translation": "Ihre FBT-Demo",
              "variations": []
            }
          ]
        },
        "f75b97a97fa3772468477f17e0c0a160": {
          "tokens": [],
          "types": [],
          "translations": [
            {
              "translation": "Sätze konstruieren",
              "variations": []
            }
          ]
        },
        "26d8c764cc951266855af9e375d97105": {
          "tokens": [],
          "types": [],
          "translations": [
            {
              "translation": "Verwenden Sie das Formular unten, um FBT in Aktion anzuzeigen.",
              "variations": []
            }
          ]
        }
      }
    }
  ]
}
```
