Skip to main content
Deno 2 is finally here 🎉️
Learn more
method FluentBundle.prototype.getMessage
import { FluentBundle } from "https://deno.land/x/fluent@0.0.1/bundle/bundle.ts";

Return a raw unformatted message object from the bundle.

Raw messages are {value, attributes} shapes containing translation units called Patterns. Patterns are implementation-specific; they should be treated as black boxes and formatted with FluentBundle.formatPattern.

Parameters

id: string
  • The identifier of the message to check.

Returns

Message | undefined