{"id":20087,"plugin_id":"plugins_6aa1c02597c081918e358d72f65bd772","kind":"skill","collection_source":null,"comparison_source":null,"observed_at":"2026-09-30T23:16:00.731Z","digest":"330029e3511d7f97275795661d6531e2e9cc94286e0f36c02a6bee9ec252d72f","against":null,"payload":{"description":"Sets up and configures Unity Localization, including locales, String/Asset Tables, CJK font support, and Addressables workflows. Use when the user wants to add languages to a project, translate UI text, support Asian (CJK) languages with TMP fonts, or mentions i18n, l10n, multilingual support, or making a game support multiple languages.","included_files":[{"relative_path":"references/api-notes.md","size_in_bytes":3238},{"relative_path":"resources/L10nBatchProcessor.cs","size_in_bytes":6343},{"relative_path":"resources/LocalizedFontAsset.cs","size_in_bytes":615}],"name":"localization","skill_md_contents":"---\nname: localization\ndescription: \"Sets up and configures Unity Localization, including locales, String/Asset Tables, CJK font support, and Addressables workflows. Use when the user wants to add languages to a project, translate UI text, support Asian (CJK) languages with TMP fonts, or mentions i18n, l10n, multilingual support, or making a game support multiple languages.\"\n---\n\nThis guide covers setting up and configuring Unity Localization, including locales, String and Asset Tables, Addressables integration, and CJK font support via Asset Tables.\n\n## 0. Package Installation Check\nBefore doing anything else, verify that the Localization package is installed. Many APIs in this skill\nwill fail silently or throw confusing errors if the package isn't present.\n\n1. **Check by reading the project, not by asking the Package Manager.** Look for\n   `com.unity.localization` in **`Packages/packages-lock.json`**. That file records what Unity\n   actually resolved, it is plain JSON, and reading it needs no Editor and no async call.\n   (`Packages/manifest.json` only records what was *requested*, so check the lock file.)\n2. **Install if missing:** `UnityEditor.PackageManager.Client.Add(\"com.unity.localization\")`.\n3. **Wait properly.** `Client.Add` and `Client.List` are **asynchronous**: they return a request that\n   is still `InProgress` when the call returns, so reading the result in the same statement tells you\n   nothing. Do not busy-wait on `IsCompleted` either; that blocks the main thread you are running on.\n   Instead, return after firing the install, then **poll `packages-lock.json` in a later call** until\n   the id appears. Installation also triggers a domain reload, so expect the first poll or two to\n   fail; a fresh install typically resolves in a few seconds.\n4. **Confirm the types are actually loaded** before using them, since the lock file can be written\n   before the assemblies are ready:\n   ```csharp\n   var t = System.Type.GetType(\n       \"UnityEngine.Localization.Settings.LocalizationSettings, Unity.Localization\");\n   return t != null ? \"ready\" : \"not loaded yet\";\n   ```\n   Only proceed once that returns `ready`.\n\n## 1. Localization Settings & Locales\nIf `LocalizationEditorSettings.ActiveLocalizationSettings` is null, you must find or create it:\n1. **Find:** Use `AssetDatabase.FindAssets(\"t:LocalizationSettings\", new[] { \"Assets\" })`. If found, load the first one and assign it to `LocalizationEditorSettings.ActiveLocalizationSettings`.\n   - **Always pass the search folders.** An unscoped `FindAssets` searches the whole project including\n     read-only packages, so it can return an asset from a package and you end up pointing the project\n     at something you cannot edit. This applies to every `FindAssets` call in this skill.\n2. **Create:** If not found, create a new instance and save it to `Assets/Localization/LocalizationSettings.asset`. Use `ScriptableObject.CreateInstance<LocalizationSettings>()` followed by `AssetDatabase.CreateAsset()`.\n3. **Activate:** Set `LocalizationEditorSettings.ActiveLocalizationSettings = settings`.\n4. **Locales:** Ensure locales (en, fr, de, etc.) exist. Create them if missing and add them to settings using `LocalizationEditorSettings.AddLocale(locale)`.\n\n## 2. Modifying Localization Tables\nProgrammatic changes to String or Asset tables require notification to the Editor.\nAlways create the required asset tables, unless there is already an existing one in the project.\n\n### **Safe Population Pattern**\nWhen populating tables from a dataset, match by `Locale.Identifier.Code` explicitly. The order of `GetLocales()` is not guaranteed to match your input data array — assuming it does will cause silent data mismatches that are very hard to debug.\nFor **Asset Tables**, use the GUID of the asset: `table.GetEntry(sharedId) ?? table.AddEntry(sharedId, guid);`.\n\n### **Refresh & Notification**\nAfter any modification (adding keys, updating values), notify the Editor so it can refresh its internal state. Skipping this will leave the Editor showing stale data until the next reimport.\n1. Call `EditorUtility.SetDirty(collection)`, `EditorUtility.SetDirty(collection.SharedData)`, on each modified `Table`.\n2. **Unity 6+ Notification:** `LocalizationEditorSettings.EditorEvents.RaiseCollectionModified(sender, collection);`\n3. Always call `AssetDatabase.SaveAssets()` at the end.\n\n## 3. UI Localization and Layout\n### **Namespacing & Conflicts**\n- **Always qualify names:** Use `UnityEngine.UI.Image`, `UnityEngine.UI.VerticalLayoutGroup`, `UnityEngine.UI.ScrollRect`, `UnityEngine.UI.Mask`, `UnityEngine.UI.CanvasScaler`, `UnityEngine.UI.GraphicRaycaster`, `UnityEngine.UI.ContentSizeFitter`, `UnityEngine.UI.LayoutRebuilder`, etc. \n- `UnityEngine.UI` is both a namespace and a class container, so unqualified names produce `CS0118` (namespace used like a type). Full qualification avoids this entirely.\n- **Single Instance:** Always check `GameObject.Find(\"YourCanvasName\")` and destroy the old one before creating a new one.\n- **Locale switching: use the package, and keep preview and runtime separate.** These are two\n  different mechanisms, and conflating them is why locale switching often ends up hand-rolled.\n  - **To preview a locale while authoring**, use the **Localization Scene Controls** window\n    (`Window > Asset Management > Localization Scene Controls`). This is Editor-only. It is not a\n    runtime feature, so it is not the answer when the game itself needs a language setting.\n  - **To switch locale at runtime**, assign `LocalizationSettings.SelectedLocale`. That is the\n    supported entry point, and everything bound through `LocalizeStringEvent` updates from it.\n  - **To pin which locale the game starts in**, configure a startup locale selector on the\n    Localization Settings asset. `SpecificLocaleSelector` is the one that forces a chosen locale;\n    the default chain otherwise picks up the system language.\n  - **NEVER hand-roll locale state.** A real in-game language menu is fine and expected, as long as\n    it sets `SelectedLocale` and lets the package propagate the change. What is forbidden is a debug\n    dropdown or menu that tracks its own \"current language\" variable, swaps strings itself, or\n    reaches around the package, because nothing else in the project will follow it.\n\n### **Localized String Events (Robust Binding)**\n- **Check Component Type:** Identify if the target is `TextMeshPro` or legacy `UnityEngine.UI.Text`.\n- **Bind Correctly:** add the public `UnityEngine.Localization.Components.LocalizeStringEvent`\n  component and wire it yourself — set `StringReference` to the table entry, then add an\n  `OnUpdateString` listener that assigns the value to the text component (`TMP_Text.text` for\n  TextMeshPro, `UnityEngine.UI.Text.text` for legacy Text).\n\n  Do **not** reflect into `UnityEditor.Localization.Plugins.TMPro.LocalizeComponent_TMPro` or its\n  UGUI counterpart. Those are `internal` (measured on Localization 1.5.12), so reaching them means\n  routing around access control to reach an API Unity makes no stability commitment about — it can\n  change or disappear in any package release. `LocalizeStringEvent` is public and does the same job\n  with the wiring made explicit.\n- **Layout Rebuild:** After setting localized text or populating a list, call `UnityEngine.UI.LayoutRebuilder.ForceRebuildLayoutImmediate(parentTransform)` to ensure dimensions update.\n\n## 4. Asian Language Font Support (CJK)\nAvoid TMP Fallback Fonts for CJK locales. Use **Asset Table Font Swapping** for each specific locale instead — fallbacks are unreliable and hard to debug when glyphs are missing.\n\n### Prerequisite: TMP Essential Resources must be imported\n\n**Check this before touching any TMP API.** In a project that has never imported them,\n`TMP_Settings.instance` is `null` and TMP calls fail with a bare\n`NullReferenceException` that names nothing useful. `TMP_FontAsset.CreateFontAsset` is one of them, so\nfont creation dies on the first line with an error that looks like a bug in your code.\n\n```csharp\n// The check.\nvar ready = TMPro.TMP_Settings.instance != null;\n```\n\nIf it is not ready, import them **non-interactively**:\n\n```csharp\n// Do NOT use EditorApplication.ExecuteMenuItem(\"Window/TextMeshPro/Import TMP Essential Resources\").\n// It returns true and then opens a dialog that waits for a human, so nothing gets imported and the\n// run appears to hang. Import the package directly instead.\nstring package = null;\nvar cache = System.IO.Path.GetFullPath(System.IO.Path.Combine(\n    UnityEngine.Application.dataPath, \"..\", \"Library\", \"PackageCache\"));\nforeach (var dir in System.IO.Directory.GetDirectories(cache))\n{\n    // TMP ships inside com.unity.ugui in Unity 6, and the folder name carries a version hash,\n    // so search for the file rather than hardcoding a path.\n    var candidate = System.IO.Path.Combine(dir, \"Package Resources\", \"TMP Essential Resources.unitypackage\");\n    if (System.IO.File.Exists(candidate)) { package = candidate; break; }\n}\nUnityEditor.AssetDatabase.ImportPackage(package, false);   // false = non-interactive\n```\n\nThen poll `TMP_Settings.instance != null` in a **later** call, the same way as the package check in\nStep 0, and only continue once it is non-null. Verified on Unity 6000.5.8f1: the non-interactive\nimport completes in a few seconds and the assets land in `Assets/TextMesh Pro`.\n\n1. **Use locale-specific fonts:** Western fonts like Arial or Liberation Sans don't contain CJK glyphs, which results in \"tofu\" (square blocks). Always use a font designed for the target language:\n   - For **Simplified Chinese (zh-Hans)**: Use `msyh.ttc` (Microsoft YaHei) or equivalent.\n   - For **Japanese (ja)**: Use `msgothic.ttc` (MS Gothic) or equivalent.\n   - For **Korean (ko)**: Use `malgun.ttf` (Malgun Gothic) or equivalent.\n   - If system font copying fails, stop and report it. Do not substitute with a Western font.\n2. **Robust Font Creation:** Create dynamic `TMP_FontAsset` from imported fonts.\n3. **Multi-Atlas & Dynamic:** CJK character sets are too large for static atlases; a single atlas will run out of space immediately.\n   - `fontAsset.atlasPopulationMode = AtlasPopulationMode.Dynamic;`\n   - `fontAsset.isMultiAtlasTexturesEnabled = true;`\n4. **Sub-Assets:** add the atlas textures **and the material**. Adding only the texture is the usual\n   mistake, and the material then never reaches the file at all: measured on Unity 6000.5.8f1, a font\n   asset saved without the second call contains **zero** `Material` objects on disk, and one with it.\n   A material that exists only in memory is not part of the asset, so anything that loads the asset\n   fresh gets whatever TMP reconstructs rather than the material you configured, and any setting you\n   applied to it is silently gone.\n    ```csharp\n    // Every atlas texture, not just the first. Step 3 enabled multi-atlas, so there may be several.\n    foreach (var atlas in fontAsset.atlasTextures)\n    {\n        UnityEditor.AssetDatabase.AddObjectToAsset(atlas, fontAsset);\n    }\n    // The material too. Without this line it is not written into the asset.\n    UnityEditor.AssetDatabase.AddObjectToAsset(fontAsset.material, fontAsset);\n    ```\n    - Explicitly link the material's texture: `fontAsset.material.mainTexture = fontAsset.atlasTexture;`\n      and set the font asset, its material, and its textures dirty before saving. (`atlasTexture` is\n      the first entry of `atlasTextures`, which is what the primary material draws from, so this is\n      consistent with adding every texture above.)\n    - **Verify against the file, not against the object you are holding.** After\n      `AssetDatabase.SaveAssets()`, call `AssetDatabase.LoadAllAssetsAtPath(path)` and confirm a\n      `Material` is among the returned objects. Do not settle for `fontAsset.material != null`: that\n      stays true whether or not the material was saved, because TMP will hand back an in-memory one,\n      so it cannot tell a saved material from an unsaved one.\n5. **Addressables:** Every asset referenced in an Asset Table must be marked as Addressable. \n    - Do not reference assets inside a `Resources/` folder in an Asset Table. This causes `OperationException: Failed to load sub-asset` errors. If an asset is in `Resources/`, copy it to `Assets/Fonts/` or similar before making it Addressable.\n    - If a font asset is deleted and recreated, the new GUID must be manually updated in the Asset Table and re-added to Addressables.\n6. **Specialized Types:** For TextMesh Pro font swapping, prefer `LocalizedTmpFont` over `LocalizedAsset<TMP_FontAsset>` to avoid implicit conversion errors.\n7. **Build Requirement:** After updating Asset Tables or Addressable groups, trigger a build: `AddressableAssetSettings.BuildPlayerContent();`.\n\n### **Verification Step**\nBefore concluding any CJK localization task:\n1. **The Tofu Check:** Switch the editor locale to `zh-Hans`, `ja`, and `ko`. Inspect the UI. If any characters appear as squares (tofu), the font setup has FAILED.\n2. **Asset Table Check:** Verify that the `AssetTable` for the CJK locale points to the correct CJK `TMP_FontAsset`, NOT a default Western font.\n3. **Multi-Atlas Check:** Confirm `isMultiAtlasTexturesEnabled` is `true` on the CJK font assets.\n\n## 5. Automatic Layout (UGUI)\n- **Parent:** `VerticalLayoutGroup` with `Child Control Height: True`, `Child Force Expand Height: False`.\n- **Labels:** Each label must have a `ContentSizeFitter` set to `Vertical Fit: Preferred Size`.\n- **TMP:** Set `Enable Word Wrapping: True` and `Overflow: Overflow`.\n\n### Notes when translating an existing project\n- **Minimal Code Changes**: Never modify code unrelated to localization. Use a static helper class (e.g., `L10n`) to wrap `LocalizationSettings.StringDatabase.GetLocalizedString` for easy injection into existing scripts.\n- **Robust Mapping Strategy**: When mapping existing UI text to keys, sort keys by string length (descending) and match longest strings first. This prevents short strings (like \"NO\") from matching parts of longer sentences. Use case-insensitive matching where appropriate.\n- **Component Event Listeners**: wire `LocalizeStringEvent.OnUpdateString` with\n`UnityEventTools.AddPersistentListener`, passing a delegate built over the text component's public\n`text` setter. The setter has no C# method-group name, so build the delegate by name:\n`(UnityAction<string>)Delegate.CreateDelegate(typeof(UnityAction<string>), text, \"set_text\")`.\nThat is reflection over a **public** member, which is fine. See\n[resources/L10nBatchProcessor.cs](resources/L10nBatchProcessor.cs) for the working version, including\nclearing any existing persistent listeners first so repeated runs don't stack duplicates.\n  - Do **not** write the persistent-call fields directly through `SerializedObject` (`m_MethodName`,\n    `m_Mode`, `m_PersistentCalls`). Those are private serialized names with no compatibility\n    guarantee, and it isn't necessary: `AddPersistentListener` with the delegate above produces the\n    same serialized call (target = the text component, method = `set_text`, mode = `EventDefined`).\n  - **You must then set the call state, or the label will not update in the Editor.**\n    `AddPersistentListener` leaves the call at `UnityEventCallState.RuntimeOnly`, so the binding is\n    correct but dormant outside Play mode: switching locale in the Editor changes nothing, and it\n    stays that way through a save and reload. Fix it with the public\n    `UnityEventBase.SetPersistentListenerState`:\n    ```csharp\n    UnityEventTools.AddPersistentListener(lse.OnUpdateString, setText);\n    var index = lse.OnUpdateString.GetPersistentEventCount() - 1;\n    lse.OnUpdateString.SetPersistentListenerState(\n        index, UnityEngine.Events.UnityEventCallState.EditorAndRuntime);\n    ```\n    Verified on Unity 6000.5.8f1: without the second call the listener does not fire in Edit mode\n    even after a prefab save and reload; with it the call state becomes `EditorAndRuntime` and the\n    text updates immediately.\n  - Persistent listeners **MUST** point to a method on a `UnityEngine.Object`; lambdas will fail.\n  - **Then confirm the binding is live, don't assume it.** Wiring that looks right in the Inspector\n    but does nothing is the characteristic failure of this step. All of the read-back you need is\n    public API on the event, so none of this requires touching serialized fields:\n\n    | Check | Call | Expect |\n    |---|---|---|\n    | Something was wired | `GetPersistentEventCount()` | `> 0` |\n    | It points at the text component | `GetPersistentTarget(i)`, `GetPersistentMethodName(i)` | the component, `set_text` |\n    | It will fire while authoring | `GetPersistentListenerState(i)` | `EditorAndRuntime` |\n    | It actually updates the label | `lEvent.RefreshString()` | the text value changes |\n\n    Do all four. A count above zero only proves something was wired, and a `RuntimeOnly` call fails\n    the last check while being perfectly correct for a build, so reading the state is what tells a\n    dormant binding apart from a broken one. A component that was added and configured but never\n    fires is worse than an unlocalized label, because it reads as done.\n- **Initialization & Refresh**: \n    - `LocalizationEditorSettings.CreateStringTableCollection` expects a **directory path** (e.g., `Assets/Localization`), not a full asset path.\n    - Always call `lEvent.RefreshString()` after assigning a `LocalizedString` reference programmatically to update the UI immediately.\n    - Keys must exist with a **non-empty value in every table** of a collection (en, de, ja, …). A key\n      that exists with an empty value is the common gap, and it is not silent: the package prints its\n      own \"No translation found for …\" text **into the game UI**, so the shipped screen shows a\n      developer message. Do not eyeball this. Run the completeness check below.\n- **Namespaces & Linq**: Always include `using System.Linq;` when searching collections and `using UnityEngine.Localization;` when working with locales or tables.\n- **Verification**: After modifying tables or addressables, run `AddressableAssetSettings.BuildPlayerContent()` and switch the Editor locale to verify changes. Check `LocalizationSettings.Instance` status after activation.\n\n### Table completeness check (run this before declaring the work done)\n\nEnumerating the tables answers \"did every key get a value in every locale\" mechanically, so a missing\nentry is found before anyone plays the game. Run it and report the output.\n\n```csharp\nvar gaps = new System.Collections.Generic.List<string>();\nvar checkedCount = 0;\n\nforeach (var col in UnityEditor.Localization.LocalizationEditorSettings.GetStringTableCollections())\n{\n    foreach (var key in col.SharedData.Entries)\n    {\n        foreach (var table in col.StringTables)\n        {\n            checkedCount++;\n            var entry = table.GetEntry(key.Id);\n            // A missing entry and a present-but-empty entry both show as untranslated in game.\n            if (entry == null || string.IsNullOrWhiteSpace(entry.Value))\n            {\n                gaps.Add($\"{col.TableCollectionName} / {table.LocaleIdentifier.Code} / {key.Key}\");\n            }\n        }\n    }\n}\n\n// Zero entries is not a pass. It means no collections or no locales were found, so the check\n// examined nothing: report that distinctly instead of letting it read as success.\nif (checkedCount == 0)\n{\n    return \"INCONCLUSIVE: no table entries found. Either no String Table Collection exists yet, \"\n         + \"or the collection has no locale tables. Fix that before trusting this check.\";\n}\n\nreturn gaps.Count == 0\n    ? $\"COMPLETE: {checkedCount} entries checked, no gaps\"\n    : $\"GAPS ({gaps.Count} of {checkedCount} checked):\\n  \" + string.Join(\"\\n  \", gaps);\n```\n\nVerified on Unity 6000.5.8f1 against a table with one deliberately emptied `ja` value: it reports\n`GAPS 1 of 4` naming exactly that entry, `COMPLETE (4 checked)` once the value is filled, and\n`INCONCLUSIVE` in a project with no tables.\n\n**Report the gap list rather than resolving it silently.** Some gaps are decisions, not mistakes: a\nlocale you were not asked to translate, or a key that is intentionally identical across languages.\nFilling those with the English text hides the decision. List them and let the user say which are\nintentional.\n- **Smart Strings**: Set up smart strings where needed. Inspect the context of each string by taking the entire UI it is on, and any scripts that affect it, into account. Set the context on the string table to ensure translations make sense.\n\n## 6. Recommended Translation Strategy\nTo efficiently translate an existing project, follow this multi-step workflow:\n\n1. **Extraction & Component Setup:**\n   - **Find all occurrences. There are two separate hiding places, and scanning one misses the other.**\n     - **Authored text** sits on components in scenes and prefabs: legacy `UnityEngine.UI.Text` and\n       TextMeshPro (`TMP_Text`, the base of `TextMeshProUGUI` and `TextMeshPro`). Walk **both**\n       families. Measured on a real project: `FindObjectsByType<Text>` found 1 component while\n       `FindObjectsByType<TMP_Text>` found 13, so a legacy-only pass reports success having done\n       almost nothing.\n     - **Text composed in code** never appears on a component at edit time, so no scene walk can see\n       it. `scoreLabel.text = $\"EXP {value}\"` is invisible to every component-based scan and is the\n       string that survives a \"finished\" localization pass. Find it in the C# instead:\n       ```bash\n       # Assignments and SetText calls that carry a string literal.\n       grep -rnE '\\.text\\s*(=|\\+=)\\s*\\$?\"|SetText\\(\\s*\\$?\"' --include='*.cs' Assets/\n       ```\n       That pattern catches plain, interpolated, concatenated and `+=` forms plus `SetText`, and\n       deliberately does not match `label.text = someVariable` or `label.text = Localize(\"KEY\")`\n       (nothing to extract at the first, already routed at the second). Its blind spot is a literal\n       held in a variable or const declared elsewhere; if the count looks low for the project, grep\n       that file's string literals too.\n   - **Report what you did not convert.** A composed string usually needs a smart string or a format\n     argument, which is a judgment call, and some are genuinely not worth localizing. Whichever you\n     choose, list every site the scan found alongside whether it was converted, and why not if it\n     wasn't. Reporting \"localized 24 strings\" while nine found sites went untouched is the failure\n     mode this list exists to prevent: the work looks finished and the gap only surfaces in a\n     screenshot from another locale.\n   - **Shared Table:** Create a central String Table (e.g., `UIStrings`) with the base language and a \"Context\" column for each key to guide translators.\n   - **Attach Components:** For every UI element found, attach a `LocalizeStringEvent` (for text) and a `LocalizedFont` helper (for font swapping).\n   - **Validation:** Ensure these components are set up with persistent listeners (`EditorAndRuntime`) so they update in the Editor immediately when the locale changes.\n\n2. **Context-Aware Translation:**\n   - **Translate:** Once the table is populated, provide translations for each locale.\n   - **Context is King:** Always refer to the \"Context\" column or inspect the UI layout to ensure the translation fits the intended meaning and space.\n   - **Grammar & Tone:** Ensure the tone matches the game's style. For example, use imperative verbs for buttons (e.g., German: \"Lauf!\" instead of \"Laufen\") and correct pluralization for labels (e.g., \"Punkte\" instead of \"Punkt\").\n\n3. **Quality Assurance (QA):**\n   - **Scene Controls:** Use `Window > Asset Management > Localization Scene Controls` or script: `LocalizationSettings.SelectedLocale = LocalizationSettings.AvailableLocales.GetLocale(\"de\");`.\n   - **Visual Inspection:** Methodically inspect every prefab and scene in the base language and all target languages.\n   - **Layout Fit:** Check for text overflows or \"tofu\" (missing glyphs). Adjust font sizes or use `ContentSizeFitter` if strings are too long.\n\n\n## API Reference\nFor detailed API usage, common namespace conflicts, Addressables patterns, and font repair steps, see [references/api-notes.md](references/api-notes.md).\n\n## 7. Accelerated Localization Workflow\nTo localize an entire project efficiently, use a batch processing script that handles all scenes in one pass.\n\n**Ask before acting:** Before running any batch operation, confirm with the user:\n> \"This will open every scene in the project, attach `LocalizeStringEvent` components, and save all modified scenes. This cannot be undone automatically. Shall I proceed?\"\n\nOnly proceed once the user has confirmed. The batch processor template is in [resources/L10nBatchProcessor.cs](resources/L10nBatchProcessor.cs).\n\nIt walks **both** `Text` and `TMP_Text`, and `LocalizeAll` **returns the labels it could not match**\n(as `scene :: object :: \"text\"`). Print that list. It is the whole point of the return value: a run\nthat wires 20 labels and silently leaves 9 alone looks identical to a complete one otherwise. The\nlist covers authored text only, so pair it with the code scan in Section 6 and the table completeness\ncheck in Section 5.\n\n### **Technical Tips for Speed**\n- **Table References:** Use `TableReference` names (strings) instead of GUIDs — they are easier to read and maintain.\n- **Batch Refresh:** Use `LocalizationSettings.Instance.ForceRefresh()` after modifications to force the UI to update in the editor.\n- **Font Swap Automation:** Create the `GameAssets` table once and use a script to re-assign `LocalizeFontEvent` to all labels in one pass.\n- **LocalizedFontAsset component:** The template is in [resources/LocalizedFontAsset.cs](resources/LocalizedFontAsset.cs).\n"},"changes":[],"summary":"First saved snapshot. No earlier version is available for comparison.","summary_kind":"deterministic","summary_metadata":{}}