Skip to content
Back to search

lochness

MarketplaceWorks with Claude CodeGitHub

Apple-quality localization for Claude Code.

Safety scan

A static text scan, not a guarantee. Select the badge to see what was scanned and every finding.

Checked today

Check it deeper on your machine

It has changed since its scan on 20 Nov 2026.

As a Claude Code plugin, install it and then ask Claude Code:

/plugin marketplace add keithmackay/mackayi/plugin install scanskillsafety@mackayiDo a deep scan of https://github.com/ronyfadel/lochness with scanskillsafety

Or from a terminal, clone it and run it:

git clone https://github.com/keithmackay/scanskillsafety-skill ~/.claude/skills/scanskillsafetynode ~/.claude/skills/scanskillsafety/cli.cjs --deep 'https://github.com/ronyfadel/lochness'

It checks the exact commit: every file, its packages against OSV (api.osv.dev), how it compares with this page's scan (findsafeskills.com receives the repository's address), and, if you agree, Claude reading every file with your own Claude subscription. It never runs the code.

Badge for your README
findsafeskills safety rating

Markdown

[![findsafeskills safety rating](/api/listings/ronyfadel--lochness/badge.svg)](/listings/ronyfadel--lochness)

HTML

<a href="/listings/ronyfadel--lochness"><img src="/api/listings/ronyfadel--lochness/badge.svg" alt="findsafeskills safety rating" /></a>

Install

Install instructions from the README

As written by the repo's author. findsafeskills has not verified these steps.

**Claude Code plugin** (skill + CLI):

/plugin marketplace add ronyfadel/lochness
/plugin install lochness@lochness

Then ask Claude to "localize my app into French, German and Japanese" or "check my translations against iOS". On first use the skill tells you it's building the database and how much space it takes, then runs the scan in the background.

**CLI only:** `pipx install git+https://github.com/ronyfadel/lochness` (or `uv tool install …`), or clone and run `skills/lochness/bin/lochness`. It needs macOS and Python 3.9+, standard library only, and simulator runtimes (installed with Xcode) for iOS and watchOS strings.

What was scanned

The files the safety scan read, as written by the repository's author and shown as plain text. Lines with a finding are marked.

.claude-plugin/marketplace.json · Manifest · 14 lines
  1. {
  2. "name": "lochness",
  3. "description": "Apple-quality localization for Claude Code.",
  4. "owner": { "name": "Rony Fadel", "url": "https://github.com/ronyfadel" },
  5. "plugins": [
  6. {
  7. "name": "lochness",
  8. "description": "Translate and review String Catalogs against Apple's own translations, from a database built locally from your Mac's OS and simulator runtimes.",
  9. "source": "./",
  10. "homepage": "https://github.com/ronyfadel/lochness",
  11. "keywords": ["localization", "l10n", "xcstrings", "ios", "macos"]
  12. }
  13. ]
  14. }
README.md · README · 116 lines
  1. # lochness
  2. **Localize your app the way Apple localizes iOS.** A Claude Code skill and CLI that look up how Apple
  3. translated the same English string, or the UI terms inside it, across macOS and the
  4. iOS/watchOS simulator runtimes, so Claude's translations match the system your users already know.
  5. Ask Claude to translate "Not Now" into Italian and it may write "Non adesso". iOS says "Non ora" in
  6. 148 places. "Start Recording" in Japanese is 収録を開始 in iOS, not the 録音を開始 a translator might
  7. choose. Get dozens of these right and the app reads like part of the OS. Get them wrong and it reads like a port.
  8. ```
  9. $ lochness lookup "Sign In" -l fr,de -p iOS
  10. "Sign In" appears in 64 Apple bundles: …
  11. fr Se connecter ×48 iOS (ActiveSyncSettings.bundle, AppStoreDaemon.framework …)
  12. Connexion ×12 iOS (AppleAccount.framework, AuthKitUI.framework …)
  13. de Anmelden ×58 iOS (…)
  14. ```
  15. ## How it works
  16. Nothing is downloaded and no Apple data is in this repo. On first use, `lochness scan` reads the
  17. localization files that are already on your Mac and builds a local SQLite database:
  18. - macOS: `/System/Library`, `/System/Applications`, `/System/iOSSupport`, the Safari and OS cryptexes, `/Library/Apple`
  19. - Apple's apps in `/Applications` (`com.apple.*` only, e.g. Pages, Numbers, TestFlight) and the selected Xcode
  20. - the newest installed simulator runtime of each platform (iOS, watchOS, tvOS, visionOS; `xcrun simctl runtime list`):
  21. UIKit, SwiftUI, Settings, Health, Camera… Older runtimes of a platform are skipped: they cost disk space and add
  22. little new wording. If no simulator runtime is installed, `lochness` says so and scans macOS only.
  23. It reads `.loctable`, `.strings` (binary, XML or text) and `.stringsdict` files. For macOS 26 plus the
  24. iOS 27 and watchOS 27 runtimes, that's tens of millions of translations in about 90 languages, a **4–5 GB**
  25. database built in **about 10 minutes**. Before it starts, `lochness scan` prints the sources, the space it
  26. needs and the free space on your disk. `lochness purge` deletes the database.
  27. **Only need a few languages?** `lochness scan --langs fr-FR,es-MX` stores just those locales plus English:
  28. **0.4 GB, built in about a minute**, with the same answers for those languages. Locales are matched to
  29. Apple's codes with their fallbacks: `fr-FR` is Apple's `fr`, and `es-MX` keeps `es-419` and `es`, because
  30. Apple ships es-MX for only a few bundles and uses es-419 for Latin America everywhere else. The set is
  31. fixed when the database is first built; to change it, `lochness purge` and scan again.
  32. The database lives at `~/Library/Application Support/lochness/apple-l10n.sqlite`, outside the
  33. plugin, so updates keep it. Set `$LOCHNESS_DB` or pass `--db` to put it elsewhere.
  34. ## Install
  35. **Claude Code plugin** (skill + CLI):
  36. ```
  37. /plugin marketplace add ronyfadel/lochness
  38. /plugin install lochness@lochness
  39. ```
  40. Then ask Claude to "localize my app into French, German and Japanese" or "check my translations
  41. against iOS". On first use the skill tells you it's building the database and how much space it
  42. takes, then runs the scan in the background.
  43. **CLI only:** `pipx install git+https://github.com/ronyfadel/lochness` (or
  44. `uv tool install …`), or clone and run `skills/lochness/bin/lochness`. It needs macOS and Python 3.9+,
  45. standard library only, and simulator runtimes (installed with Xcode) for iOS and watchOS strings.
  46. ## CLI
  47. ```sh
  48. lochness status # database location and size, what's scanned, what's new
  49. lochness scan # build, or add a newer macOS or simulator runtime
  50. lochness scan --only iOS # one source
  51. lochness scan --langs fr-FR,es-MX # only these locales (+ English): ~0.4 GB instead of 4–5 GB
  52. lochness purge # delete the database
  53. lochness lookup "Delete Recording" -l ar,he,fr -p iOS
  54. lochness search "recording" # Apple's English strings containing these words
  55. # Apple's evidence for every string in a catalog, as JSON for Claude:
  56. # exact matches with how much Apple agrees with itself, else the Apple UI phrases inside the string
  57. lochness suggest Localizable.xcstrings -p iOS -l fr,de,ja --only-missing -o suggestions.json
  58. # Where a catalog's translations differ from Apple's for identical English
  59. lochness check Localizable.xcstrings -p iOS -l fr,de
  60. lochness check en.lproj/Localizable.strings -l ar # reads the sibling lprojs too
  61. ```
  62. `lookup` lists each translation with the number of Apple bundles that use it, so the majority choice
  63. comes first and Apple's own inconsistencies show up below it.
  64. ## Schema
  65. | table | what |
  66. |---|---|
  67. | `sources` | each scanned OS (platform, version, build) |
  68. | `bundles` | app/framework/extension per platform, path inside the OS, bundle ID |
  69. | `tables` | a strings table in a bundle (`Localizable`, `MainMenu`…) and its format |
  70. | `table_sources` | which OS builds contain the table |
  71. | `entries` | `(table, key, variant, lang, text)`, all interned IDs |
  72. | `keys`, `langs`, `variants`, `texts` | interned values; `texts.h` is a 64-bit BLAKE2b hash for exact lookups |
  73. | `source_fts` | FTS5 index over the English texts (`en`, `en-US`, `Base`) |
  74. | `v_entries` | everything joined, for ad-hoc SQL |
  75. Strings are interned because the same keys, languages and translations repeat across
  76. millions of rows. Plural and device variants are flattened into a `variant` path such as `count/one`.
  77. Language codes are normalized to String Catalog codes: `zh_CN`→`zh-Hans`, `no`→`nb`, `pt_BR`→`pt-BR`.
  78. Apple's bare `pt` is Brazilian Portuguese.
  79. Many keys are meaningless nib IDs (`feR-HL-qNb.title`), so look strings up by their English text,
  80. which `lookup`, `suggest` and `check` do.
  81. ```sql
  82. -- Every Arabic translation of the English "Share…" on iOS
  83. SELECT DISTINCT bundle, text FROM v_entries
  84. WHERE platform = 'iOS' AND lang = 'ar' AND (bundle_path, table_name, key) IN (
  85. SELECT bundle_path, table_name, key FROM v_entries WHERE platform = 'iOS' AND lang = 'en' AND text = 'Share…');
  86. ```
  87. ## Note
  88. The translations are Apple's. This tool reads them from your own Mac as a reference for localizing
  89. your own apps; don't redistribute the database.

Ratings and comments

Sign in to rate this skill.

Sign in

Free to use. If it’s helped, pass it on.