Skip to content

Update zh-CN translation for config.json#404

Open
xdfnet wants to merge 1 commit into
lmstudio-ai:mainfrom
xdfnet:zh-cn/config-load-params
Open

Update zh-CN translation for config.json#404
xdfnet wants to merge 1 commit into
lmstudio-ai:mainfrom
xdfnet:zh-cn/config-load-params

Conversation

@xdfnet

@xdfnet xdfnet commented Jul 7, 2026

Copy link
Copy Markdown

Summary

补齐 zh-CN/config.json 中与加载参数相关的 10 个缺失键,覆盖聊天模板、并发预测、统一 KV 缓存、MoE CPU 卸载、物理批处理大小。

Changes

  • llm.load.promptTemplate/* (2 键): 引擎协议聊天模板
  • llm.load.numParallelSessions/* (2 键): 最大并发预测数
  • llm.load.useUnifiedKvCache/* (2 键): 统一 KV 缓存
  • llm.load.numCpuExpertLayersRatio/* (3 键): MoE 专家层强制 CPU 卸载
  • llm.load.llama.physicalBatchSize/subTitle (1 键): 物理批处理大小

Notes

  • 保留专有名词不译:KV cache / MoE / GPU / CPU / token / RoPE / VRAM
  • 沿用现有 zh-CN 风格(语体正式 "您")
  • en 中的 presets.saveChanges* (12 键) 是命名迁移(zh-CN 已有等价的 commitChanges*),不在本 PR 范围内,建议另开迁移 PR

@github-actions

github-actions Bot commented Jul 7, 2026

Copy link
Copy Markdown

All contributors have signed the CLA ✍️ ✅
Posted by the CLA Assistant Lite bot.

@xdfnet

xdfnet commented Jul 7, 2026

Copy link
Copy Markdown
Author

I have read the CLA Document and I hereby sign the CLA

Add missing Chinese translations for load parameters:
- llm.load.promptTemplate/* (2 keys): chat template setting
- llm.load.numParallelSessions/* (2 keys): max concurrent predictions
- llm.load.useUnifiedKvCache/* (2 keys): unified KV cache
- llm.load.numCpuExpertLayersRatio/* (3 keys): MoE CPU layer forcing
- llm.load.llama.physicalBatchSize/subTitle (1 key): physical batch size

Note: en.json's presets.saveChanges* (12 keys) is a naming migration
from zh-CN's existing commitChanges* equivalents. Out of scope for this PR.

Co-Authored-By: Claude <noreply@anthropic.com>
@xdfnet xdfnet force-pushed the zh-cn/config-load-params branch from 748bf7f to 8a6e27b Compare July 7, 2026 08:47
@github-actions github-actions Bot added the CLA signed Indicates that all contributors have signed label Jul 7, 2026
@xdfnet

xdfnet commented Jul 7, 2026

Copy link
Copy Markdown
Author

recheck

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

Labels

CLA signed Indicates that all contributors have signed

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant