# General Translation Integrations: Supported file formats
URL: https://generaltranslation.com/en-GB/docs/integrations/paraglide/reference/file-formats.mdx
Docs index: https://generaltranslation.com/llms.txt
Description: The component formats analysed for Paraglide JS message usages and the tools each one needs. Reference for supported file formats.

JavaScript, TypeScript, and JSX files are parsed directly, including Lit-style `` html`…` `` templates. Every other format is converted to TypeScript by the framework&#39;s own tooling, which is loaded from your app so its version matches the framework&#39;s.

## Formats [#formats]

Those tools are not bundled. Install the ones for the formats your app uses:

| Files                                                                     | Needs in the app                                                                                                         |
| ------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------ |
| `.js`, `.ts`, `.jsx`, `.tsx`, and their `.mjs`/`.cjs`/`.mts`/`.cts` forms | Nothing                                                                                                                  |
| `.vue`, VitePress `.md`                                                   | `@vue/language-core` (comes with `vue-tsc`) and `typescript` 5 or 6. Pug templates also need `@vue/language-plugin-pug`. |
| `.svelte`                                                                 | `svelte2tsx` (comes with `svelte-check`) and `svelte`                                                                    |
| `.astro`                                                                  | `@astrojs/astro2tsx` (comes with `@astrojs/check`), else `@astrojs/compiler`                                             |
| `.mdx`                                                                    | `@mdx-js/language-service` and `typescript` 5 or 6                                                                       |
| Angular `.ts` and `.html`, `.ag`, `.analog`                               | `@angular/compiler`                                                                                                      |
| `.marko`                                                                  | `@marko/language-tools` and `@marko/compiler`                                                                            |
| `.gjs`, `.gts`                                                            | `@glint/ember-tsc`                                                                                                       |

## Missing tools [#missing-tools]

* A format whose tool is not installed is skipped with one warning which names what to install.
* A tool is found when it is a dependency of the app or of one of the app&#39;s dependencies, so `svelte-check` is enough for `.svelte` files.
* The Vue and MDX tools need a `typescript` version with a JavaScript API: 5 or 6.
* A file that its tool rejects is skipped with a warning. The rest of the format is still analysed.

## Other formats [#other-formats]

Each built-in format is a language passed to the [`languages`](/docs/integrations/paraglide/reference/collect-context#languages) option. To analyse a format that is not listed, write your own. (See [Adding file formats](/docs/integrations/paraglide/guides/adding-file-formats)).

## Sitemap

See the full [sitemap](https://generaltranslation.com/sitemap.md) for all pages.
