# Fluent

**URL:** https://discourse.mozilla.org/c/fluent/262.md?page=1

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

**Page:** 2

---

## [Variables - complex types](https://discourse.mozilla.org/t/variables-complex-types/63029)

<div class="topic-metadata">

**Author:** [@mstanke](https://discourse.mozilla.org/u/mstanke)\
**Replies:** 3\
**Last updated:** [July 3, 2020, 8:23am UTC](https://discourse.mozilla.org/t/variables-complex-types/63029 "2020-07-03T08:23:45Z")

</div>

Hi. At this moment, if I am not mistaken, Fluent can implicitly work only with what I would call “primitive” types - strings and numbers. I wanted to ask, whether there was a discussion if the support more “complex” typ…

---

## [Building a gettext to fluent converter](https://discourse.mozilla.org/t/building-a-gettext-to-fluent-converter/62359)

<div class="topic-metadata">

**Author:** [@julian.suggate](https://discourse.mozilla.org/u/julian.suggate)\
**Replies:** 5\
**Last updated:** [June 23, 2020, 2:55am UTC](https://discourse.mozilla.org/t/building-a-gettext-to-fluent-converter/62359 "2020-06-23T02:55:58Z")

</div>

Hi, I’m a skunkworks coder at a for-profit company. Our entire app, dev environment and stack is built on open source (Debian, postgres, python, node, git etc). We want to go all-in on Fluent as a massive upgrade to ou…

---

## [The New FluentBundle API](https://discourse.mozilla.org/t/the-new-fluentbundle-api/43215)

<div class="topic-metadata">

**Author:** [@stas](https://discourse.mozilla.org/u/stas)\
**Replies:** 3\
**Last updated:** [June 9, 2020, 6:20pm UTC](https://discourse.mozilla.org/t/the-new-fluentbundle-api/43215 "2020-06-09T18:20:11Z")

</div>

I’ve published @fluent/bundle 0.14 which now exposes the new API for FluentBundle, FluentResource, FluentNumber, and FluentDateTime. The final design is a result of 3 iterations and a lot of feedback from stakeholders an…

---

## [(fluent.js) Removing compat.js builds, targeting ES2018 by default](https://discourse.mozilla.org/t/fluent-js-removing-compat-js-builds-targeting-es2018-by-default/58028)

<div class="topic-metadata">

**Author:** [@stas](https://discourse.mozilla.org/u/stas)\
**Replies:** 0\
**Last updated:** [April 15, 2020, 12:10pm UTC](https://discourse.mozilla.org/t/fluent-js-removing-compat-js-builds-targeting-es2018-by-default/58028 "2020-04-15T12:10:17Z")

</div>

As part of the build system clean-up in fluent.js, I intend to make changes to the build artifacts produced for @fluent packages. Currently, the build artifacts for each @fluent package are: Individual JS files in esm…

---

## [Future of the compiler branch in \`fluent.runtime\`](https://discourse.mozilla.org/t/future-of-the-compiler-branch-in-fluent-runtime/55750)

<div class="topic-metadata">

**Author:** [@spookylukey](https://discourse.mozilla.org/u/spookylukey)\
**Replies:** 3\
**Last updated:** [April 2, 2020, 11:42am UTC](https://discourse.mozilla.org/t/future-of-the-compiler-branch-in-fluent-runtime/55750 "2020-04-02T11:42:33Z")

</div>

So, as discussed before, I have a compiler branch of fluent.runtime, which was ready over a year ago, but has been held up on merging first of all due to PR 92 which has not made much progress in a while. In addition the…

---

## [Experimental release of python \`fluent.runtime\`](https://discourse.mozilla.org/t/experimental-release-of-python-fluent-runtime/47569)

<div class="topic-metadata">

**Author:** [@Pike](https://discourse.mozilla.org/u/Pike)\
**Replies:** 2\
**Last updated:** [March 16, 2020, 10:31am UTC](https://discourse.mozilla.org/t/experimental-release-of-python-fluent-runtime/47569 "2020-03-16T10:31:06Z")

</div>

I wanted to add some detail on the most recent 0.3.0 release of fluent.runtime for python. This release drastically changes the API surface. Not only does it change the API on fluent.runtime.FluentBundle, but it also in…

---

## [On Message- and Termreferences](https://discourse.mozilla.org/t/on-message-and-termreferences/53217)

<div class="topic-metadata">

**Author:** [@Pike](https://discourse.mozilla.org/u/Pike)\
**Replies:** 13\
**Last updated:** [February 20, 2020, 11:17am UTC](https://discourse.mozilla.org/t/on-message-and-termreferences/53217 "2020-02-20T11:17:18Z")

</div>

We’ve had a number of conversations in the past two weeks about Message- and Termreferences. They’ve all been in various combinations of individuals involved, or on only somewhat related issues. To set the stage, there’…

---

## [Working with the team to support IE11](https://discourse.mozilla.org/t/working-with-the-team-to-support-ie11/48273)

<div class="topic-metadata">

**Author:** [@beirnet](https://discourse.mozilla.org/u/beirnet)\
**Replies:** 7\
**Last updated:** [December 19, 2019, 3:14pm UTC](https://discourse.mozilla.org/t/working-with-the-team-to-support-ie11/48273 "2019-12-19T15:14:19Z")

</div>

Hello good people of Mozilla l10n! I work on a team at Autodesk that is trying to use Fluent for upcoming localization work for one of our web apps and have run into something of a speed bump re browser support. Our app…

---

## [Convert fluent files to formatted text for easier proofreading/commenting](https://discourse.mozilla.org/t/convert-fluent-files-to-formatted-text-for-easier-proofreading-commenting/50487)

<div class="topic-metadata">

**Author:** [@leo](https://discourse.mozilla.org/u/leo)\
**Replies:** 0\
**Last updated:** [December 17, 2019, 11:49am UTC](https://discourse.mozilla.org/t/convert-fluent-files-to-formatted-text-for-easier-proofreading-commenting/50487 "2019-12-17T11:49:35Z")

</div>

Hey Fluent community, We’ve started incorporating Fluent into people.mozilla.org - and of course the first, and very tedious step, is extracting all the strings out of our code and into a fluent file. But this has prov…

---

## [(fluent.js) Build and test clean-up, compatibility, and TypeScript](https://discourse.mozilla.org/t/fluent-js-build-and-test-clean-up-compatibility-and-typescript/49652)

<div class="topic-metadata">

**Author:** [@stas](https://discourse.mozilla.org/u/stas)\
**Replies:** 0\
**Last updated:** [December 2, 2019, 4:32pm UTC](https://discourse.mozilla.org/t/fluent-js-build-and-test-clean-up-compatibility-and-typescript/49652 "2019-12-02T16:32:20Z")

</div>

I’d like to start a longer-term effort of reducing the tech debt and cleaning up the build and testing infrastructure in the fluent.js family of packages. The goals of the project are as follows: Simplify the build pip…

---

## [What is the most functional CLI option for using Fluent?](https://discourse.mozilla.org/t/what-is-the-most-functional-cli-option-for-using-fluent/45011)

<div class="topic-metadata">

**Author:** [@alerque](https://discourse.mozilla.org/u/alerque)\
**Replies:** 4\
**Last updated:** [November 27, 2019, 1:25pm UTC](https://discourse.mozilla.org/t/what-is-the-most-functional-cli-option-for-using-fluent/45011 "2019-11-27T13:25:15Z")

</div>

I’m looking for a CLI to interact with Fluent translations. The primary thing I want to do is query an \*.ftl file for a specific message. I expect to provide the message id and any contextual data required as command lin…

---

## [Using Fluent as a JS Module](https://discourse.mozilla.org/t/using-fluent-as-a-js-module/47668)

<div class="topic-metadata">

**Author:** [@fabrice](https://discourse.mozilla.org/u/fabrice)\
**Replies:** 2\
**Last updated:** [November 26, 2019, 6:19pm UTC](https://discourse.mozilla.org/t/using-fluent-as-a-js-module/47668 "2019-11-26T18:19:58Z")

</div>

Hi Fluenters! I’d like to use Fluent in a small vanilla JS project that doesn’t need a build system at all for DOM localization. Ideally I would just import a JS module with no additional build steps. Is that possible …

---

## [Transpiling Fluent resources into JavaScript modules](https://discourse.mozilla.org/t/transpiling-fluent-resources-into-javascript-modules/38521)

<div class="topic-metadata">

**Author:** [@eemeli](https://discourse.mozilla.org/u/eemeli)\
**Replies:** 7\
**Last updated:** [November 13, 2019, 9:12am UTC](https://discourse.mozilla.org/t/transpiling-fluent-resources-into-javascript-modules/38521 "2019-11-13T09:12:33Z")

</div>

Heya. I started playing around a bit with Fluent, and will probably start using it as a base for some localization workflow ideas that I’ve been working on, as it solves some of the issues (like file format) that I’ve be…

---

## [Fluent plugin for Sublime Text 3](https://discourse.mozilla.org/t/fluent-plugin-for-sublime-text-3/45867)

<div class="topic-metadata">

**Author:** [@SirNickolas](https://discourse.mozilla.org/u/SirNickolas)\
**Replies:** 2\
**Last updated:** [September 27, 2019, 8:18pm UTC](https://discourse.mozilla.org/t/fluent-plugin-for-sublime-text-3/45867 "2019-09-27T20:18:12Z")

</div>

Hello. I’ve created a package for Sublime Text 3. It currently features syntax highlighting, symbol index (“Go To Definition” support), and a few basic completion rules (namely, \\u, \\U, and \*). I’m going to submit it t…

---

## [Handlebars helper for i18n of templates using Fluent](https://discourse.mozilla.org/t/handlebars-helper-for-i18n-of-templates-using-fluent/44980)

<div class="topic-metadata">

**Author:** [@alerque](https://discourse.mozilla.org/u/alerque)\
**Replies:** 7\
**Last updated:** [September 16, 2019, 2:59pm UTC](https://discourse.mozilla.org/t/handlebars-helper-for-i18n-of-templates-using-fluent/44980 "2019-09-16T14:59:43Z")

</div>

The other day I made a handlebars helper based on fluent (available on npm). This allows localization of any template (websites, documents, etc.) that is either already using Handlebars where it can be added as a pre-pro…

---

## [Work started on a Lua implementation](https://discourse.mozilla.org/t/work-started-on-a-lua-implementation/44963)

<div class="topic-metadata">

**Author:** [@alerque](https://discourse.mozilla.org/u/alerque)\
**Replies:** 4\
**Last updated:** [September 14, 2019, 9:14pm UTC](https://discourse.mozilla.org/t/work-started-on-a-lua-implementation/44963 "2019-09-14T21:14:13Z")

</div>

I’ve started work on an implementation of Fluent in Lua. My initial use case is to localize documents generated using the SILE Typesetter, but in some ways that is going to be an esoteric use case. If there is anybody in…

---

## [Fluent with XLIFF](https://discourse.mozilla.org/t/fluent-with-xliff/44157)

<div class="topic-metadata">

**Author:** [@terales](https://discourse.mozilla.org/u/terales)\
**Replies:** 1\
**Last updated:** [August 21, 2019, 9:11am UTC](https://discourse.mozilla.org/t/fluent-with-xliff/44157 "2019-08-21T09:11:14Z")

</div>

Hello, This initiative looks promising, especially for one who came from Russian culture and have seen so many English-like Russian content in UI :slight\_smile: At the same time, I didn’t get how Fluent files are integ…

---

## [Updated test fixtures for the Syntax](https://discourse.mozilla.org/t/updated-test-fixtures-for-the-syntax/43871)

<div class="topic-metadata">

**Author:** [@Pike](https://discourse.mozilla.org/u/Pike)\
**Replies:** 1\
**Last updated:** [August 14, 2019, 12:40pm UTC](https://discourse.mozilla.org/t/updated-test-fixtures-for-the-syntax/43871 "2019-08-14T12:40:58Z")

</div>

I’ve just updated the test fixtures for the Fluent Syntax 1.0. If you are implementing Fluent, please update the reference fixtures in your project. The changes don’t affect the actual syntax as it’s specified, but it …

---

## [The Great Renaming to @fluent/\*](https://discourse.mozilla.org/t/the-great-renaming-to-fluent/43031)

<div class="topic-metadata">

**Author:** [@stas](https://discourse.mozilla.org/u/stas)\
**Replies:** 0\
**Last updated:** [July 25, 2019, 7:44pm UTC](https://discourse.mozilla.org/t/the-great-renaming-to-fluent/43031 "2019-07-25T19:44:21Z")

</div>

As of today, all fluent.js packages are available under new names in the @fluent scope. fluent is now @fluent/bundle 0.13, fluent-syntax is now @fluent/syntax 0.14, fluent-react is now @fluent/react 0.9.0, fluent-d…

---

## [Train of thoughts for Fluent and DOM overlays](https://discourse.mozilla.org/t/train-of-thoughts-for-fluent-and-dom-overlays/42572)

<div class="topic-metadata">

**Author:** [@Pike](https://discourse.mozilla.org/u/Pike)\
**Replies:** 0\
**Last updated:** [July 15, 2019, 11:50am UTC](https://discourse.mozilla.org/t/train-of-thoughts-for-fluent-and-dom-overlays/42572 "2019-07-15T11:50:33Z")

</div>

As we’re talking about bundle APIs, I think it’d be good to share my thoughts on how I envision DOM overlays to eventually work, and how escaping would play into it. TL;DR: I suggest post-processing of formatToParts, cr…

---

## [Translating "rich" or structured text](https://discourse.mozilla.org/t/translating-rich-or-structured-text/42369)

<div class="topic-metadata">

**Author:** [@wiml](https://discourse.mozilla.org/u/wiml)\
**Replies:** 2\
**Last updated:** [July 10, 2019, 3:31pm UTC](https://discourse.mozilla.org/t/translating-rich-or-structured-text/42369 "2019-07-10T15:31:09Z")

</div>

Is there a good practice for localizations which include some structure in the returned text, like spans with text attributes (emphasis, color, links, etc.)? Messages like: This is a very dangerous operation, are you s…

---

## [Planned changes to the FluentBundle API](https://discourse.mozilla.org/t/planned-changes-to-the-fluentbundle-api/40905)

<div class="topic-metadata">

**Author:** [@stas](https://discourse.mozilla.org/u/stas)\
**Replies:** 21\
**Last updated:** [July 10, 2019, 8:31am UTC](https://discourse.mozilla.org/t/planned-changes-to-the-fluentbundle-api/40905 "2019-07-10T08:31:31Z")

</div>

Late in April I started working on a new FluentBundle API. I’d like to move forward with the new design soon. Since there has been little discussion lately in the related issues and PRs (mostly due to my absence), I’d li…

---

## [Python fluent.runtime - plans](https://discourse.mozilla.org/t/python-fluent-runtime-plans/35290)

<div class="topic-metadata">

**Author:** [@spookylukey](https://discourse.mozilla.org/u/spookylukey)\
**Replies:** 20\
**Last updated:** [April 23, 2019, 8:52am UTC](https://discourse.mozilla.org/t/python-fluent-runtime-plans/35290 "2019-04-23T08:52:36Z")

</div>

I released fluent.runtime 0.1 just now :champagne: We had some discussion on what happens next on GitHub, which we’re moving here. Some big items for going forward are: Documentation Updating to Fluent 0.8 spec (I ha…

---

## [L20n has been deprecated](https://discourse.mozilla.org/t/l20n-has-been-deprecated/38356)

<div class="topic-metadata">

**Author:** [@stas](https://discourse.mozilla.org/u/stas)\
**Replies:** 0\
**Last updated:** [April 16, 2019, 9:08pm UTC](https://discourse.mozilla.org/t/l20n-has-been-deprecated/38356 "2019-04-16T21:08:37Z")

</div>

L20n has been deprecated. It hasn’t been maintained since early 2017, when Fluent forked from it as a more modular and less opinionated alternative. I published a new version of l20n.js, 6.0.0, and deprecated it on npm.…

---

## [Django-ftl and developer workflow](https://discourse.mozilla.org/t/django-ftl-and-developer-workflow/36689)

<div class="topic-metadata">

**Author:** [@pmac](https://discourse.mozilla.org/u/pmac)\
**Replies:** 10\
**Last updated:** [April 4, 2019, 8:42am UTC](https://discourse.mozilla.org/t/django-ftl-and-developer-workflow/36689 "2019-04-04T08:42:20Z")

</div>

Hi all, I’m looking at django-ftl for use on bedrock (www.mozilla.org) since we’ll be moving away from our current l10n system this year. I understand that this means that all strings (not just the non-English ones) wil…

---

## [Fluent Syntax 0.9](https://discourse.mozilla.org/t/fluent-syntax-0-9/37438)

<div class="topic-metadata">

**Author:** [@stas](https://discourse.mozilla.org/u/stas)\
**Replies:** 1\
**Last updated:** [March 27, 2019, 10:41am UTC](https://discourse.mozilla.org/t/fluent-syntax-0-9/37438 "2019-03-27T10:41:32Z")

</div>

I published Fluent Syntax 0.9 today, together with the updated implementations in JavaScript and Python. Syntax 0.9 doesn’t introduce any new features to the syntax. The version bump is due to the removal of deprecated …

---

## [Removing 0.4 Syntax from python-fluent](https://discourse.mozilla.org/t/removing-0-4-syntax-from-python-fluent/36630)

<div class="topic-metadata">

**Author:** [@Pike](https://discourse.mozilla.org/u/Pike)\
**Replies:** 0\
**Last updated:** [March 6, 2019, 10:05am UTC](https://discourse.mozilla.org/t/removing-0-4-syntax-from-python-fluent/36630 "2019-03-06T10:05:51Z")

</div>

Hi, inside Mozilla, we’ve decided to not care about being able to easily parse Fluent files that are older than a year. Given we’ve released Fluent 0.5 in January 2018, that’s putting 0.4 syntax on the line now. This o…

---

## [Cross-platform runtime bundle tests](https://discourse.mozilla.org/t/cross-platform-runtime-bundle-tests/36464)

<div class="topic-metadata">

**Author:** [@Pike](https://discourse.mozilla.org/u/Pike)\
**Replies:** 4\
**Last updated:** [March 4, 2019, 8:35pm UTC](https://discourse.mozilla.org/t/cross-platform-runtime-bundle-tests/36464 "2019-03-04T20:35:09Z")

</div>

Hi, we’re having 3+ bundle/resolver/runtime implementations now, and we don’t share a test suite between them. That’s kinda problematic, so I pondered if we can do something similar to what we’re doing for .syntax for .…

---

## [Syntax 0.9 RFC1 until February 8](https://discourse.mozilla.org/t/syntax-0-9-rfc1-until-february-8/35602)

<div class="topic-metadata">

**Author:** [@stas](https://discourse.mozilla.org/u/stas)\
**Replies:** 1\
**Last updated:** [February 4, 2019, 6:31pm UTC](https://discourse.mozilla.org/t/syntax-0-9-rfc1-until-february-8/35602 "2019-02-04T18:31:24Z")

</div>

Syntax 0.9 is the last planned release of the Fluent Syntax spec before version 1.0 is published at the end of March. No syntax changes are planned in this milestone; its focus is on AST clean-ups, AST improvements and A…

---

## [Fluent-rs 0.5 released!](https://discourse.mozilla.org/t/fluent-rs-0-5-released/35604)

<div class="topic-metadata">

**Author:** [@zbraniecki](https://discourse.mozilla.org/u/zbraniecki)\
**Replies:** 0\
**Last updated:** [February 1, 2019, 5:58pm UTC](https://discourse.mozilla.org/t/fluent-rs-0-5-released/35604 "2019-02-01T17:58:59Z")

</div>

We just released fluent-rs 0.5 and fluent-syntax 0.8. This release brings Rust implementation up to speed with the spec work, brings zero-copy parsing, new memory allocation model and better docs. Enjoy!

[Previous page](https://discourse.mozilla.org/c/fluent/262.md)

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