getFluentModule¶
Under Construction
This documentation is auto-generated, and is a work in progress. Please see the source code at https://github.com/phetsims/chipper/blob/main/js/browser/getFluentModule.ts for the most up-to-date information.
Overview¶
Constructs the modules needed to use Fluent.js messages in a PhET simulation. Fluent has the following concepts:
- Bundle: A collection of messages for a single locale.
- Message: An data structure in a FluentBundle. The message can be formatted with arguments into a final string. If there are no arguments, the message is a string.
This is used in generated files from modulify.
@author Jonathan Olson <jonathan.olson> @author Jesse Greenberg (PhET Interactive Simulations)
Source Code¶
See the source for getFluentModule.ts in the chipper repository.