Skip to content

Add support for translations without gettext #3715

@ogoffart

Description

@ogoffart

We need to support user changing translations through the interface, as well as translation on platform that do not have gettext (MCU)

The idea would be somehow to have API to provide a translator.

Perhaps we can re-use an interface similar to https://docs.rs/tr/latest/tr/trait.Translator.html
and have a global setter to set it. That setter would mark all translated string as dirty.

( This should also help for #3307 )

Metadata

Metadata

Assignees

No one assigned

    Labels

    a:tool classes & property systemruntime core classes (SharedVector,SharedString) and property system (mO,bS)apiChanges or additions to APIs

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions