Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>ui5-i18n-helperNew to Visual Studio Code? Get it now.
ui5-i18n-helper

ui5-i18n-helper

Italo Naia

|
2,284 installs
| (0) | Free
Helper to verify I18N on SAPUI5/OPENUI5 App
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Extension ui5-18n-helper

Icon

This extension help with the translation in OpenUI5 or SAPUI5 applications. Extensions searches on view and souce code of project for translations tokens and automatically update the translation file.

It was based on the gulp plugin gulp-i18n-ui5.

Usage

Open the command bar (CTRL+SHIFT+P) and choose one of the commands

  • UI5 I18N> Verify I18N Tokens in entire Project - This command search all code for Tokens to Add/Activate/Deactivate
  • UI5 I18N> Verify I18N Tokens on focused Editor - This command search only the file of focused Editor for Tokens to Add/Activate Usage

Extension Config

  • Path to I18N file:

default: "src/i18n/i18n.properties"

  • Default translation text for new tokens, if empty default translation will be the token

default: ""

  • Glob pattern to search files

default:

    "**/*.js"
    "manifest.json"
    "**/*.xml"
    "**/*.html"
  • Pattern for *.HTML and *.XML files

default:

    "'i18n>([^']+)'"
    "\\{i18n>([^}]+)\\}"
    "\\{@i18n>(@[^}]+)\\}"
  • Pattern for *.JSON files

default:

    "\\{\\{([^}]+)\\}\\}"
    "\\{@i18n>([^}]+)\\}"
  • Pattern for *.JS files

default:

    "(?:getText|__)\\([\"'](https://github.com/ibnbr/ui5-i18n-helper/blob/HEAD/[^\"']+)[\"']"
    "(?:nGetText)\\([\"'](https://github.com/ibnbr/ui5-i18n-helper/blob/HEAD/[^\"']+)[\"'], *[\"'](https://github.com/ibnbr/ui5-i18n-helper/blob/HEAD/[^\"']+)[\"']"

TODO

  • Ignore Tokens in commented Source
  • Option to delete token instead of deactivate
  • And More???
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft