Files
capod/.claude/rules/localization.md
T
darken 4e279ca44d chore: Restructure Claude Code config into modular rules
Migrate monolithic root CLAUDE.md into .claude/rules/ structure
with focused topic files and glob-based contextual loading.
Clean up leftover helper scripts in .claude/tmp/.
2026-02-07 19:31:28 +01:00

769 B

description, globs
description globs
Guidelines for adding and naming Android string resources
**/res/values*/strings.xml

Localization Guidelines

When adding new user-facing strings:

  • Always use string resources: Never hardcode user-facing text in layouts or code
  • Follow naming conventions: Use descriptive, hierarchical naming (e.g., profiles_name_default, settings_bluetooth_enabled)
  • Provide context: String names should indicate usage and location
  • Consider pluralization: Use Android plural resources (<plurals>) when quantities vary

Naming Examples

  • profiles_create_title (screen title)
  • profiles_name_label (form field label)
  • profiles_delete_confirmation (dialog message)
  • error_network_unavailable (error message)