# What does the Locadex agent do?

50.7 s · Narrator: Frederick Surrey

Locadex is General Translation's AI agent. Connected to a GitHub repository, it opens pull requests that set up internationalization, wrap untranslated text in the right i18n calls, translate new content into every target language, and keep locale files in sync.

| Time | Voice | Line | On screen |
| --- | --- | --- | --- |
| 0:00.88 | Narrator | In Nagoya, your app offers Spanish and French, and a Japanese reader gets English. | A browser draws in the middle of the frame, its tab and address drawn as bars. On "Nagoya" the language code `ja` appears over its top right corner, and on "your" the app's page rises: a language menu set to English, "Welcome back" and a white "Get started" button. On "offers" the menu opens with three languages: English, Spanish and French, each in its own name. There is no Japanese. The heading "A Japanese reader gets English" rises on "a", and on "English" "Welcome back" turns blue. |
| 0:06.18 | Narrator | The app's gt.config.json lists Spanish and French, and nothing else. | On "app's" the browser slides to the right with its menu still open. On "gt.config.json" a code panel opens with `gt.config.json`: `"defaultLocale": "en"`, `"locales": ["es", "fr"]` and the output path `public/_gt/[locale].json`. On "lists" the blue moves from the page to the `locales` row. On "French" a line joins the row to the last language in the menu, and on "else" a white box draws around the row. |
| 0:12.32 | Narrator | General Translation uses its AI agent Locadex to open pull requests that translate your app. | The answer card cuts in on "General": the answer alone rises as it is spoken, in two lines, "General Translation uses its AI agent Locadex" then "to open pull requests that translate your app", and the General Translation mark sits small in the lower left corner. |
| 0:19.54 | Narrator | Connect GitHub in the Dashboard, and create an automation from a template. | The heading "Connect GitHub in the Dashboard". The code panel opens again on the Dashboard's Integrations page: the "Connected" and "Catalog" tabs, Catalog chosen, "All Integrations", and the GitHub card, "Internationalize your repositories through automated pull requests.", with a Connect button. On "GitHub" Connect is pressed and stays, and an "Installed" badge rises at the card's top right; on "Dashboard" "Select a repository" and acme/web, marked "Connected", appear under it. On "create" the panel cuts to "Automations" and "Start with a template", with three templates and the line each one runs: "Generate code", "Generate translations and push" and "Keep locales in sync". On "template" a white box draws around "Generate translations and push", and its automation opens on the right: the repository acme/web, the target directory, the framework Next.js, the target branch main, "Run when" set to "A commit is pushed", "Auto-merge" off, and a "Run setup" button. |
| 0:24.16 | Narrator | Run setup with Japanese as a target, and Locadex opens a pull request. | The heading "Run setup with Japanese". On "setup" the code panel cuts to the dialog "Set up this repository?", "Locadex prepares acme/web and opens a pull request.": the source locale English, and the target locales Spanish and French checked, Japanese not, with "2 selected". On "Japanese" Japanese is checked and the count reads "3 selected", and on "target" a white box draws around the three. On "and" Run setup is pressed, and the automation's Run setup button gives way to "View pull request". On "opens" the panel cuts to a pull request titled "feat(locadex): set up gt-next", and a line joins the automation's View pull request button to it; on "pull" its branch line draws, and on "request" its first changed file appears under "Files changed": `gt.config.json`, marked by a blue bar, over two more files drawn as bars. |
| 0:29.74 | Narrator | Turn on auto-merge, and Locadex merges its pull requests when checks pass. | The heading "Turn on auto-merge". On "auto-merge" the automation's Auto-merge switch turns on. On "merges" a white box draws around the switch, and it draws back on "checks". The setup pull request stays open in the panel. |
| 0:35.80 | Narrator | After the merge, the automation translates into every target language. | On "merge" the setup pull request's branch line closes: its branch joins the main branch again. Just before "the automation" a white box draws around the automation's "Run when" row, and it draws back before the panel cuts. The heading "Every target language" rises as the panel cuts to a second pull request, "chore(locadex): update translations on main", and a line joins the automation to it. On "every" its branch line draws, on "target" its changed file appears: `public/_gt/ja.json`, marked by a blue bar, over a file drawn as a bar, and on "language" its branch line closes. |
| 0:40.58 | Narrator | Along with Spanish and French, your app now opens in Japanese in Nagoya. | The browser cuts back in the middle of the frame, in English, with the code `en` and the menu set to English. On "Spanish", "French" and "Japanese" the whole page switches to that language, the menu and the code with it. On "Nagoya" the Japanese heading turns blue, in the place where "Welcome back" turned blue at the start. |
| 0:45.50 | No voice |  | The end card: the General Translation logo with generaltranslation.com/docs/platform/locadex/quickstart under it, held to the last frame while the music ends on a held chord. |

Times are where each line starts in the final, read from the film's own audio.
