Skip to content

Improve Korean Localization for More Natural and Consistent Gameplay - #7

Merged
SpicesFire merged 2 commits into
SpicesFire:mainfrom
MayoneJY:main
Nov 8, 2026
Merged

SpicesFire merged 2 commits into
SpicesFire:mainfrom
MayoneJY:main

Conversation

@MayoneJY

@MayoneJY MayoneJY commented Nov 8, 2026

Copy link
Copy Markdown
Contributor

Improve Korean Localization for More Natural and Consistent Gameplay

Summary

This PR improves the Korean localization (ko_kr.json) to make learning sentences, UI messages, and gameplay instructions more natural, grammatically appropriate, and consistent.

I found several issues with overly literal translations, inconsistent terminology, missing Korean grammatical particles, unnatural number expressions, and unclear error messages.

Because SayIt is a language-learning mod, I believe it is particularly important for players to encounter natural expressions they can actually use.

Scope: 64 updated translation entries in language-data/ko_kr.json.

Changes

1. More Natural Korean Learning Sentences

Revised sentences triggered by crafting, combat, mining, and other gameplay events.

Several sentences previously omitted grammatical particles or mixed informal and polite speech.

Before After
%s 만들었어요. %s(을)를 만들었어요.
방금 %s 제작했어요. 방금 %s(을)를 만들었어요.
%s 처치했어요. %s(을)를 잡았어요.
봐, 이제 %s 있어. 이것 봐요! 이제 %s(을)를 가지고 있어요.

The goal is to make sentences more natural in spoken Korean while maintaining a consistent polite tone.

I also adjusted Minecraft-specific vocabulary, including commonly used terms such as "인챈트" (enchant) and "엔더 드래곤" (Ender Dragon).

2. More Natural Korean Number Expressions

Updated the translations for numbers 1 through 12.

The previous entries used standalone counting words:

  • 하나, 둘, 셋, ... 열둘

The updated entries use the general Korean counter 개:

  • 한 개, 두 개, 세 개, ... 열두 개

For example, when counting Minecraft items, "다이아몬드 세 개" (three diamonds) sounds more natural than "다이아몬드 셋".

Question: Are these entries mainly used to count items, or are they also used to teach standalone numbers?

If they represent numbers independently, the original forms (하나, 둘, 셋) may be more appropriate. I would appreciate clarification about how these strings are used.

3. Consistent UI and Gameplay Terminology

Standardized terminology across settings, achievements, dictionary entries, and gameplay messages.

Examples:

  • Consistently using "완전 정복" for mastered vocabulary and related achievements.
  • Using "바이옴" for Minecraft biomes.
  • Changing the ambiguous setting label "표시" to "표시 언어" (display language).
  • Improving leaderboard labels, option names, and player honorifics.

These changes aim to make the same concepts easier to recognize across different screens.

4. Clearer Error Messages and Instructions

Improved messages related to microphone access, speech recognition, model downloads, and text-to-speech playback.

Some existing translations were overly literal or contained awkward grammar and punctuation.

Changes include:

  • Clearer macOS microphone permission instructions.
  • More understandable speech model download errors.
  • Better explanations when offline speech recognition is unavailable.
  • Distinguishing TTS playback failures from speech recognition failures.
  • More natural in-game instructions.

The goal is to help players understand what happened and what they can do next.

5. Better Quiz, Review, and Progress Messages

Updated quiz prompts, review notifications, and progress messages to better reflect their purpose.

Before After
%s로 어느 것일까요? 다음 중 올바른 %s 표현은 무엇일까요?
[%s]를 눌러 답을 고르세요 [%s] 키를 눌러 답을 고르세요
지금 복습 복습할 차례
이 월드의 상위 플레이어: 이 월드의 말하기 순위:

I also improved Korean honorific spacing and made progression-related terminology more consistent.

Suggestion: Automatic Korean Particle Handling

The Problem

Korean grammatical particles depend on whether the preceding word ends in a final consonant, known as batchim (받침).

For example:

Word Correct sentence
좀비 (Zombie) 좀비를 잡았어요.
스켈레톤 (Skeleton) 스켈레톤을 잡았어요.
다이아몬드 (Diamond) 다이아몬드를 찾았어요.
돌 (Stone) 돌을 찾았어요.

This becomes difficult when dynamically inserting item or entity names into translation strings using %s.

For now, I have included notation such as %s(을)를 where an object particle is necessary.

However, the current formatter does not automatically resolve this notation, so it may appear literally in-game.

Since SayIt is a language-learning mod, I think automatic particle selection would be particularly valuable.

Suggested Java Implementation

One possible solution is to resolve particle markers after formatting the translation string.

This example supports:

  • (을)를 → 을 / 를
  • 이(가) → 이 / 가
  • (은)는 → 은 / 는
  • (으)로 → 으로 / 로, including the special ㄹ rule

It also skips Minecraft formatting codes such as §a and §r.

import java.util.regex.Matcher;
import java.util.regex.Pattern;

public final class KoreanParticles {

    private static final Pattern PARTICLES = Pattern.compile(
        "\\(을\\)를|이\\(가\\)|\\(은\\)는|\\(으\\)로"
    );

    public static String resolve(String formatted) {
        Matcher matcher = PARTICLES.matcher(formatted);
        StringBuffer result = new StringBuffer();

        while (matcher.find()) {
            int syllable = previousHangul(
                formatted, matcher.start()
            );

            if (syllable < 0) {
                matcher.appendReplacement(
                    result,
                    Matcher.quoteReplacement(matcher.group())
                );
                continue;
            }

            int batchim = (syllable - 0xAC00) % 28;
            boolean hasBatchim = batchim != 0;

            String particle = switch (matcher.group()) {
                case "(을)를" -> hasBatchim ? "을" : "를";
                case "이(가)" -> hasBatchim ? "이" : "가";
                case "(은)는" -> hasBatchim ? "은" : "는";
                case "(으)로" ->
                    (!hasBatchim || batchim == 8)
                        ? "로" : "으로";
                default -> matcher.group();
            };

            matcher.appendReplacement(result, particle);
        }

        matcher.appendTail(result);
        return result.toString();
    }

    private static int previousHangul(String text, int end) {
        for (int i = end - 1; i >= 0; i--) {
            char c = text.charAt(i);

            // Skip Minecraft formatting codes (§a, §r, etc.).
            if (i > 0 && text.charAt(i - 1) == '§') {
                i--;
                continue;
            }

            if (Character.isWhitespace(c)) {
                continue;
            }

            return (c >= '가' && c <= '힣') ? c : -1;
        }

        return -1;
    }
}

Example usage:

KoreanParticles.resolve("좀비(을)를 잡았어요.");
// 좀비를 잡았어요.

KoreanParticles.resolve("스켈레톤(을)를 잡았어요.");
// 스켈레톤을 잡았어요.

KoreanParticles.resolve("돌(을)를 찾았어요.");
// 돌을 찾았어요.

KoreanParticles.resolve(
    "§a다이아몬드 검§r(을)를 완전히 익혔어요."
);
// §a다이아몬드 검§r을 완전히 익혔어요.

KoreanParticles.resolve("서울(으)로 이동하세요.");
// 서울로 이동하세요.

This is an illustrative implementation, not code included in this PR.

A production implementation would also need to handle non-Hangul names, punctuation, and additional edge cases.

Would it be possible to support automatic Korean grammatical particle selection in the mod itself?

That would allow dynamically generated learning sentences to remain grammatically correct regardless of the inserted item, block, or entity name.

For language-name expressions, I simplified %s(으)로 to %s로 where appropriate, since the currently supported Korean language names naturally take 로.

Validation

  • Modified only language-data/ko_kr.json.
  • Preserved translation keys and formatting placeholders.
  • Preserved Minecraft formatting codes.
  • python3 language-data/check.py — passed.
  • git diff --check — passed.
  • No application logic or functionality was changed.

Final Notes

The goal of these changes is to improve the Korean learning experience, rather than simply translate the English text word for word.

I would particularly appreciate feedback on two points:

  1. Number translations: Are these strings used to count objects or to teach numbers independently?
  2. Korean particles: Could automatic particle selection be supported so dynamically generated learning sentences are grammatically correct?

Thank you for developing SayIt and making community translation contributions possible.

@SpicesFire
SpicesFire merged commit 8ad6121 into SpicesFire:main Nov 8, 2026
@SpicesFire

Copy link
Copy Markdown
Owner

Thank you so much, this is a fantastic PR! Merged.

  • I kept the old text for sayitenglish.quiz.hint only, because that line changed in 1.1.6 (it now shows the answer keys and the window key, two placeholders).
  • Numbers: they're used to count the items you carry ("how many do you have?"), so 한 개, 두 개… is exactly right.
  • Particles: done! SayIt 1.1.8 picks the right particle automatically in the sentences you're asked to say, based on your idea (을/를, 이/가, 은/는, (으)로 with the ㄹ rule, also skipping colour codes). Chat messages still show the 이(가) form, since Minecraft formats those itself.

Your changes will be in 1.1.8 and you're credited in the changelog. Thanks again!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants