How chuyu-team/dism-multi-language works
Purpose and Scope
This repository is the resource, localization, documentation, and support-site companion for Dism++. It does not contain the main Dism++ application. Its primary deliverables are cleanup/optimization rules, desktop UI translations, a small Windows resource-building utility, static multilingual web/help content, and a PHP crash-statistics backend.
Primary Entry Points
• Desktop resource consumers load the rules and localized XML assets: Data.xml, Languages/en.xml, Languages/zh-Hans.xml.
• The standalone Visual Studio solution builds the RCMake utility: Languages.sln, RCMake/RCMake.cpp, RCMake/RCMake.vcxproj.
• Website hosting begins at www.chuyu.me/index.html; documentation entry pages are localized under www.chuyu.me/en/Document.html and www.chuyu.me/zh-Hans/Document.html.
• Crash/update telemetry is served through PHP endpoints: chuyu-analysis/crash_report.php, chuyu-analysis/client_update.php, chuyu-analysis/query.php.
Dism++ Resource Layer
Data.xml is the central declarative ruleset supplying cleanup and optimization behavior to the external Dism++ executable. It is a hard boundary: this repo defines data consumed by Dism++, rather than executing system cleanup itself. Desktop strings are separately localized by language-specific XML files in Languages/, with Simplified Chinese identified as the development-default source language.
Localization Model
The desktop localization catalog is a flat, parallel XML set, e.g. Languages/en.xml, Languages/de.xml, and Languages/zh-Hant.xml. Website localization is independently maintained under www.chuyu.me/, including site-level XML dictionaries such as www.chuyu.me/en.xml and translated documentation trees such as www.chuyu.me/en/library/ and www.chuyu.me/zh-Hant/library/. These are separate resource domains and should not be assumed mechanically interchangeable.
Resource Build Utility
RCMake/ is a native C++/Visual Studio component, centered on RCMake/RCMake.cpp and built through RCMake/RCMake.vcxproj. Together with the solution-level Languages.sln, it is the repository’s only evident compiled entry point and likely supports generation or packaging of language/resource artifacts. Its Windows/MSVC project files establish the material build runtime.
Website and Documentation Delivery
www.chuyu.me/ is a static website deployment root: shared shell and assets are in www.chuyu.me/Base.html, www.chuyu.me/css/, and www.chuyu.me/js/. The amWiki subtree provides client-side documentation rendering, navigation, search, storage, and web-worker search capabilities through files such as www.chuyu.me/amWiki/js/amWiki.js and www.chuyu.me/amWiki/js/amWiki.search.worker.js. Markdown documentation is localized and structured by navigation manifests, e.g. www.chuyu.me/en/library/$navigation.md.
Telemetry Backend Boundary
chuyu-analysis/ is a separate PHP web backend for Dism++ crash reporting, update client interactions, querying, and statistics display. Request-facing scripts (crash_report.php, client_update.php, statistics.php) form the server boundary; static dashboards (index.html, statistics.html) are its browser-facing surface. No database schema or deployment configuration is present in the tree, so persistence and hosting dependencies are external.
Operational Separation
The repository combines independently deployable artifacts: XML resources shipped with Dism++, the Windows RCMake build tool, static official-site/help files, and PHP telemetry endpoints. Changes should preserve these boundaries: desktop XML compatibility, website translation parity and navigation paths, native MSVC build behavior, and server-side PHP endpoint contracts.
Main entry points: amWiki.js amWiki renderer · en.xml Desktop language catalogs · Document.html Localized documentation · index.html Official site root
Components 19
Desktop resources
Assets consumed by the external Dism++ application.
- Dism++ executable · External application that consumes repository XML resources.
- Cleanup and optimization rules · Central declarative behavior data.
Data.xml - Desktop language catalogs · Flat parallel UI translation set.
Languages/en.xml - Chinese source catalog · Simplified Chinese is the development-default language.
Languages/zh-Hans.xml
Native build tool
Windows/MSVC resource utility.
- Languages solution
Languages.sln - RCMake project · Defines the Windows native build runtime.
RCMake/RCMake.vcxproj - RCMake utility · Compiled resource generation or packaging tool.
RCMake/RCMake.cpp
Static website and help
Independently localized site and documentation delivery.
- Official site root · Static hosting entry point.
www.chuyu.me/index.html - Shared site shell · Common page layout, CSS, and JavaScript.
www.chuyu.me/Base.html - Website dictionaries · Separate localization domain from desktop XML.
www.chuyu.me/en.xml - Localized documentation · Translated help trees and entry pages.
www.chuyu.me/en/Document.html - Documentation navigation · Defines localized documentation structure.
www.chuyu.me/en/library/$navigation.md - amWiki renderer · Provides rendering, navigation, storage, and search.
www.chuyu.me/amWiki/js/amWiki.js - Search worker · Client-side documentation search worker.
www.chuyu.me/amWiki/js/amWiki.search.worker.js
Telemetry backend
PHP request surface separate from the static site.
- Crash reporting endpoint · Receives Dism++ crash reports.
chuyu-analysis/crash_report.php - Client update endpoint · Serves update client interactions.
chuyu-analysis/client_update.php - Query endpoint · Request-facing telemetry query API.
chuyu-analysis/query.php - Statistics surface · Browser-facing telemetry statistics.
chuyu-analysis/statistics.php - External persistence and hosting · No database schema or deployment configuration is present.
Connections 18
- Cleanup and optimization rules → Dism++ executable: defines cleanup behavior
- Desktop language catalogs → Dism++ executable: supplies UI strings
- Chinese source catalog → Desktop language catalogs: default source language
- Languages solution → RCMake project: builds
- RCMake project → RCMake utility: compiles
- RCMake utility → Desktop language catalogs: packages or generates · Likely resource-artifact support role.
- Official site root → Shared site shell: uses
- Shared site shell → Website dictionaries: localizes
- Official site root → Localized documentation: links to help
- Localized documentation → Documentation navigation: structured by
- amWiki renderer → Localized documentation: renders
- amWiki renderer → Documentation navigation: loads navigation
- amWiki renderer → Search worker: delegates search
- Crash reporting endpoint → External persistence and hosting: stores or forwards
- Client update endpoint → External persistence and hosting: uses external service state
- Query endpoint → External persistence and hosting: queries
- Statistics surface → Query endpoint: presents query results
- Statistics surface → External persistence and hosting: reads statistics