Skip to content

i18n.Function.getExperimentalEffectDescription

github-actions[bot] edited this page Sep 20, 2026 · 11 revisions

@elite-dangerous-almanac/core / i18n / getExperimentalEffectDescription

Function: getExperimentalEffectDescription()

getExperimentalEffectDescription(experimentalEffectSymbol, locale): string | null

Defined in: src/i18n/experimental-effect-descriptions.ts:43

Look up an experimental effect's display description — the prose the game shows a player, in all six stored locales.

Parameters

experimentalEffectSymbol

string

Frontier's experimental-effect id. Matching ignores case and surrounding whitespace.

locale

string

A BCP 47 locale. All six stored locales are complete for this dataset.

Returns

string | null

The localized description, or null when the effect is unknown or the requested locale is not one this catalogue stores.

Remarks

This is display text, not a statement of the effect's mechanics. An effect's description in the ships/experimental-effects catalogue answers the other question — it names the damage split or behaviour the modifiers list cannot express — and the two are deliberately not the same string.

This is a heavy i18n dataset: six locales of prose for every effect is ~129 KiB minified (~25 KiB gzipped), more than module names cost. It has its own module so an application that never shows an effect description does not pay for it — import it from core/i18n/experimental-effect-descriptions rather than the core/i18n barrel if you want that boundary to be explicit.

Throws

If a present experimentalEffectSymbol or locale is not a string.

Example

import { getExperimentalEffectDescription } from '@elite-dangerous-almanac/core/i18n/experimental-effect-descriptions';

getExperimentalEffectDescription('special_auto_loader', 'en');
// -> 'An experimental upgrade that automatically reloads the weapon, even when firing.'
getExperimentalEffectDescription('special_auto_loader', 'it'); // -> null

TypeScript

Guides
astro
Classes (1)
ProceduralSystem

Properties

Accessors

Methods

Interfaces (28)
Type Aliases (6)
Variables (22)
Functions (57)
Subpath modules (3)
commodities
Interfaces (1)
Type Aliases (1)
Variables (3)
Functions (3)
equipment
Interfaces (18)
Type Aliases (9)
Variables (4)
Functions (14)
Subpath modules (2)
galaxy-map
Interfaces (1)
Variables (1)
Functions (2)
i18n
Interfaces (1)
Type Aliases (1)
Functions (23)
materials
Enumerations (2)
Interfaces (2)
Type Aliases (2)
Variables (9)
Functions (9)
ships
Classes (3)
BuildMetrics

Methods

LoadoutEditError

Constructors

Properties

Methods

ShipLoadout

Accessors

Methods

Interfaces (125)
Type Aliases (44)
Variables (10)
Functions (86)
Subpath modules (8)

Clone this wiki locally