Skip to content

Comments

feat(i18n): localize wow module responses#246

Merged
karaktaka merged 1 commit intomainfrom
feat/i18n-wow
Feb 22, 2026
Merged

feat(i18n): localize wow module responses#246
karaktaka merged 1 commit intomainfrom
feat/i18n-wow

Conversation

@karaktaka
Copy link
Contributor

@karaktaka karaktaka commented Feb 22, 2026

Summary

  • Replace all hardcoded English strings in the wow module with get_string() / get_guild_language() lookups (29 keys)
  • Migrate in-code _NOTIFICATION_STRINGS dict to YAML locale files for consistency with the rest of the i18n system
  • Remove per-command language parameters from /wow armory, /wow guildnews setup, and /wow guildnews edit — the guild language from GuildLanguageConfig is now the single source of truth for both API locale and UI strings
  • Background polls dynamically look up the guild language instead of using the stored per-config Language field
  • Operator-only command (check) stays in English per convention
  • Add 17 new localization tests in tests/modules/test_wow_locale.py

Test plan

  • All 793 tests pass (uv run python -m pytest)
  • ruff check and ruff format --check clean
  • YAML files formatted with prettier

🤖 Generated with Claude Code

Replace all hardcoded English strings in the wow module with
get_string() lookups. Migrate _NOTIFICATION_STRINGS dict to YAML
locale files. Remove per-command language parameters from armory,
guildnews setup, and guildnews edit — the guild language preference
from GuildLanguageConfig is now the single source of truth for both
API locale and UI strings. Background polls dynamically look up the
guild language instead of using a stored per-config Language field.

Co-Authored-By: Claude <noreply@anthropic.com>
@karaktaka karaktaka merged commit 13d37ef into main Feb 22, 2026
6 checks passed
@karaktaka karaktaka deleted the feat/i18n-wow branch February 22, 2026 20:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant