feedback5 WAD: language packs are the first type of content packs — a language is a file in a language folder (public/i18n/<code>.json, optional data/i18n/<code>.json) or a pack folder (packs/<id>/pack.json); the server lists them live at /packs/index.json (server/packs.js), the menu shows every pack, strings fall back pack → base → declared fallback (English) → Chinese, broken placeholders are skipped, plurals follow Intl.PluralRules (English unchanged), English carries a _meta manifest like any pack; tools: i18n.mjs template / check <code>, packs.mjs list / index, build-i18n --lang ja|ko|zh-TW (the official JP / KR / TW clients); the release zip ships packs/ and a generated packs/index.json; golden unchanged
This commit is contained in:
1 parent
f1df0d359d
commit
25b2a87b26
22 files changed
+2222
-241
No files matched your search
@@ -19,6 +19,10 @@ venv/
|
||||
__pycache__/
|
||||
*.py[cod]
|
||||
|
||||
# --- content packs (docs/PACKS.md): the pack index for a static host, generated by `node tools/packs.mjs index`
|
||||
# (the server answers /packs/index.json itself; tools/package.mjs writes this file into the release zips) -----------
|
||||
packs/index.json
|
||||
|
||||
# --- tests & logs ----------------------------------------------------------------------------------
|
||||
test/e2e/out/
|
||||
logs/
|
||||
|
||||
Reference in new issue
Block a user