شعار Lochness

Lochness

المجتمع
ronyfadel
lochness

Localize an Apple-platform app (iOS, iPadOS, macOS, watchOS) so its wording matches Apple's own translations in iOS and macOS. Looks up how Apple translated the same English string, or the UI terms inside it, in a local database built from this Mac's system software and the newest simulator runtime of each platform, then translates and reviews a String Catalog (.xcstrings) or .strings/.stringsdict files with that evidence. Use when the user asks to localize or translate an app, fill in missing translations, add a language, review or fix existing translations, make wording "match iOS" or "sound like Apple", or asks how Apple translates a string or term. Also use for "build/update/purge the Apple localization database".

نظرة عامة

الناشرronyfadel
المستودعlochness
اسم المهارةlochness
النجوم
53
التفريعات
0
الملفات المرفقة
7
الترخيصMIT
الروابط
  • تعليمات بصيغة Markdown

    ملف SKILL.md يُحمّله النموذج عند الحاجة، فلا يستهلك توكنات إلا عندما يَرِد طلب ذو صلة فعلًا.

  • تعمل مع أي نموذج لغوي كبير

    مهارات الذكاء الاصطناعي مكتوبة بصيغة Markdown وليست شيفرة خاصة بمزوّد معيّن، لذا تعمل مع GPT أو Claude أو Gemini أو Grok أو نموذج محلي.

  • الملفات المرفقة: 7

    نصوص برمجية وقوالب ومراجع يمكن للنموذج قراءتها أثناء عمله. الملفات للقراءة فقط ولا تُنفّذ أبدًا.

  • مفتوحة المصدر

    نشرها ronyfadel على GitHub. اطّلع على المصدر قبل تثبيتها.

التثبيت

ثبّت مهارة الذكاء الاصطناعي Lochness في TypingMind لاستخدامها مع أي نموذج لغوي كبير، أو أضفها إلى وكيل ذكاء اصطناعي آخر يقرأ SKILL.md.

1

التثبيت في TypingMind

يُثبّت TypingMind المهارة مباشرةً من مجلدها على GitHub — فيقرأ SKILL.md، ويجمع ملفات الموارد في حزمة، ويحفظ النتيجة محليًا.

  1. افتح التطبيق وانتقل إلى «الإضافات» ثم «المهارات».
  2. اختر «تثبيت من GitHub».
  3. الصق رابط مجلد المهارة الموضّح أدناه وأكّد التثبيت.
    https://github.com/ronyfadel/lochness/tree/main/skills/lochness
  4. فعّل المهارة في كل محادثة تريد إتاحتها فيها.
الإضافات ← المهارات ← إضافة مهارة ← من رابط GitHub، ثم الصق رابط المجلد واضغط على «متابعة».
2

التثبيت في وكيل ذكاء اصطناعي آخر

يمكن لأي وكيل ذكاء اصطناعي يقرأ تنسيق Agent Skills استخدام هذه المهارة — انسخ المجلد إلى مجلد المهارات الخاص بذلك الوكيل.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/ronyfadel/lochness.git /tmp/lochness
mkdir -p .claude/skills
cp -r /tmp/lochness/skills/lochness .claude/skills/lochness
أعد تشغيل Claude Code بعد النسخ ليتعرّف على المهارة الجديدة.

استخدمها في TypingMind

فعّل Lochness في أي محادثة على TypingMind وسيتولى النموذج الباقي. تتضمن مطالبة النظام اسمها ووصفها، وبمجرد ورود طلب ذي صلة، يُحمّل النموذج التعليمات الكاملة تلقائيًا — فلا تحتاج إلى استدعائها يدويًا، ولا تستهلك أي توكنات حتى تُستخدم فعليًا.

يُحمّل النموذج مهارة Lochness تلقائيًا بمجرد ورود طلب ذي صلة بها.

تعمل مع أي نموذج ذكاء اصطناعي

مهارات الذكاء الاصطناعي هي تعليمات بصيغة Markdown وليست شيفرة خاصة بمزوّد معيّن، لذا لا ترتبط Lochness بالنموذج الذي كُتبت له. ثبّتها مرة واحدة في TypingMind واستخدمها مع GPT-5 أو Claude أو Gemini أو Grok أو DeepSeek أو Mistral أو Llama أو نموذج محلي تشغّله بنفسك — كل ذلك باستخدام مفاتيح API الخاصة بك.

  • تُحمَّل عند الحاجة فقط

    تتضمن مطالبة النظام الاسم والوصف فقط. وتُجلب التعليمات عند أول طلب ذي صلة، لذا لا تستهلك تعليمات المهارة أي توكنات ما دامت المهارة غير مستخدمة.

  • بدّل النماذج أثناء المحادثة

    لأن المهارة تعليمات وليست شيفرة، فإن تغيير النموذج لا يعطّلها — فالنموذج التالي يقرأ ملف SKILL.md نفسه.

تعليمات المهارة

هذا هو محتوى SKILL.md الذي يُحمّله النموذج. اقرأه قبل التثبيت — فالمهارة عبارة عن تعليمات سيتبعها نموذجك.

Apple-quality localization

Apple has already translated most of the UI vocabulary an app needs, such as "Cancel", "Not Now", "Start Recording", "Speech Recognition" and "Check In", into every language it ships, and users see those words all day. An app that uses the same words feels native, and one that invents its own looks off even when its translation is correct. This skill gives you Apple's translations as evidence, so you can match the OS where it applies and write in Apple's style where it doesn't.

The CLI is bin/lochness in this skill's base directory. Run it by its full path; it needs only macOS's python3. Below it is written as lochness.

1. Make sure the database exists

Run lochness status first.

  • No database yet. Before you build it, tell the user, in one or two sentences, that you're building a local database of Apple's own translations from macOS and the newest simulator runtime of each platform on this Mac. Give the location, the disk space and the time from status's estimate (about 4–5 GB and 10 minutes). Say that nothing is downloaded and lochness purge removes it. If the user has said which languages they localize into, or disk space is tight, build only those with --langs, using the catalog's locales (for example lochness scan --langs fr-FR,es-MX). That makes it about 0.4 GB and 1 minute for two languages. Tell them that adding a language later means lochness purge and a rebuild. If status lists more than macOS and iOS and the app targets fewer platforms, offer to leave the others out: pass one --only per platform to keep (for example --only macOS --only iOS). This is remembered for later scans. Then run the scan in the background, since it outlasts a normal command timeout. Do work that doesn't need it meanwhile, such as reading the catalog and the app's context. If scan stops because of low disk space, tell the user; don't pass --force on your own.
  • status warns that no simulator runtime, or no iOS runtime, was found. Pass the warning on: iOS wording will be missing. Suggest installing one (Xcode > Settings > Components) for an iOS app.
  • "not scanned yet" lists sources. macOS was updated or a newer simulator runtime is installed. Tell the user and offer lochness scan, which adds only the new sources. Don't block on it: the existing data is still good.
  • A lookup prints "this database only has …". It was built with --langs and lacks a language you need. Tell the user, and rebuild with the union of languages only if they agree.
  • Only run lochness purge --yes when the user asks to delete the database.

2. Gather Apple's evidence for the strings

sh
lochness suggest path/to/Localizable.xcstrings -p iOS -l fr,de,ja --only-missing -o /tmp/lochness.json
  • -p is the app's platform: iOS for iPhone/iPad, macOS, watchOS. Leave it out for multiplatform apps.
  • -l is the languages to work on (default: those already in the catalog). Use --only-missing to fill gaps. Leave it out when reviewing existing translations.
  • Accepts a .xcstrings, one lproj's .strings file (its sibling lprojs are read too), or - for English lines on stdin (with -l), for strings that aren't in a catalog yet.
  • Write to a file with -o and read it in parts; a big catalog in many languages is several MB. It takes about 15 seconds for 1,000 strings.

Each string comes back with match:

  • "exact": Apple ships this exact English string. translations.<lang> gives Apple's majority translation apple, agreement (bundles that use it / bundles that translate it), examples (which Apple bundles), alternatives when Apple is split, and ours plus matches_apple when the catalog already has one.
  • "terms": there's no exact match, but terms lists Apple UI phrases found inside the string with their translations. kind: "phrase" (two or more words, such as "Speech Recognition") is strong evidence. kind: "word" is a hint only: Apple may use the word in another sense ("Check" turns up as a bank check in Wallet).
  • "none": nothing to go on, so translate it yourself in Apple's style.

lochness lookup "Start Recording" -l ja,ar -p iOS shows one string. lochness search "recording" finds Apple's English strings that contain those words, which helps when the user's wording is close to Apple's but not the same.

3. Translate with the evidence

  1. Exact match with clear agreement: use Apple's translation as it is, including its punctuation and typographic characters (’ “ ” …, non-breaking spaces, « » in French). This covers the system vocabulary: Cancel, Done, OK, Delete, Not Now, Continue, Settings, Share, Learn More, Allow, Don't Allow, Turn On…
  2. Check the context before reusing a match. Apple's string may come from a different feature. For example, Japanese "Pause Recording" only exists in a video context (録画), but an audio app needs 録音. Arabic "Recording" is split between a noun (تسجيل) and "recording in progress" (يجري التسجيل). Read examples and alternatives, and pick what fits the app's meaning.
  3. Apple is split: take the majority, unless a minority translation comes from bundles closer to the app's context, such as the Apple Account screens for a sign-in button.
  4. Ignore a translation that is just the English text in a non-English language (for example "Learn More" left untranslated in a couple of new Health frameworks). It's an untranslated leftover, not a choice, unless it's a name such as Wi-Fi or Bluetooth.
  5. For "terms" matches, use the phrases as a glossary for the whole string. For example, if Apple says "Spracherkennung" for "Speech Recognition", write that, adapted to the sentence's grammar (case, articles, word order). Keep each term consistent across the whole catalog.
  6. Apple feature and product names always take Apple's translation (Focus, Live Activities, Screen Time, Check In, Wallet, Dynamic Island, Lock Screen, Home Screen, Control Center). Look up any you're unsure of.
  7. No evidence: write like Apple does in that language. Short, plain and friendly. Use the same form of address as Apple's strings in the results: for example, French uses vous and German uses du; check a few exact results rather than assuming. Follow Apple's capitalization in the target language: German capitalizes nouns only, French buttons use sentence case. Keep the app's own names untranslated unless the catalog already translates them.
  8. Keep the catalog valid. Keep every placeholder (%@, %lld, %1$@; reorder with positional forms if the grammar needs it), keep plural/device variations and fill every plural category the language needs. Set each new translation's state to translated. Never change the English source or the keys.

4. Review

sh
lochness check path/to/Localizable.xcstrings -p iOS -l fr,de,ja

This lists every string whose English matches Apple's exactly but whose translation differs from Apple's, plus ones that are missing where Apple has one. Fix the system-vocabulary ones. Keep a difference when the context check in step 3 says Apple's string means something else, and tell the user which ones you kept and why.

Tell the user what you did: how many strings matched Apple exactly, how many used Apple terminology, and which were translated without evidence. Those last ones are worth a native speaker's review.

Notes

  • Languages use String Catalog codes (zh-Hans, pt-BR, nb). Apple's bare pt is Brazilian Portuguese, and pt-PT is separate.
  • The database holds Apple's translations from the software installed on this Mac. Use it as a reference while translating. Don't copy large dumps of it into the user's repo or share it elsewhere.
  • lochness stats --langs shows the languages and how many strings each one has.

الملفات المرفقة

يقرأ النموذج هذه الملفات عند الحاجة ما دامت المهارة محمّلة. وهي متاحة للقراءة ولا تُنفّذ أبدًا.

الأسئلة الشائعة

ماذا تفعل مهارة الذكاء الاصطناعي Lochness؟

Localize an Apple-platform app (iOS, iPadOS, macOS, watchOS) so its wording matches Apple's own translations in iOS and macOS. Looks up how Apple translated the same English string, or the UI terms inside it, in a local database built from this Mac's system software and the newest simulator runtime of each platform, then translates and reviews a String Catalog (.xcstrings) or .strings/.stringsdict files with that evidence. Use when the user asks to localize or translate an app, fill in missing translations, add a language, review or fix existing translations, make wording "match iOS" or "so...

لماذا تستخدم Lochness على TypingMind؟

لأنك تثبّتها مرة واحدة وتستخدمها مع أي نموذج. مهارة Lochness عبارة عن نص Markdown وليست شيفرة خاصة بمزود بعينه، لذا تعمل المهارة نفسها مع GPT-5 أو Claude أو Gemini أو Grok أو نموذج محلي، ويمكنك تبديل النموذج أثناء المحادثة دون تعطّل المهارة. يعمل TypingMind بمفاتيح API الخاصة بك، فتدفع للمزودين مباشرةً بدلًا من اشتراك لكل مقعد، وتبقى مهاراتك ومحادثاتك في مساحة التخزين الخاصة بك.

كيف أثبّت Lochness في TypingMind؟

في TypingMind، افتح «الإضافات»، ثم «المهارات»، ثم اختر «التثبيت من GitHub» والصق https://github.com/ronyfadel/lochness/tree/main/skills/lochness. يقرأ TypingMind ملف SKILL.md الخاص بالمهارة، ويجمع ملفاتها ويثبّتها كمهارة يمكنك تفعيلها لكل محادثة على حدة.

ما نماذج الذكاء الاصطناعي التي يمكنها استخدام Lochness؟

أي نموذج تربطه في TypingMind. مهارات الذكاء الاصطناعي عبارة عن تعليمات Markdown وليست شيفرة خاصة بمزود بعينه، لذا يمكن لكل من GPT وClaude وGemini وGrok والنماذج المحلية تحميل هذه المهارة عندما يتوافق الطلب معها.

كم نموذج ذكاء اصطناعي يمكنني استخدامه مع Lochness؟

أي عدد تريده. ما دام النموذج يدعم المهارات، يمكنك استخدام Lochness معه، سواء كان GPT أو Claude أو Gemini أو Grok أو DeepSeek أو Mistral أو Llama أو غيرها، وكل ذلك على TypingMind باستخدام مفاتيح API الخاصة بك.

هل مهارة الذكاء الاصطناعي Lochness مجانية؟

نعم. نشرها ronyfadel على GitHub بموجب ترخيص MIT. لا تدفع إلا لمزود الذكاء الاصطناعي الخاص بك مقابل التوكنات التي تستخدمها.

ما هي مهارات الذكاء الاصطناعي؟

مهارة الذكاء الاصطناعي حزمة تعليمات قابلة لإعادة الاستخدام تعلّم نموذج الذكاء الاصطناعي كيفية تنفيذ مهمة محددة. وتتبع تنسيق Agent Skills المفتوح: ملف SKILL.md يتضمن اسمًا ووصفًا، إلى جانب أي نصوص برمجية أو قوالب أو ملفات مرجعية قد يحتاج إليها النموذج. لا يقرأ النموذج التعليمات إلا عندما يتوافق طلبك مع المهارة، لذا لا تترتب على المهارة المثبتة أي تكلفة حتى تُستخدم.

كيف تختلف مهارات الذكاء الاصطناعي عن الإضافات أو موصلات MCP؟

تمنح الإضافة أو موصل MCP النموذج أدوات جديدة يمكنه استدعاؤها، وهي شيفرة تُنفَّذ في مكان ما وتُرجع نتيجة. أما مهارة الذكاء الاصطناعي فتزوّد النموذج بالمعرفة ومنهجية العمل: كيفية التعامل مع مهمة، والخطوات التي ينبغي اتباعها، وما ينبغي أن تكون عليه المخرجات الجيدة. المهارات عبارة عن نصوص Markdown، لذا لا تحتاج إلى خادم أو مفتاح API أو بيئة تشغيل، وتعمل مع أي نموذج.

عرض الكل

أنشئ مساحة عملك للذكاء الاصطناعي الآن

اشترك في نشرتنا الإخبارية لتصلك أخبار الميزات الجديدة والهدايا القادمة 👇