Open alexgarel opened 2 weeks ago
@alexfauquette, @VaiTon I would appreciate your insights on that (if you have some ;-))
What I usually see is a localeText
object:
The object can either be set globally (defined once for the entire app) or locally (defined for only one component
Its value can either be string for fixed translation. For example: { nextPage: "Page suivante" } or functions { currentPage: (pageNumber) => page numéro ${pageNumber}
}
i18n for lit.dev https://lit.dev/docs/localization/overview/
Being compatible with crowdin is useful, see https://support.crowdin.com/supported-formats/
What