-
Notifications
You must be signed in to change notification settings - Fork 0
feat: internationalization support (i18n — IT/EN) #127
Copy link
Copy link
Open
Labels
area:coreminorIncrements the minor version when adding new functionality in a backward-compatible manner.Increments the minor version when adding new functionality in a backward-compatible manner.priority:P2Medium priorityMedium prioritystatus:readyReady to be implementedReady to be implementedtype:featureNew user-facing featureNew user-facing feature
Metadata
Metadata
Assignees
Labels
area:coreminorIncrements the minor version when adding new functionality in a backward-compatible manner.Increments the minor version when adding new functionality in a backward-compatible manner.priority:P2Medium priorityMedium prioritystatus:readyReady to be implementedReady to be implementedtype:featureNew user-facing featureNew user-facing feature
Summary
Add internationalization support to the Studio UI, starting with Italian (current default) and English.
Motivation
The UI is entirely in Italian. Adding English opens the project to an international audience of digital humanists, librarians, and researchers. The i18n infrastructure also enables future languages.
Proposed approach
translations/it.json,translations/en.json.t(key)helper function available in all FastHTML/Jinja templates.Acceptance criteria
Technical notes
tfunction to template context, uset("key")in templates.gettextif preferring standard tooling.library.search.placeholder,studio.ocr.button, etc.scripts/extract_strings.pyhelper to find untranslated hardcoded strings.