Skip to content

more accurate simplified Chinese translation - #1520

Merged
awawa-dev merged 6 commits into
awawa-dev:masterfrom
DaBinQwQ:master
May 1, 2026
Merged

awawa-dev merged 6 commits into
awawa-dev:masterfrom
DaBinQwQ:master

Conversation

@DaBinQwQ

Copy link
Copy Markdown
Contributor

Hi there! I've noticed the current Simplified Chinese translation has some machine-translated artifacts. I'd like to help improve the localization for Chinese users.

Summary

Refined the zh-CN.json file. Corrected multiple instances of awkward machine translations and technical term errors (e.g., fixed "英国广播公司" back to the correct context of color order GBR). This PR makes the WebUI much more intuitive for native Chinese speakers.

What kind of change does this PR introduce? (check at least one)

  • Bugfix
  • Feature
  • Code style update
  • Refactor
  • Docs
  • Build-related changes
  • Other, please describe: Localization / Translation Improvement

If changing the UI of web configuration, please provide the before/after screenshot:

image image image image

Does this PR introduce a breaking change? (check one)

  • Yes
  • No

If yes, please describe the impact and migration path for existing setups:

The PR fulfills these requirements:

  • When resolving a specific issue, it's referenced in the PR's body (e.g. Fixes: #xxx[,#xxx], where "xxx" is the issue number)

To avoid wasting your time, it's best to open a feature request issue first and wait for approval before working on it.

Other information:

Some technical terms were translated using machine learning, while others were translated via generative AI, followed by manual review and correction.

@awawa-dev

Copy link
Copy Markdown
Owner

Hi
Thank you for the Pull Request. My auto-translator admitted its mistakes ;-) and rated your work highly. I’d just like to verify two items it flagged: general_btn_on and edt_conf_smooth_antiFlickeringFilter_expl. I don't know much about this, so we’ll go with whatever you decide.
obraz
obraz

@DaBinQwQ

Copy link
Copy Markdown
Contributor Author

Sorry for the late reply, had some things to take care :(

Regarding the translation choices you mentioned, since my understanding of the whole project isn't very deep, I'm not entirely sure which options best fit how the software actually works. As for general_btn_on, "启用" (enabled) indicates an active state, while "开启" (turn on) leans more toward the action itself. You are right about this, and I have changed it back to the original "启用". However, regarding the explanations in those long help texts, it's quite difficult to translate them accurately without fully understanding the underlying mechanics. I had to rely on translation tools combined with my own understanding.

Are there any i18n files in other languages that are definitively correct manual translations? I could try using one of those as a reference to complete the Simplified Chinese translation.

@awawa-dev

awawa-dev commented Apr 29, 2026 •

Copy link
Copy Markdown
Owner

I think the English (master source), German, Polish, and Russian resources are already well-translated. This is an analysis of the automatic translator’s output - could you take a look?

  • edt_conf_smooth_antiFlickeringFilter_expl: The diff translated "24-bit" to "8-bit" (likely confusing 8-bits-per-channel with 24-bit total) and completely dropped the nuance about Entertainment Mode
  • edt_conf_processing_powerLimit_expl: The diff completely removed the warning: "We do not guarantee that this feature will directly translate into limiting the power of the LED setup to a specific wattage value." This is a liability issue. We must restore the full warning.
  • video_calibration_overview: The English original has 7 highly detailed steps including links to test files and specific Windows 11 OS instructions. Deleted steps 4, 5, 6, 7, and the GitHub link
  • grabber_calibration_expl: Erased the entire 6-step list for the calibration process and the final paragraph about where the .3d file gets saved
  • edt_conf_gen_disableOnLocked_expl: Missed the instruction: "A restart is required for the changes to take effect"
  • edt_conf_stream_wizard_calibrating_failed: Dropped the troubleshooting step: "decrease the cognition model requirement"
  • lut_generator_intro: Removed the emphasized text "EVEN WITHOUT TONE MAPPING OPTION ENABLED" and the instructions to turn off HDR tone mapping before taking a screenshot
  • edt_automatic_tone_mapping_enable_explain: Entirely rewrote this to be two generic sentences, completely removing the developer's instructions on how to use the logs to troubleshoot false-positive threshold events
  • wiz_hue_intro2: Only has 3 steps. It missed the English step #3 regarding the V2 API and gradient light strip support

Proposed changes:

{
  "edt_conf_smooth_antiFlickeringFilter_expl": "启用 Infinite Color Engine 滤镜,以减少因 24 位 RGB 颜色量化引起的细微 LED 闪烁。支持扩展色深(Deep Color)格式的控制器(如处于娱乐模式的 Philips Hue 或 LIFX 设备)完全不需要此滤镜。",
  "edt_conf_processing_powerLimit_expl": "此功能会检查当前场景的总功耗是否超标。若超标,将自动按比例降低每颗 LED 的亮度和颜色。<strong>请注意,这不能替代功率充足的电源。</strong>此功能仅用于限制过高的亮度,无法保护您的设备免受电源功率不足造成的损坏。我们不保证此功能会直接将 LED 设备的功率限制在特定的瓦数内。",
  "video_calibration_overview": "<b>1</b> 您必须将采集卡的视频格式设置为 MJPEG/YUV/NV12/P010。不支持其他格式。<br/><br/><b>2</b> 如果您使用 Flatbuffers 进行校准,则需要在其设置中启用色调映射。仅支持 NV12 视频格式。</br><br/><b>3</b> 您可以在此处下载测试文件:<a href='https://github.com/awawa-dev/awawa-dev.github.io/tree/master/calibration'>链接</a>。在您的播放器中开始播放测试文件,您应该能在 HyperHDR 视频预览中看到它。测试画面必须占据整个屏幕,且不能显示任何无关元素(如播放器菜单)。</br><br/><b>4</b> 校准时,您应选择名称中带有“hdr”的文件,除非您的系统或播放器会自动使用 SDR 到 HDR 色调映射,或者您打算校准 SDR 信号。在这种情况下,为适应此类场景,请选择名称中带有“sdr”的文件。</br><br/><b>5</b> 有限范围的 YUV420 格式提供了最佳的兼容性和中等到极佳的画质,是目前最常用的格式。YUV444 格式提供最佳画质,但很难找到以该格式编码的素材。</br><br/><b>6</b> <b>如果您在 Windows 11 下进行校准(使用网络浏览器或视频播放器作为视频源),请关闭“夜间模式”、“自动管理应用颜色”和“自动 HDR”等功能。请勿更改显卡驱动中的色彩平衡。图形输出应支持完整的 PC 范围(例如 10 位或 12 位 RGB)。</b></br><br/><b>7</b> <b>计算过程非常密集,会给您的设备带来沉重负担!<svg data-src='svg/performance_undervoltage.svg' class='svg4hyperhdr ms-1'></svg></b>您可以禁用 LCH 色彩校正以稍微减轻负载。",
  "grabber_calibration_expl": "此工具可让您为采集卡(或外部 Flatbuffer 源)创建新的已校准 HDR LUT,使其尽可能接近真实的输入颜色。<br/>您需要一个可以显示此网页的 HDR10 视频源,例如:在显卡驱动属性中开启了 HDR 的 Windows 10 系统。<br/>校准期间屏幕可能会闪烁。在配备 Intel i7 的 Windows PC 上,该过程通常需要几分钟(具体取决于主机的 CPU 资源和视频采集帧率)。<br/><b>计算过程非常密集,会给您的设备带来沉重负担 <svg data-src='svg/performance_undervoltage.svg' class='svg4hyperhdr ms-1'></svg></b>您可以禁用 LCH 色彩校正以稍微减轻负载<br/>您可以使用其他设备上的浏览器监控 HyperHDR 日志中的进度。<br/><br/><br/><b>1</b> 如果一切连接正确,此页面应显示在电视屏幕上(作为 HDR 内容),并在 HyperHDR 中实时预览(由采集卡捕获)。</br><b>2</b> 绝对最低采集分辨率为 1280x720(我们将对此进行验证)。推荐使用 1920x1080 YUV/NV12。必须保持 1920/1080 的宽高比。<br/><b>3</b> 如果您在采集卡属性中启用了“将帧尺寸缩放至 25%”,则必须将其禁用。<br/><b>4</b> 您必须将采集卡的视频格式设置为 MJPEG/YUV/NV12/P010。<br/><b>5</b> 在运行该过程之前,请将您的网页浏览器切换至全屏模式(按 F11 键,我们将对此进行验证)。</br><b>6</b> <b>如果您在 Windows 11 下进行校准,请关闭“夜间模式”、“自动管理应用颜色”和“自动 HDR”等功能。请勿更改显卡驱动中的色彩平衡。图形输出应支持完整的 PC 范围(例如 10 位或 12 位 RGB)。</b><br/><br/>完成校准后,您的新 LUT 表文件 (lut_lin_tables.3d) 将在用户的 HyperHDR 主目录中创建,只需启用 HDR 色调映射即可立即使用。详情请查看 HyperHDR 日志。",
  "edt_conf_gen_disableOnLocked_expl": "当操作系统进入锁定状态或显示器关闭时,停止软件采集器的处理。需要重启才能使更改生效。",
  "edt_conf_stream_wizard_calibrating_failed": "校准失败。您要求模型的质量至少达到 <m_odel>% 级别,但最终质量仅为 <q_uality>%。请尝试增加容错度或降低认知模型要求。然后确保采集卡正在显示“无信号”画面。",
  "lut_generator_intro": "当在采集卡设置中启用时,HyperHDR 的 LUT 表用于 HDR 到 SDR 的色调映射。此外,对于所有 YUV (YUV, NV12, I420) 到 RGB 的流解码器,<span class='fw-bold'>即使未启用色调映射选项</span>,该 LUT 表也用于 RGB Gamma 通道校正和最小阈值限制。建议在浏览器中捕获采集卡预览的截图(首先关闭 HDR 色调映射),以在该样本上测试设置。<br/>完成创建新 LUT 表后,请将新的 'lut_lin_tables.3d' 上传到您的配置文件夹中。<br>用于上传该文件的典型配置文件夹是(请查看“日志”页面进行确认):<br>Rpi→/home/pi/.hyperhdr<br/>Windows→c:/Users/NAME/.hyperhdr",
  "edt_automatic_tone_mapping_enable_explain": "自动色调映射控制仅适用于启用了<span style='color:red;'>“将帧尺寸缩放至 25%”</span>模式的 <span style='color:red;'>'YUV/NV12/P010'</span> 视频格式。请在 USB 采集卡设置中进行配置。<br/>如果信号在一定时间内未超过配置的阈值水平,该组件将自动启用色调映射;一旦超过阈值,将立即禁用。<br/>随后,您可以检查是哪个值超过了阈值从而导致 HyperHDR 日志中实际禁用了色调映射。然后您可以相应地调整配置,如果它产生了禁用色调映射的错误事件(阈值过低),或者在较暗的 SDR 场景中产生了不必要的色调映射启用事件(阈值过高)。",
  "wiz_hue_intro2": "<p style='color:red;'><b>请首先在 PHILIPS HUE 移动应用程序中配置娱乐组</b></p>1 在 Philips Hue 应用程序中创建一个娱乐组<br/>2 在进入向导之前,选中 HyperHDR 中的“<i>使用 Hue 娱乐 API</i>”选项<br/>3 在进入向导之前,还要选中 HyperHDR 中的“<i>使用 Hue 娱乐 API V2</i>”选项以支持 Hue 渐变灯带。请注意,如果您的桥接器不支持此功能,它将回退到 V1。<br/>4 运行向导。当系统要求时,您可能需要单击桥接器上的按钮以重新连接到 Hue 桥接器。“<i>用户名</i>”和“<i>Clientkey</i>”将被自动发现。"
}

@DaBinQwQ

Copy link
Copy Markdown
Contributor Author

I am very sorry about this! I overlooked the longer _expl texts during my proofreading. I am currently working on a new version of the translation to fix all these issues!

@DaBinQwQ

Copy link
Copy Markdown
Contributor Author

Corrections applied (hopefully!).

I've fixed the missing translations and tweaked some vocabulary again to make it sound more natural in Chinese.

-btw, is conf_leds_layout_cl_gaglength on line 64 a typo? Shouldn't it be conf_leds_layout_cl_gaplength?

@awawa-dev

Copy link
Copy Markdown
Owner

Thanks a lot. You’re right. Luckily it’s just a key - it’s identical in both the i18n and the code, so the user won't see the typo. I'll try to fix it.

@awawa-dev
awawa-dev merged commit 866e12b into awawa-dev:master May 1, 2026
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