Skip to content

Localization

Fran Kelava edited this page Oct 5, 2026 · 20 revisions

Localization API

Localization file format

A Fahrenheit localization file is a JSON file containing a single dictionary with string keys and values.

An example is given here:

{
    "received_backup_message.doom": "Your friend's death dooms you.",
    "received_backup_message.grave_hp": "You feel inclined to follow in your friend's footsteps.",
    "received_backup_message.bad_breath": "Your friend's death leaves a bad taste in your mouth.",
    "received_backup_message.random": "Your friend's death twists your fate.",
    "received_backup_message.generic": "You are touched by your friend's death."
}

Important

A localization data file must be named exactly {LANG_ID}.json, where {LANG_ID} is a ISO 639 language ID.

For example: en_US.json, zh_Hant.json, ko_KR.json, de_DE.json.

For the list of recognized language IDs, see src/core/i18n_cctor.cs.

Clone this wiki locally