logseq-i18n
Skill by logseq
logseq-i18n is a workflow skill for adding, renaming, reviewing and editing translation keys and user-facing strings in Logseq. It is for developers and contributors who work on shipped UI text and the dictionaries in src/resources/dicts/.
Install logseq-i18n
Built from the published package, never by AI.
git clone --depth 1 https://github.com/logseq/logseq /tmp/logseq && mkdir -p ~/.claude/skills && cp -r /tmp/logseq/.agents/skills/logseq-i18n ~/.claude/skills/logseq-i18nRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/logseq/logseq /tmp/logseq && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/logseq/.agents/skills/logseq-i18n ~/.gemini/antigravity-cli/skills/logseq-i18nAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Skills can run scripts on your machine. Some need an API key: check the README.
About
The logseq-i18n skill is a workflow for handling translation keys and user-facing strings in the Logseq codebase. It covers adding, renaming, reviewing and editing keys, replacing hardcoded UI text with translation helpers from frontend.context.i18n, and keeping .i18n-lint.toml coverage accurate. It tells the assistant to search en.edn before creating keys and to add a Simplified Chinese (zh-CN) translation for every new key.
It is aimed at developers and contributors working on Logseq's shipped UI and dictionary files in src/resources/dicts/. Its scope follows the .i18n-lint.toml config, and it names the translation helpers to use. The skill lists validation commands to run after changing keys, shipped UI text or dictionary files.
Written from the project's SKILL.md and checked against it.
What it can do
- Add user-facing stringsMoves hardcoded UI text into en.edn and replaces it with a translation helper.
- Reuse or name keysSearches en.edn for a matching key and follows the key naming guide for new ones.
- Add zh-CN translationsRequires a Simplified Chinese entry in the same change as any new key.
- Rename or remove keysUpdates affected locale files so stale keys do not remain.
- Use translation helpersGuides use of t, tt, t-en, interpolate-sentence and other helpers in frontend.context.i18n.
- Review i18n complianceChecks code for hardcoded UI text and misuse of translation keys.
- Update lint configurationExtends .i18n-lint.toml when new helpers, attributes or surfaces are added.
- Run validation commandsPoints to bb lang:validate-translations, bb lang:lint-hardcoded and bb lang:format-dicts.
What you need
- Logseq repository checkout
- bb task runner for the lang:* commands
Try asking
- Add a translatable label for a new button in the settings dialog
- Review this component for hardcoded UI strings
- Rename a translation key and update the locale files
Good to know
- Locales without a supplied translation fall back to :en.
- Function-valued translations may only use str, when, if and =.
- If the naming guide does not give one clear key, the assistant should ask for human guidance.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: .agents/skills/logseq-i18n/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
-
SKILL.md7 KB
Alternatives to logseq-i18n
All alternatives →Runs a 7-stage workflow for auditing, cleaning up and reviewing GitHub repositories, plus competitor analysis. Written for developers who want a repo checked for secrets, junk files and documentation gaps.
Teaches an AI assistant to build, debug and explain Gradio web UIs and ML demos in Python. It covers the core API, components, event listeners, layouts and the MCP server option. Aimed at Python developers who work with Gradio.
Recommends menus, buttons, toolbars and disclosure controls for Apple platforms using Human Interface Guidelines conventions. Built for developers and designers making iOS, iPadOS, macOS or visionOS interfaces. Checks existing project design context before asking questions.
Creates production-ready FastAPI project structures with async patterns, dependency injection, and error handling. It is for developers starting new FastAPI applications or backend API projects.
Analyzes Android apps to find user workflows to expose as AppFunctions, so AI agents and system shortcuts can run them without opening the app UI. Generates Kotlin code and refines KDoc for Android developers.
Creates, edits, validates and runs Agent QA tests, suites and hooks through MCP or CLI. It keeps canonical IDs and schema contracts intact, for developers and QA teams using Agent QA.
Compare with openclaw-github-repo-commander, gradio or hig-components-menus
logseq-i18n: common questions
What does logseq-i18n cover?
It covers adding, renaming, reviewing and editing translation keys and user-facing strings in Logseq. It applies to text within the scope set by .i18n-lint.toml.
Which locales are required for a new key?
English and Simplified Chinese (zh-CN) are the two required locales for any new key. Other locales should only be added when real translations are provided.
Which helpers are used for translations?
The skill uses helpers from frontend.context.i18n, including t, tt, t-en, interpolate-sentence and interpolate-rich-text.
How do I install logseq-i18n?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is logseq-i18n free?
The code is published under the AGPL-3.0 licence. The service it connects to may have its own pricing.
Is logseq-i18n safe to use?
It scores 86 of 100. Grades: maintenance A, licence C, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to logseq-i18n?
Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.
