Skip to content

Add support for localizing contributions#2833

Closed
federicobond wants to merge 1 commit into
processing:masterfrom
federicobond:contrib-localization
Closed

Add support for localizing contributions#2833
federicobond wants to merge 1 commit into
processing:masterfrom
federicobond:contrib-localization

Conversation

@federicobond

Copy link
Copy Markdown
Contributor

This pull request allows Contributions to be localized using their own properties files. To do so, they declare support for internationalization like this:

Language.registerContribution("org.mydomain.contribution-x", this);

Later, they can use the Language interface like this:

Language.text("my.key", "org.mydomain.contribution-x");

Note: that I also fixed the UTF8Control inner class that should be static.

I worked on this together with Andrés Adjimann at the Mulesoft Hackathon held yesterday in Buenos Aires.

Edit: Submitted pull request to drifkin/bezier-editor-tool#1 to demonstrate functionality.

@benfry

benfry commented Nov 14, 2014

Copy link
Copy Markdown
Contributor

Thanks; please re-submit based on the rewritten Language handling.

@github-actions

Copy link
Copy Markdown

This pull request has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions Bot locked as resolved and limited conversation to collaborators Jun 15, 2021
@benfry

benfry commented Jan 11, 2022

Copy link
Copy Markdown
Contributor

Further discussion here processing/processing4#237

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants