Skip to content

v0.4.4

Choose a tag to compare

@martin-papy martin-papy released this 17 Apr 01:02
c7cd6d8

Internationalization Support

This release adds full i18n support to the CoC7 QoL module. All user-visible strings are now managed through FoundryVTT's translation system.

What's New

  • English and French — Complete translations for all dialogs, buttons, settings, and notifications
  • Automatic localization — UI automatically displays in the user's configured FoundryVTT language
  • Developer-friendly — Helper functions t() and tf() for consistent string handling across modules

Files Included

All runtime files: module.json, scripts/, lang/, styles/

Language Files

  • lang/en.json — 75 English translation keys
  • lang/fr.json — 75 French translations with professional typography

Technical Details

  • Uses FoundryVTT v13+ i18n API (game.i18n.localize, game.i18n.format)
  • Proper handling of module load timing constraints via lazy getters
  • No impact on LLM prompt content (system/user prompts remain hardcoded)

Installation

From FoundryVTT: Go to Settings > Manage Modules > Install Module and use the manifest URL:

https://github.com/martin-papy/coc7-qol/releases/latest/download/module.json

Or download the zip and extract to your Data/modules/ directory.