Skip to content

Refactor i18n system to support plugins, and be more standard #5409

@BeksOmega

Description

@BeksOmega

Is your feature request related to a problem? Please describe.

Blockly's i18n systtem doesn't easily support translating developers' custom blocks, or plugins. It relies on reassigning properties on the message object, which isn't very safe, testable, etc.

Describe the solution you'd like

Have a more standard i18n solution, that supports outside devs (eg people making blocks or plugins) easily i18ning their creations.

I'm not sure what a "standard i18n solution" but jQuery.i18n might be a good place to start. Someone could also talk to Oppia, and see how they handle things.

Or maybe we stick with the same translateWiki JSON format, and just take that in instead of relying on Blockly.Msg.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions