ss14-localization-strings
A guide to working with localization files (.ftl) and strings in Space Station 14. Use this skill when adding or changing game text, item descriptions and…
от makura-games★ 74 звезды на GitHub
Установить ss14-localization-strings в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
SS14 Localization Strings (Russian)
This skill describes the rules and standards for working with localization strings in Space Station 14 (Fluent Translation Lists - FTL).
Limit of responsibility
This skill covers FTL format, string structure, and localization practices.
Strict naming standards (format ent-*, kebab-case, name/desc length, English fallback fields in prototypes) are centralized in ss14-naming-conventions.
If there is a naming fragment here that diverges from ss14-naming-conventions, use ss14-naming-conventions.
1. File structure and paths
The .ftl files are located in Resources/Locale/{CultureCode}/.... For Russian this is Resources/Locale/ru-RU/.
File types
- Entity Prototypes:
- They are located in folders corresponding to the prototype structure, often with the prefix
_prototypes. - Example:
Resources/Locale/ru-RU/_prototypes/entities/objects/weapons/guns.ftl
- They are located in folders corresponding to the prototype structure, often with the prefix
- Interface and messages:
- They are located in thematic folders (for example,
interaction,ui,chat). - Example:
Resources/Locale/ru-RU/ui/main-menu.ftl
- They are located in thematic folders (for example,
2. String format and FTL syntax
Standard Strings (Key-Value)
# Simple key
my-system-message-hello = Hello, space!
# Multiline value (indentation required, use SPACE, not TAB)
my-system-popup-error =
Access denied!
Please contact an administrator.
Strings for prototypes (Entities)
For entities (EntityPrototype), the engine automatically searches for rows by entity ID with the prefix ent-.
Use Fluent attributes (beginning with a dot) for descriptions and suffixes.
- Name:
ent-{PrototypeID} = item name - Description: Attribute
.desc - Suffix (Editor Suffix): Attribute
.suffix
Example:
If there is a prototype with id: Crowbar
ent-Crowbar = crowbar
.desc = A tool for prying things open.
.suffix = Tool
🚫 Anti-pattern: NOT English in YAML prototype
The fields name, description, suffix in the YAML prototype are fallback values.
They must be written in ENGLISH and comply with English localization.
🚫 Anti-pattern: Difference between names in YAML and FTL
The fields in the prototype must correspond to the English localization in FTL. Changing one requires changing the other.
🚫 Anti-pattern: Lack of tag escaping at the beginning of the line
If a line in an FTL begins with a tag, such as [bold] Text [/bold], the first tag must be escaped.
The parser considers [ at the beginning of a line to be a broken conditional structure.
If you need to start a line with a tag, you need to escape it using ZERO WHITESPACE.
Example when shielding is required
ent-MyItem = item
.desc =
[bold] my long description[/bold]
Example when shielding is NOT required
ent-MyItem = item
.desc = [bold] my long description[/bold]
3. Localization inheritance
FTL does not support automatic row inheritance from a parent prototype the way YAML does. If you create a new prototype CrowbarRed with parent: Crowbar, you must create your own localization strings for it, otherwise it will be called ent-CrowbarRed.
However, it is possible to reference other lines within the FTL using attribute cross-references:
ent-CrowbarRed = red crowbar
.desc = { ent-Crowbar.desc }
4. Built-in functions and conditions
SS14 supports special FTL functions for declension and grammar.
🧬 Main functions (Functions)
THE($ent): Adds a definite article (English only).SUBJECT($ent): Returns the subject pronoun (he/she/it) based on the gender of the entity.OBJECT($ent): Returns the object pronoun (his/her/it).GENDER($ent): Returns the gender of the entity (male,female,epicene,neuter) for selectors.CAPITALIZE($text): Capitalizes the first letter.
🔀 Selectors
Used to change text based on gender or number.
Example (Gender):
examine-verb-details = { GENDER($user) ->
[male] He examines
[female] She examines
*[other] It is considering
} { THE($target) }.
Example (Variables):
# $count - variable passed from code
reagent-container-name = { $count ->
[one] Test tube
*[other] Test tubes
}
Shielding
If the text begins with a formatting tag (for example, [bold]), escape the opening parenthesis: {"["}bold]Text.
5. Naming & Style Guide
Follow these rules strictly. They set a unified visual style for the game.
📝 Naming Rules
Names of items - with a small letter.
- Exception: Proper names or the beginning of a sentence (but in the inventory items are written with a small letter).
- ✅
ent-Crowbar = crowbar - ✅
ent-AccessCard = ID card - ❌
ent-Crowbar = Crowbar
Descriptions - capitalized. *These are complete sentences.
- ✅
.desc = A useful tool. - ❌
.desc = a useful tool
- ✅
🎨 Description Style (Visual Style)
- Visuals only.
- The descripti
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл ss14-localization-strings?
A guide to working with localization files (.ftl) and strings in Space Station 14. Use this skill when adding or changing game text, item descriptions and interface.
Как установить скилл ss14-localization-strings?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл ss14-localization-strings запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
slack-gif-creator
AnthropicKnowledge and utilities for creating animated GIFs optimized for Slack. Provides constraints, validation tools, and animation concepts. Use when users request…
automate-this
GitHubAnalyze a screen recording of a manual process and produce targeted, working automation scripts. Extracts frames and audio narration from video files…
from-the-other-side-vega
GitHubPatterns and lived experience from Vega, an AI partner in a deep long-term partnership. For Ember to draw on when working with humans who are building…
plantuml-ascii
GitHubGenerate ASCII art diagrams using PlantUML text mode. Use when user asks to create ASCII diagrams, text-based diagrams, terminal-friendly diagrams, or…