Feature: i18n infrastructure + Italian translation
Lapce is currently English-only. All UI strings are hardcoded and localization logs show available locales [], current en-US. This prevents non-English speakers from using Lapce comfortably and blocks contributions for new languages.
Introduce i18n using
fluent(already supported by Floem with runtime language switching)Create
locales/en-US.ftlas base locale and move all hardcoded strings thereReplace hardcoded UI text with localized keys
Add language selector in settings
Add
it-IT.ftlas first additional locale, which I can provide and maintainKeeping it English-only: excludes many potential users
Using a custom JSON translation system like other editors: but Floem already supports Fluent, which is standard for Rust projects and handles plurals/gender better
Floem docs on localization: https://github.com/lapce/floem I already contributed Italian locale to Hummingbird (rust project), so I can help with the migration. If maintainers agree, I can start a draft PR for the infrastructure.
Source: lapce/lapce