Skip to content

Commit

Permalink
Update README
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexander Praschek committed May 27, 2021
1 parent 54986c9 commit 063c037
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 9 deletions.
15 changes: 6 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ To use this plugin in your installation, follow these simple steps:
2. Download the latest release artifact
3. Extract it and put it inside the "resources/plugins" directory relative to your `{APP_DATA_DIRECTORY}` or `{USER_DATA_DIRECTORY}`.
4. Restart the modeler
5. Click Plugins > Choose Language and select the language of your choice
5. Click on the language dropdown in the toolbar and select the language of your choice

## Development

Expand Down Expand Up @@ -80,16 +80,13 @@ If you want to add a new language, follow these steps, after you set up your loc
// ...
```
5. Open the "menu/menu.js" file and add a new entry to it:
5. Open the "config/I18NPlugin.js" file and add a new entry to the language options:
```javascript
// ...
{
label: 'Français',
enabled: () => menuState.bpmn,
action: function () {
electronApp.emit('menu:action', 'language.changed', 'fr');
}
}
const options = [
// ...
{value: 'fr', label: 'Français'}
]
// ...
```
6. Create a pull request to this repository and help us with adding new languages and improving the existing ones! :)
Expand Down
Binary file modified img/screenshot.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 063c037

Please sign in to comment.