StarRail-S-GC icon indicating copy to clipboard operation
StarRail-S-GC copied to clipboard

Chinese

Open hujihan opened this issue 2 years ago • 7 comments

If I want to translate the menu in the game into Chinese, what file content do I need to modify

hujihan avatar May 07 '23 09:05 hujihan

Cheat.h

The lines with ImGui::BeginTabItem, ImGui::Checkbox, ImGui::InputInt, ImGui::Text, ImGui::SliderFloat, etc.

ky-ler avatar May 07 '23 10:05 ky-ler

所以怎么设置中文呢 有没有详细的教程

L-NanQi avatar May 08 '23 08:05 L-NanQi

Can someone translate the following strings to chinese? I will work on making the menu chinese if the chinese version is detected. Later I will add the option to select either chinese or english from the menu.

  • World
  • Speed Modifier
  • Global
  • Dialogue
  • Peeking
  • Auto-Dialogue
  • also works on hotkey (CAPSLOCK)
  • Mouse Mode
  • Invisibility
  • Battle
  • Speed Modifier
  • Force Auto-Battle
  • "if you enabled it in battle then you need to do some action to make it work"
  • FPS Unlock
  • Debug
  • Phase
  • Settings
  • Pin Window

ky-ler avatar May 08 '23 14:05 ky-ler

中文翻译 (大概)

范围 速度调整器 全球的 对话 偷窥 自动对话 也适用于热键(CAPSLOCK) 鼠标模式 隐形 冲突 速度调整器 强制自动战斗 “如果你在战斗中启用了它,那么你需要做一些行动来让它发挥作用” FPS解锁 调试 阶段 设置 针窗

L-NanQi avatar May 08 '23 14:05 L-NanQi

Here's a working version that translates when it detects a chinese version of the game.

https://github.com/ky-ler/StarRail-S-GC/tree/feature/localization

(I do not like the way I implemented this so I'm not going to do a pull request. I need to think of a better way to implement this first.)

Edit: forgot to push a file. should compile now if you download it.

ky-ler avatar May 08 '23 15:05 ky-ler

  • World 大世界选项
  • Speed Modifier 速度调整
  • Global 全局
  • Dialogue 对话选项
  • Peeking 反虚化
  • Auto-Dialogue 自动对话
  • also works on hotkey (CAPSLOCK) 也适用于热键(CAPSLOCK)
  • Mouse Mode 鼠标模式
  • Invisibility 隐身
  • Battle 战斗选项
  • Speed Modifier 速度调整
  • Force Auto-Battle 强制自动战斗
  • "if you enabled it in battle then you need to do some action to make it work" “如果你在战斗中启用了它,那么你需要做一些动作来使它起作用”
  • FPS Unlock 解锁帧数上限
  • Debug 调试
  • Phase 阶段(Doubtful, this translation may not be reliable)
  • Settings 设置
  • Pin Window 窗口固定

fatinghenji avatar May 08 '23 19:05 fatinghenji

thank you. not making a pull request because the code is bad but its working here:

https://github.com/ky-ler/StarRail-S-GC/tree/feature/localization

ky-ler avatar May 08 '23 19:05 ky-ler