agentsclimarketplace

Ios localization

Skill ComeOnOliver/skillshub/skills/HoangNguyen0403/agent-skills-standard/ios-localization

🧠 The right skill, one API call. AI agent skills registry with token-efficient skill resolution. 5,000+ skills from 500+ top repos.

Install
npx -y skills add ComeOnOliver/skillshub --skill ios-localization

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

What its author says it does

Copied from the file, not written here

Standards for String Catalogs, L10n, and Asset Management. Use when adding multi-language support using iOS String Catalogs or L10n workflows. (triggers: **/*.stringcatalog, **/*.xcassets, **/*.strings, LocalizedStringResource, NSLocalizedString, String(localized:))

SKILL.md

1.8 KB, as published. Nobody here has run it

iOS Localization & Assets Standards

Priority: P1

Implementation Guidelines

Localization (L10n)

  • String Catalogs (.stringcatalog): Use for primary localization in Xcode 15+. It provides a visual editor and compile-time checks for missing translations.
  • Native Implementation: Use String(localized: "key") or LocalizedStringResource. Avoid manual NSLocalizedString where possible.
  • Pluralization: Use String Catalogs' built-in pluralization support instead of complex code logic.
  • Formatting: Use Formatted API for dates, numbers, and currencies to respect the user's locale.

Asset Management

  • Asset Catalogs (.xcassets): Keep assets organized. Use folders with "Provides Namespace" enabled for large projects.
  • SF Symbols: Use for standard icons to ensure consistency and accessibility.
  • Vector Assets: Use PDF or SVG and enable "Preserve Vector Data" for resolution independence.

Best Practices

  • Hardcoded Strings: Never use hardcoded strings in UI. Every user-facing string must be localized.
  • Base Bundle: Ensure Base localization is complete before adding other languages.

Anti-Patterns

  • No manual currency symbol concat: Use NumberFormatter or .formatted(.currency).
  • No loose png/jpg files in repo: Always use Asset Catalogs.
  • No placeholder strings: Ensure 100% coverage in String Catalogs.

References

Keep looking

Skills are one crate of 328,083. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.