跳到主要内容

Translate

The Translate Extension empowers your server to be truly global, automatically translating chat, signs, and console output based on player preference.

Features

  • Dynamic Translation — Real-time text replacement.
    • Sign Localization — Per-player sign text.
    • Auto-Detection — Detect client language.
    • Pattern Matching — Regex replacement support.

Settings Menu

Players manage their whole translation experience from a dedicated settings menu (open_translation_settings_action): language selection, per-player sign translation opt-in/out and AI translation preference. Each preference persists in its own artifact, so choices survive relogs.

Entries

GroupEntries
Configurationtranslation_config, language_menu_config, translation_settings_menu_config
Actionsset_language_action, open_language_selector_action, open_translation_settings_action, reload_translations_action
Artifactsplayer_language_artifact, player_sign_preference_artifact, player_ai_preference_artifact
Facts & Eventsplayer_language_fact, player_language_change_event

Placeholders

PlaceholderDescription
%typewriter_translate_<key>%Translated text for key.
%typewriter_translate_lang%Language ID (en_US).
%typewriter_translate_lang_display%Language Name (English).

Quick Start

  • 1. Configure Settings — Start with the configuration entry: translation_config. This defines global settings for the extension. → translation_config
  • 2. Trigger Actions — Use action entries to interact with the extension: set_language. Trigger them from commands, NPCs, events, or other entries. → set_language

Commands

This extension does not provide standalone commands. All functionality is accessed through Typewriter entries.

Permissions

No custom permissions. All access is controlled through Typewriter's entry-level system.

Dependencies

ExtensionRequiredUsage
GUI ExtensionRequiredTranslation menu GUI.
PlaceholderAPIOptionalFor @Placeholder fields.