Skip to content

VoiceStudio is the open-source, fully-local ElevenLabs alternative — voice cloning, voice design, video dubbing, dictation, transcription & audiobook creation in 646 languages.

854 B
Raw Blame
# i18n spec — localization structural integrity (CLAUDE.md hard rule).
#
# Actor: read electron/src/shared/i18n/locales/*.json. The test supplies locales_dir.
#
# Gates only on valid JSON. Orphan-key detection and coverage are ADVISORY: the
# repo currently has real orphan keys (non-en locales carry gallery.cat_* and
# bootstrap.lines keys absent from en) — surfaced here without blocking the suite,
# since fixing the en locale is a product change, not a harness change.

feature: localization
layer: i18n

steps:
  - actor: fs
    read: electron/src/shared/i18n/locales/*.json
    capture: { locales_dir: $.locales_dir }

judge:
  checks:
    - locale_valid_json: { locales_dir: $.locales_dir }

advisory:
  - locale_no_orphan_keys: { locales_dir: $.locales_dir, reference: en }
  - locale_coverage: { locales_dir: $.locales_dir, reference: en }