# Fluent

**URL:** https://discourse.mozilla.org/c/fluent/262.md

[Latest](https://discourse.mozilla.org/latest.md) · [Categories](https://discourse.mozilla.org/categories.md) · [Tags](https://discourse.mozilla.org/tags.md)

---

## [About the Fluent category](https://discourse.mozilla.org/t/about-the-fluent-category/28995)

<div class="topic-metadata">

**Author:** [@stas](https://discourse.mozilla.org/u/stas)\
**Replies:** 1\
**Last updated:** [October 10, 2020, 5:25pm UTC](https://discourse.mozilla.org/t/about-the-fluent-category/28995 "2020-10-10T17:25:02Z")

</div>

Fluent is a localization system designed to improve how software is translated. This Discourse category is a place to discuss the design of Fluent, plan the future versions and receive support. Most of the design work t…

---

## [\[showcase\] Fluent-manager — a lightweight Python localisation manager built on fluent-runtime](https://discourse.mozilla.org/t/showcase-fluent-manager-a-lightweight-python-localisation-manager-built-on-fluent-runtime/147674)

<div class="topic-metadata">

**Author:** [@bogdanovych](https://discourse.mozilla.org/u/bogdanovych)\
**Replies:** 0\
**Last updated:** [March 20, 2026, 9:51am UTC](https://discourse.mozilla.org/t/showcase-fluent-manager-a-lightweight-python-localisation-manager-built-on-fluent-runtime/147674 "2026-03-20T09:51:00Z")

</div>

Hi everyone! I’ve just published fluent-manager, a small Python package that wraps fluent-runtime and makes it easier to manage localisations in Python projects. What it does: Simple API to retrieve localised string…

---

## [How i can check variable for non-empty in selector?](https://discourse.mozilla.org/t/how-i-can-check-variable-for-non-empty-in-selector/90181)

<div class="topic-metadata">

**Author:** [@DenF](https://discourse.mozilla.org/u/DenF)\
**Replies:** 2\
**Last updated:** [January 3, 2026, 9:37pm UTC](https://discourse.mozilla.org/t/how-i-can-check-variable-for-non-empty-in-selector/90181 "2026-01-03T21:37:20Z")

</div>

How i can check random $variable for non-empty/existing? What about if variable will not passed from application? For example, random .ftl file: that\_string = { $username -\> \[what i need to pass there?\] …

---

## [Fluent message combinatorics and the limitations of WET](https://discourse.mozilla.org/t/fluent-message-combinatorics-and-the-limitations-of-wet/142349)

<div class="topic-metadata">

**Author:** [@cbs228](https://discourse.mozilla.org/u/cbs228)\
**Replies:** 0\
**Last updated:** [April 13, 2025, 11:20pm UTC](https://discourse.mozilla.org/t/fluent-message-combinatorics-and-the-limitations-of-wet/142349 "2025-04-13T23:20:03Z")

</div>

I am trying to localize samedec, a rust crate which parses weather warning messages. While I am using the fluent-rs rust crate, my question is more general. I’d like tips on writing FSL for large switchyards of messages. …

---

## [🎉 Fluent Syntax 1.0](https://discourse.mozilla.org/t/fluent-syntax-1-0/38372)

<div class="topic-metadata">

**Author:** [@stas](https://discourse.mozilla.org/u/stas)\
**Replies:** 8\
**Last updated:** [April 11, 2025, 11:37pm UTC](https://discourse.mozilla.org/t/fluent-syntax-1-0/38372 "2025-04-11T23:37:37Z")

</div>

I’m happy and proud to announce the stable release of Fluent Syntax 1.0, available today. With this release, we commit to no braking changes to the syntax and to the AST during the 1.x lifetime. The formal definition of…

---

## [What companies are using Fluent in production?](https://discourse.mozilla.org/t/what-companies-are-using-fluent-in-production/142298)

<div class="topic-metadata">

**Author:** [@kxra](https://discourse.mozilla.org/u/kxra)\
**Replies:** 0\
**Last updated:** [April 11, 2025, 11:41pm UTC](https://discourse.mozilla.org/t/what-companies-are-using-fluent-in-production/142298 "2025-04-11T23:41:35Z")

</div>

As the title says, drop your corporate—or indie—Fluent translation usage in this thread (or a PR)! Compiling a fluent-companies list inspired by elm-companies and haskell companies, and a desire for more institutional s…

---

## [Institutional Support (ICU4X / Unicode MessageFormat 2.0)](https://discourse.mozilla.org/t/institutional-support-icu4x-unicode-messageformat-2-0/142297)

<div class="topic-metadata">

**Author:** [@kxra](https://discourse.mozilla.org/u/kxra)\
**Replies:** 0\
**Last updated:** [April 11, 2025, 11:36pm UTC](https://discourse.mozilla.org/t/institutional-support-icu4x-unicode-messageformat-2-0/142297 "2025-04-11T23:36:21Z")

</div>

Picking up from this exchange What will MessageFormat 2 actually provide that Fluent doesn’t / can’t / won’t? There’s a page on the wiki for GNU gettext, ICU MessageFormat, etc, but not MF2. Endorsement is a major f…

---

## [Does Fluent have a code compilation/optimization?](https://discourse.mozilla.org/t/does-fluent-have-a-code-compilation-optimization/124685)

<div class="topic-metadata">

**Author:** [@crabvk](https://discourse.mozilla.org/u/crabvk)\
**Replies:** 0\
**Last updated:** [November 29, 2023, 7:13am UTC](https://discourse.mozilla.org/t/does-fluent-have-a-code-compilation-optimization/124685 "2023-11-29T07:13:07Z")

</div>

In the JavaScript/SPA environment, does Fluent Language compile to something efficient, or does it require Fluent Language interpreter on the client side and execute Fluent code in real time?

---

## [How to deal with nesting?](https://discourse.mozilla.org/t/how-to-deal-with-nesting/128470)

<div class="topic-metadata">

**Author:** [@dakom](https://discourse.mozilla.org/u/dakom)\
**Replies:** 0\
**Last updated:** [March 5, 2024, 8:37am UTC](https://discourse.mozilla.org/t/how-to-deal-with-nesting/128470 "2024-03-05T08:37:30Z")

</div>

Let’s say we’re translating a website with a hierarchy of pages with various content like level-1 level-1-a title content level-1-b title content level-2 level-2-a title content level-2-b title content …

---

## [High-level Fluent Rust APIs](https://discourse.mozilla.org/t/high-level-fluent-rust-apis/123688)

<div class="topic-metadata">

**Author:** [@G2P](https://discourse.mozilla.org/u/G2P)\
**Replies:** 0\
**Last updated:** [October 25, 2023, 8:16pm UTC](https://discourse.mozilla.org/t/high-level-fluent-rust-apis/123688 "2023-10-25T20:16:18Z")

</div>

I have a leptos-based web app that I want to translate. I’d like to use fluent. My needs aren’t complex, but I don’t want to learn or be tied to any homegrown, framework-specific translation format. Looking at high-lev…

---

## [Suitability of Fluent for the CSL project?](https://discourse.mozilla.org/t/suitability-of-fluent-for-the-csl-project/115802)

<div class="topic-metadata">

**Author:** [@bdarcus](https://discourse.mozilla.org/u/bdarcus)\
**Replies:** 0\
**Last updated:** [June 6, 2023, 2:48pm UTC](https://discourse.mozilla.org/t/suitability-of-fluent-for-the-csl-project/115802 "2023-06-06T14:48:31Z")

</div>

About 20 years ago, I create the Citation Style Language, which is an XML DSL for citation and bibliography configuration. It includes a template language, that I think in retrospect is probably more complicated than it…

---

## [Advice for testing with @fluent/react](https://discourse.mozilla.org/t/advice-for-testing-with-fluent-react/108151)

<div class="topic-metadata">

**Author:** [@nickform](https://discourse.mozilla.org/u/nickform)\
**Replies:** 3\
**Last updated:** [December 3, 2022, 8:14pm UTC](https://discourse.mozilla.org/t/advice-for-testing-with-fluent-react/108151 "2022-12-03T20:14:24Z")

</div>

Hi, Can anyone provide some guidance on how to write tests for react components that use Localized from @fluent/react? At the minute, I’m constructing a ReactLocalization instance with no bundles or markup parser for us…

---

## [Formatting text differently depending on the language](https://discourse.mozilla.org/t/formatting-text-differently-depending-on-the-language/94642)

<div class="topic-metadata">

**Author:** [@briankung](https://discourse.mozilla.org/u/briankung)\
**Replies:** 1\
**Last updated:** [November 28, 2022, 5:59pm UTC](https://discourse.mozilla.org/t/formatting-text-differently-depending-on-the-language/94642 "2022-11-28T17:59:20Z")

</div>

Hi there. I was volunteering to translate a mental health app into Chinese at some point and the i18n library the app used was a 1:1 mapping that separated some English words out to be bold. The problem was that the emph…

---

## [Better Fluent integration for JavaScript](https://discourse.mozilla.org/t/better-fluent-integration-for-javascript/90374)

<div class="topic-metadata">

**Author:** [@slavafomin](https://discourse.mozilla.org/u/slavafomin)\
**Replies:** 0\
**Last updated:** [December 17, 2021, 3:54pm UTC](https://discourse.mozilla.org/t/better-fluent-integration-for-javascript/90374 "2021-12-17T15:54:23Z")

</div>

Hello there! First of all, thank you for this great tool. I’ve looked through many i18n standards and libraries recently and have found Fluent syntax to be most friendly and easier to work with (especially for non-dev pe…

---

## [Tranaslate from .ftl to .po file and vice-versa](https://discourse.mozilla.org/t/tranaslate-from-ftl-to-po-file-and-vice-versa/85551)

<div class="topic-metadata">

**Author:** [@ygritte13](https://discourse.mozilla.org/u/ygritte13)\
**Replies:** 0\
**Last updated:** [September 6, 2021, 6:28pm UTC](https://discourse.mozilla.org/t/tranaslate-from-ftl-to-po-file-and-vice-versa/85551 "2021-09-06T18:28:07Z")

</div>

Hi, I am new to language translation and am implementing a project in Rust. I am impressed with the support fluent provides and am using fluent for translation. However the translation file we need for the project is pr…

---

## [Not support arc?](https://discourse.mozilla.org/t/not-support-arc/85274)

<div class="topic-metadata">

**Author:** [@shan.liu](https://discourse.mozilla.org/u/shan.liu)\
**Replies:** 1\
**Last updated:** [August 31, 2021, 5:39am UTC](https://discourse.mozilla.org/t/not-support-arc/85274 "2021-08-31T05:39:49Z")

</div>

fluent = “0.16.0” unic-langid={version=“0.9”,features=\[“unic-langid-macros”\]} async-trait = “0.1.51” use fluent::{FluentBundle, FluentResource}; use unic\_langid::langid; use fluent::resolver::Scope; use fluent::fluent…

---

## [Fluent web .js?](https://discourse.mozilla.org/t/fluent-web-js/44169)

<div class="topic-metadata">

**Author:** [@plxmnty](https://discourse.mozilla.org/u/plxmnty)\
**Replies:** 4\
**Last updated:** [July 5, 2021, 5:21pm UTC](https://discourse.mozilla.org/t/fluent-web-js/44169 "2021-07-05T17:21:09Z")

</div>

Hi @ all I’m a translator with little knowledge in programming. A couple of months ago I was testing some things with the fluent-web.js library (from this source https://github.com/projectfluent/fluent-web/tree/master/s…

---

## [Public pontoon](https://discourse.mozilla.org/t/public-pontoon/77942)

<div class="topic-metadata">

**Author:** [@Franz\_Dietrich](https://discourse.mozilla.org/u/Franz_Dietrich)\
**Replies:** 4\
**Last updated:** [May 24, 2021, 3:24pm UTC](https://discourse.mozilla.org/t/public-pontoon/77942 "2021-05-24T15:24:16Z")

</div>

I’m trying to use fluent-rs and fluent-templates as this seems to be way more expressive than gettext. However I’m really struggling with tooling. is there a public pontoon instance where I can register my project to? …

---

## [Fluent for PHP](https://discourse.mozilla.org/t/fluent-for-php/44158)

<div class="topic-metadata">

**Author:** [@terales](https://discourse.mozilla.org/u/terales)\
**Replies:** 4\
**Last updated:** [March 25, 2021, 9:15pm UTC](https://discourse.mozilla.org/t/fluent-for-php/44158 "2021-03-25T21:15:52Z")

</div>

Did anybody start the Fluent implementation for PHP?

---

## [Kate support](https://discourse.mozilla.org/t/kate-support/76840)

<div class="topic-metadata">

**Author:** [@fabi123](https://discourse.mozilla.org/u/fabi123)\
**Replies:** 4\
**Last updated:** [March 12, 2021, 5:46am UTC](https://discourse.mozilla.org/t/kate-support/76840 "2021-03-12T05:46:09Z")

</div>

I was annoyed by the fact that I didn’t found any editor which supported Fluent at least by highlighting and decided to add highlighting support to my favorite editor Kate. It’s currently only available by compiling Kat…

---

## [Can ONE variable select how ANOTHER variable is used?](https://discourse.mozilla.org/t/can-one-variable-select-how-another-variable-is-used/75270)

<div class="topic-metadata">

**Author:** [@henr](https://discourse.mozilla.org/u/henr)\
**Replies:** 2\
**Last updated:** [February 10, 2021, 9:51am UTC](https://discourse.mozilla.org/t/can-one-variable-select-how-another-variable-is-used/75270 "2021-02-10T09:51:54Z")

</div>

On https://www.projectfluent.org/ there is a good example of the FTL-file Fluent syntax: (I don’t know why some words are in bold below…) tabs-close-tooltip = {$tabCount -\> \[one\] Close {$tabCount} tab \*\[other\] C…

---

## [Python Fluent chooses wrong locales](https://discourse.mozilla.org/t/python-fluent-chooses-wrong-locales/75049)

<div class="topic-metadata">

**Author:** [@henr](https://discourse.mozilla.org/u/henr)\
**Replies:** 11\
**Last updated:** [February 7, 2021, 9:41pm UTC](https://discourse.mozilla.org/t/python-fluent-chooses-wrong-locales/75049 "2021-02-07T21:41:02Z")

</div>

Hi! I have implemented Fluent in my Python/Kivy app. I thought it worked fine, but now it seems to ignore when I change locales. Here is the (global) initialization in my Python app: from fluent.runtime import FluentLo…

---

## [Why does only some of my multiline strings work in Python-Fluent?](https://discourse.mozilla.org/t/why-does-only-some-of-my-multiline-strings-work-in-python-fluent/74713)

<div class="topic-metadata">

**Author:** [@henr](https://discourse.mozilla.org/u/henr)\
**Replies:** 4\
**Last updated:** [January 31, 2021, 6:57pm UTC](https://discourse.mozilla.org/t/why-does-only-some-of-my-multiline-strings-work-in-python-fluent/74713 "2021-01-31T18:57:14Z")

</div>

Hi! Generally Fluent seems excellent. But only some of my multiline strings get loaded. In the other cases Fluent displays the key instead. I use Fluent in a Python 3.8 venv, in PyCharm. The installation is: Fluent.r…

---

## [Does fluent-rs "treeshake"?](https://discourse.mozilla.org/t/does-fluent-rs-treeshake/74560)

<div class="topic-metadata">

**Author:** [@dakom](https://discourse.mozilla.org/u/dakom)\
**Replies:** 4\
**Last updated:** [January 29, 2021, 11:06am UTC](https://discourse.mozilla.org/t/does-fluent-rs-treeshake/74560 "2021-01-29T11:06:36Z")

</div>

Just getting started, and wondering - can I stuff a bunch of mock data in a FTL for integration tests and things, and know that when the app is built, only the keys that are actually used will be bundled into the binary …

---

## [Django admin headers translation case – another argument towards dynamic message references](https://discourse.mozilla.org/t/django-admin-headers-translation-case-another-argument-towards-dynamic-message-references/74281)

<div class="topic-metadata">

**Author:** [@maciek](https://discourse.mozilla.org/u/maciek)\
**Replies:** 0\
**Last updated:** [January 22, 2021, 11:51pm UTC](https://discourse.mozilla.org/t/django-admin-headers-translation-case-another-argument-towards-dynamic-message-references/74281 "2021-01-22T23:51:39Z")

</div>

In Django admin panel there are strings like “Select $sth to change” and “Select $sth to view” where $sth is a Django model name, like “user” or “group” in case of core Django models. But you can have plenty of models wi…

---

## [Which tools are available for finding errors in FTL files?](https://discourse.mozilla.org/t/which-tools-are-available-for-finding-errors-in-ftl-files/70313)

<div class="topic-metadata">

**Author:** [@Giraffen](https://discourse.mozilla.org/u/Giraffen)\
**Replies:** 5\
**Last updated:** [November 9, 2020, 6:02pm UTC](https://discourse.mozilla.org/t/which-tools-are-available-for-finding-errors-in-ftl-files/70313 "2020-11-09T18:02:29Z")

</div>

Hi Great to see the error handling documented in https://github.com/projectfluent/fluent/wiki/Error-Handling#error-reporting that will provide errors such as Use \* in front of at least one variant to mark it as primary. …

---

## [Using fluent rust library with gtk](https://discourse.mozilla.org/t/using-fluent-rust-library-with-gtk/69165)

<div class="topic-metadata">

**Author:** [@mhack](https://discourse.mozilla.org/u/mhack)\
**Replies:** 1\
**Last updated:** [October 27, 2020, 2:06pm UTC](https://discourse.mozilla.org/t/using-fluent-rust-library-with-gtk/69165 "2020-10-27T14:06:33Z")

</div>

I’ve been working on a personal project using rust and gtk and was hoping to use the fluent rust library for localization. I’m a little uncertain how to go about it and was hoping someone here might have resources or po…

---

## [Could I use Fluent logo on my VS Code Extension?](https://discourse.mozilla.org/t/could-i-use-fluent-logo-on-my-vs-code-extension/68561)

<div class="topic-metadata">

**Author:** [@macabeus](https://discourse.mozilla.org/u/macabeus)\
**Replies:** 2\
**Last updated:** [October 5, 2020, 11:49pm UTC](https://discourse.mozilla.org/t/could-i-use-fluent-logo-on-my-vs-code-extension/68561 "2020-10-05T23:49:20Z")

</div>

Hello, I’m developing a VS Code extension to improve experience while developing with Fluent. And I would like to use Fluent’s logo on my extension page, to be displayed on marketplace: But since Fluent is using Ap…

---

## [Transcoding Fluent.js to Java for L10n tools](https://discourse.mozilla.org/t/transcoding-fluent-js-to-java-for-l10n-tools/65195)

<div class="topic-metadata">

**Author:** [@RickieES](https://discourse.mozilla.org/u/RickieES)\
**Replies:** 1\
**Last updated:** [August 6, 2020, 8:07am UTC](https://discourse.mozilla.org/t/transcoding-fluent-js-to-java-for-l10n-tools/65195 "2020-08-06T08:07:56Z")

</div>

Hi, There are too many FTL files for Thunderbird L10n now, so I’m going to try to write Java code to deal with them in MozillaTranslator or its successor. I don’t plan to write a full Java transcodification of Fluent li…

---

## [Semantics of Bundles & fallbacks](https://discourse.mozilla.org/t/semantics-of-bundles-fallbacks/63107)

<div class="topic-metadata">

**Author:** [@Pike](https://discourse.mozilla.org/u/Pike)\
**Replies:** 5\
**Last updated:** [July 17, 2020, 12:28am UTC](https://discourse.mozilla.org/t/semantics-of-bundles-fallbacks/63107 "2020-07-17T00:28:10Z")

</div>

In bug 1642415, we’re hitting a problem with our understanding of what a Bundle is. This is in a way related to the message and term references thread here, but also not strictly identical. Problem recap: We have 15 res…

[Next page](https://discourse.mozilla.org/c/fluent/262.md?page=1)
