localize-unity-project
БесплатноЗапускает вложенные скриптыНе проверенSets up Unity Localization, including locales, String and Asset Tables, and CJK fonts. Use when the user wants to add languages or translate UI text.
от Unity-Technologies★ 1 342 звезды на GitHubОб этом скилле
Important
- Use the unity cli (
unity command --format json) and theunity-cliandunity-pipelineskills for each step. - Before making changes, establish a baseline of the current behavior so you can tell whether a later result is actually caused by your change.
- Create a restore point you can roll back to if your changes fail.
- Do only what's asked. Don't change unrelated assets or files. Avoid long explanations.
- Never leave verification code in the user's script. Never build logging or detection they didn't ask for.
Terms
These names differ between the Editor UI, the package API and this skill:
- Table collection: the asset (
StringTableCollectionorAssetTableCollection) holding one table per locale plus the shared key list,SharedData. LocalizedTmpFont: the package type that references aTMP_FontAssetentry in an Asset Table.LocalizedFontAsset: this skill's component template (scripts/LocalizedFontAsset.cs), not a package type. It applies aLocalizedTmpFontto theTMP_Texton its GameObject.
1. Check the Localization package is installed
Before doing anything else, verify that the Localization package is installed. Many APIs in this skill will fail silently or throw confusing errors if the package isn't present.
- Check by reading the project, not by asking the Package Manager. Look for
com.unity.localizationinPackages/packages-lock.json, because it records what Unity actually resolved and reading it needs no Editor or async call.Packages/manifest.jsononly records what was requested. - Install if missing:
UnityEditor.PackageManager.Client.Add("com.unity.localization"). - Wait properly.
Client.Addis asynchronous, and busy-waiting onIsCompletedblocks the main thread you are running on. Return after firing the install, then pollpackages-lock.jsonin a later call until the id appears. The install triggers a domain reload, so expect the first poll or two to fail. - Confirm the types are actually loaded before using them, since the lock file can be written
before the assemblies are ready:
Only proceed once that returnsvar t = System.Type.GetType( "UnityEngine.Localization.Settings.LocalizationSettings, Unity.Localization"); return t != null ? "ready" : "not loaded yet";ready.
2. Read the documentation
Full topic map
Before you go forward with a workflow or diagnosis:
- Open and read the documentation page(s) that cover the specific subject related to what you intend to do or fix and check if you've missed anything.
- Name the file(s) you read in your response.
This is because your training knowledge about Unity might be out of date, incorrect, or for the wrong Unity version.
The docs pages are local markdown conversions of the Unity Manual, stored at <project-folder>/Library/PackageCache/com.unity.localization@*/. When reading docs, read only the .md files in that subfolder and don't browse other Library or PackageCache folders, because that takes too much time. This limit doesn't apply to package lookups that other steps run, such as the TMP import in references/cjk-fonts.md. If that folder has no .md files, use the online pages at https://docs.unity3d.com/Packages/com.unity.localization@<VERSION>/manual/ instead, because some package versions don't ship their docs.
Prefer WebFetch over WebSearch — faster and lands on the exact reference. Only fetch what you need. Replace <VERSION> with the following before fetching:
- Package on docs.unity3d.com: The package version, eg
@6.6or@2.0. Check the package version if unsure. - docs.unity.com: The product version, eg
7000.0
Read the Unity version from ProjectSettings/ProjectVersion.txt, and each package's major.minor from Packages/packages-lock.json (for example 1.5 for com.unity.localization). TextMesh Pro (TMP) API pages are in the com.unity.ugui docs. If packages-lock.json lists com.unity.textmeshpro instead, use https://docs.unity3d.com/Packages/com.unity.textmeshpro@<VERSION>/api/ with that package's version.
Read references/docs-map.md for the manual, API and Script Reference pages to read.
API reference
The API is UnityEngine.Localization and UnityEditor.Localization, part of the com.unity.localization package. It is versioned by package version, not Unity version (e.g. @1.4, @1.5), so check the project's installed package version before relying on a specific class or method.
- Read the installed package version from
Packages/packages-lock.json, as in Step 1. - Fetch and cache
https://docs.unity3d.com/Packages/com.unity.localization@<version>/xrefmap.yml(replace<version>with the installed package version, e.g.1.5). This file maps every pub
Установить localize-unity-project в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл localize-unity-project?
Sets up Unity Localization, including locales, String and Asset Tables, and CJK fonts. Use when the user wants to add languages or translate UI text.
Как установить скилл localize-unity-project?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл localize-unity-project запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
frontend-design
Guidance for distinctive, intentional visual design when building new UI or reshaping an existing one. Helps with aesthetic direction, typography, and making…
от Anthropicwebapp-testing
Toolkit for interacting with and testing local web applications using Playwright. Supports verifying frontend functionality, debugging UI behavior, capturing…
от Anthropicbrand-guidelines
Applies Anthropic's official brand colors and typography to any sort of artifact that may benefit from having Anthropic's look-and-feel. Use it when brand…
от Anthropicweb-artifacts-builder
Suite of tools for creating elaborate, multi-component claude.ai HTML artifacts using modern frontend web technologies (React, Tailwind CSS, shadcn/ui). Use…
от Anthropic