# Bevy fluent

> Bevy fluent is an open-source agent skill for developer tools. Adds typed Fluent localization and runtime locale switching to Bevy 0.20 apps. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.

- **Kind:** Skill
- **Pricing:** Open source
- **Platforms:** Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf, Goose
- **Website:** https://github.com/shinyobjectz/raea-skills/tree/main/skills/bevy/pack/bevy-fluent
- **Repository:** https://github.com/shinyobjectz/raea-skills
- **GitHub stars:** 41
- **License:** MIT
- **Skill name:** bevy-fluent
- **Collection:** https://github.com/shinyobjectz/raea-skills
- **Categories:** [developer tools](https://ai-powered.com/categories/developer-tools)
- **Listing updated:** 2026-12-01

## About

This skill guides an agent through adding Fluent-based localization to a Bevy 0.20 game or app using the es-fluent-manager-bevy 0.21 crate. It shows a minimal project layout: a Cargo setup, an i18n.toml file that points to a locales folder, a module that defines the i18n plugin, and a library target where message enums are declared.

The guidance covers defining typed messages with derive macros, wrapping UI text entities so they refresh when the locale changes, and sending locale change requests and reading confirmations through Bevy messages. It also explains the requested and active language resources, and hot-reloading of .ftl files.

The skill includes reference notes on the library-versus-binary layout, the i18n.toml schema, the es-fluent command-line subcommands, and the Rust toolchain version needed. It expects a Rust project using Bevy and the listed crates, and does not include scripts.

## When your agent uses it

> Use when adding localization to a Bevy 0.20 app with `es-fluent-manager-bevy` 0.21, defining typed messages with `#[derive(EsFluent)]`, wrapping UI text in `FluentText<T>`, auto-registering locale updates with `#[derive(BevyFluentText)]`, or switching locales via `LocaleChangeMessage` / `LocaleChangedMessage`. Covers `I18nPlugin`, `RequestedLanguageId`, `ActiveLanguageId`, `i18n.toml` config, and hot-reload of `.ftl` assets.

## What it can access

From a static check of the files on GitHub; nothing was run.

- [Instructions only, no scripts](https://github.com/shinyobjectz/raea-skills/tree/HEAD/skills/bevy/pack/bevy-fluent)
- [License: MIT](https://github.com/shinyobjectz/raea-skills/tree/HEAD/skills/bevy/pack/bevy-fluent)

## Features

- **Typed message definitions:** Describes defining UI strings as enums with derive macros so each message is checked at compile time.
- **Locale-aware text components:** Explains wrapping Text entities so their content updates automatically when the active locale changes.
- **Runtime locale switching:** Covers requesting a language change through Bevy messages and reading the confirmation event.
- **Project and config setup:** Shows the Cargo dependencies, i18n.toml settings and plugin registration needed for localization.
- **Hot-reload of translation files:** Notes that .ftl asset changes can be picked up without restarting the app when the file watcher feature is enabled.
- **Version and toolchain notes:** Lists the crate and Bevy version pairing and the minimum Rust compiler version required.

## Good for

- Add French and English translations to a Bevy game menu
- Set up typed UI strings for a Bevy 0.20 app
- Let players switch the interface language at runtime
- Move an existing Bevy 0.18 localization setup to the 0.21 crate
- Debug why translation output is empty after running the es-fluent generate command

## Install

### Claude Code

This skill ships in the `raea` plugin. In Claude Code, add the marketplace and install the plugin (it may include other skills too):

```sh
/plugin marketplace add shinyobjectz/raea-skills
/plugin install raea@raea
```

Or copy only this skill to `~/.claude/skills/bevy-fluent`:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/shinyobjectz/raea-skills.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/bevy-fluent &&
cp -R "$tmp/skills/bevy/pack/bevy-fluent" ~/.claude/skills/bevy-fluent &&
rm -rf "$tmp"
```

For one project only, put the folder in `.claude/skills/bevy-fluent` inside it instead.

### Codex

Copy the skill folder to `~/.agents/skills/bevy-fluent` to use it in every repository:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/shinyobjectz/raea-skills.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/bevy-fluent &&
cp -R "$tmp/skills/bevy/pack/bevy-fluent" ~/.agents/skills/bevy-fluent &&
rm -rf "$tmp"
```

For one repository only, put the folder in `.agents/skills/bevy-fluent` inside it instead.

### Cursor

Copy the skill folder to `~/.cursor/skills/bevy-fluent` to use it in every project:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/shinyobjectz/raea-skills.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/bevy-fluent &&
cp -R "$tmp/skills/bevy/pack/bevy-fluent" ~/.cursor/skills/bevy-fluent &&
rm -rf "$tmp"
```

For one project only, put the folder in `.cursor/skills/bevy-fluent` inside it instead.

### Gemini CLI

Run in a terminal (add `--scope workspace` to install it for the current workspace only):

```sh
gemini skills install https://github.com/shinyobjectz/raea-skills.git --path skills/bevy/pack/bevy-fluent
```

Or copy the folder to `~/.gemini/skills/bevy-fluent` yourself.

### VS Code

For GitHub Copilot in VS Code, copy the skill folder to `~/.copilot/skills/bevy-fluent`:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/shinyobjectz/raea-skills.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/bevy-fluent &&
cp -R "$tmp/skills/bevy/pack/bevy-fluent" ~/.copilot/skills/bevy-fluent &&
rm -rf "$tmp"
```

For one project only, put the folder in `.github/skills/bevy-fluent` inside it instead.

### Other agents

Get the folder:

```sh
git clone --depth 1 https://github.com/shinyobjectz/raea-skills.git
```

Then copy `raea-skills/skills/bevy/pack/bevy-fluent` into your agent's skills folder as `bevy-fluent`. Agents that support SKILL.md read one folder per skill.

## FAQ

### Which Bevy and crate versions does Bevy fluent target?

It targets Bevy 0.20 with es-fluent-manager-bevy 0.21, which needs rustc 1.99 according to the skill notes.

### Why must message enums live in the library target?

The cargo es-fluent generate command only sees the library target, so enums declared only in main.rs produce empty .ftl output without an error.

### What changed from earlier versions of the crate?

In 0.21 the locale event types were renamed to LocaleChangeMessage and LocaleChangedMessage, and they are used with MessageWriter and MessageReader rather than event types.

### How do I install Bevy fluent in Claude Code?

Copy the skill folder from GitHub to ~/.claude/skills/bevy-fluent to use it in all your projects, or to .claude/skills/bevy-fluent in one project. Or install the raea plugin, which includes it: /plugin marketplace add shinyobjectz/raea-skills, then /plugin install raea@raea.

### Does Bevy fluent run scripts?

No. It is instructions only, with no scripts. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.

### Which AI agents can use Bevy fluent?

Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose. Each reads skills in the SKILL.md format from its own folder; the install steps on this page list them.

### What are the best alternatives to Bevy fluent?

The closest alternatives to Bevy fluent are Bevy, Bevy migration 0 18 to 0 19, Bevy assets, Bevy custom assets and Bevy UI.

## Where this comes from

- Description: from the skill's own SKILL.md.

## Alternatives

- [Bevy](https://ai-powered.com/skills/bevy-shinyobjectz): Bevy is an open-source agent skill for developer tools.
- [Bevy migration 0 18 to 0 19](https://ai-powered.com/skills/bevy-migration-0-18-to-0-19): Bevy migration 0 18 to 0 19 is an open-source agent skill for developer tools.
- [Bevy assets](https://ai-powered.com/skills/bevy-assets): Bevy assets is an open-source agent skill for developer tools.
- [Bevy custom assets](https://ai-powered.com/skills/bevy-custom-assets): Bevy custom assets is an open-source agent skill for developer tools.
- [Bevy UI](https://ai-powered.com/skills/bevy-ui): Bevy UI is an open-source agent skill for developer tools.
- [Bevy migration 0 17 to 0 18](https://ai-powered.com/skills/bevy-migration-0-17-to-0-18): Bevy migration 0 17 to 0 18 is an open-source agent skill for developer tools.
- [Bevy porting](https://ai-powered.com/skills/bevy-porting): Bevy porting is an open-source agent skill for developer tools.
- [Bevy cargo features](https://ai-powered.com/skills/bevy-cargo-features): Bevy cargo features is an open-source agent skill for developer tools.

---
Source: https://ai-powered.com/skills/bevy-fluent
