Skip to content

[Compatibility Issue] The GuideME loader is incompatible with Language Reload's multilingual loading functionality / GuideME 指南載入器與 Language Reload 的多語言載入功能不相容 #113

Description

@onenok

Notice: This issue was written by Gemini and edited by me, and my English is not very good.

[EN] Context & Disclaimer / [TC] 前言與免責聲明

  • EN: I encountered a compatibility issue between GuideME and Neo Language Reload. Since I am not entirely sure which mod's code logic should be adjusted to achieve the fix, I have cross-posted this issue to both repositories in hopes of finding a solution. Thank you for your time!
  • TC: 我在同時使用 GuideME 和 Neo Language Reload 時遇到了相容性問題。由於我不完全確定應該修改哪一方的程式碼邏輯來進行修復,因此我在兩邊的儲存庫都同步發布了這個 Issue,希望能共同找到解決方案。感謝雙方開發者抽空查看!

[EN] Description / [TC] 問題描述

  • EN: When using Neo Language Reload (the NeoForge port of Language Reload) to stack multiple languages (e.g., Traditional Chinese as primary, Simplified Chinese as secondary fallback), GuideME's custom guidebook asset loader (assets/<modid>/ae2guide/_{lang}/...) only checks the folder matching the primary language. It does not automatically look for the secondary language in the active stack.
  • TC: 當使用 Neo Language Reload(Language Reload 的 NeoForge 版本)的多語言堆疊功能時(例如:將繁體中文 zh_tw 設為第一順位主語言,簡體中文 zh_cn 設為第二順位遞補語言),GuideME 的說明書資產載入器(assets/<modid>/ae2guide/_{lang}/...)只會檢查與最頂端主語言一致的資料夾,不會自動尋找堆疊清單中下一順位的語言。

[EN] Steps to Reproduce / [TC] 重現步驟

  1. EN: In Neo Language Reload configuration, put Traditional Chinese (zh_tw) at the top of the selected list, and Simplified Chinese (zh_cn) right below it as a fallback.
    TC: 在 Neo Language Reload 的設定中,將繁體中文 (zh_tw) 移到已選語言清單的最頂端,並將簡體中文 (zh_cn) 放正下方作為遞補。
  2. EN: Launch a modpack (e.g., featuring Applied Energistics 2) where the GuideME guidebook only provides a _zh_cn translation, but no _zh_tw translation exists.
    TC: 啟動一個模組包(例如帶有 AE2),該模組包的 GuideME 說明書只內建了 _zh_cn 翻譯,並沒有提供 _zh_tw 翻譯。
  3. EN: Open the guidebook in-game.
    TC: 在遊戲中打開該模組的說明書。
  4. EN: Actual Result: The guidebook falls back to English (_en_us), omitting the fact that _zh_cn is available and active in the Neo Language Reload stacking list.
    TC: 實際結果: 說明書直接退回顯示英文(_en_us),並未讀取到此時 Neo Language Reload 清單中其實有處於啟用狀態且可用的 _zh_cn 翻譯。

[EN] Expected Behavior / [TC] 預期行為

  • EN: When the primary language translation (e.g., _zh_tw) is missing, GuideME's resource loader should check the remaining active languages in the client/Neo Language Reload fallback chain (e.g., loading _zh_cn) before directly giving up and falling back to English.
  • TC: 當最頂端的主語言翻譯(如 _zh_tw)不存在時,GuideME 的資源載入器應該能讀取客戶端或 Neo Language Reload 所提供的活動語言遞補鏈,並嘗試尋找下一順位的翻譯(如 _zh_cn),而不是直接放棄並退回英文。

[EN] Environment / [TC] 測試環境

  • Minecraft Version: 1.21.1
  • NeoForge Version: 21.1.248
  • GuideME Version: 21.1.17
  • Neo Language Reload Version: 1.1.1(but display as 1.0.0 in the .jar)
    If there is any extra info needed, pls tell me.

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions