@inlang/plugin-sap-ui5
v0.1.0
Published
This plugin provides the integration for [SAP UI5](https://sdk.openui5.org/) into the Sherlock Visual Studio Code extension. It allows you to extract messages from your code, view them inline in the text editor, and get lints for your messages.
Downloads
1
Readme
Introduction
This plugin provides the integration for SAP UI5 into the Sherlock Visual Studio Code extension. It allows you to extract messages from your code, view them inline in the text editor, and get lints for your messages.
Match examples:
{i18n>message}
getResourceBundle().getText('message')
{{ message }}
Usage
The plugin automatically extracts messages from your code and shows them inline in the editor. You can then click on the message to open the web editor and translate the message.
- Install the Visual Studio Code extension (Sherlock)
- Storage plugin: Select a storage plugin, e.g. JSON or use the possibility of writing your own plugin.
- Matcher plugin: Install this plugin (or copy the link below to your project settings)
- ✨ See your messages appear inline in the editor
There might be a delay before the messages appear in the editor. This is because the plugin needs to be downloaded first. If you want to ensure everything is setup correctly, reload your workspace.
Manual installation
// project.inlang/settings.json
{
"modules" : [
+ "https://cdn.jsdelivr.net/npm/@inlang/plugin-sap-ui5@latest/index.js"
]
}
Is something unclear or do you have questions? Reach out to us in our Discord channel or open a Discussion or an Issue on Github.