Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

i18n-ui5

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

i18n-ui5

Simplify work with translations in OpenUI5 or SAPUI5 framework. The plugin searches views and source code of project in OpenUI5 or SAPUI5 framework for translation tokens and automatically update translation file used by the framework.

  • 0.4.3
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

i18n-ui5

The tool to check and synchronize i18n messages file from source code of SAPUI5/OpenUI5 application

The tool searches patterns:

  • __("MSGID")
  • getText("MSGID")
  • "{i18n>MSGID}"
  • "{@i18n>MSGID}"

Then activate/deactivate/add messages in/to i18n.properties file which is used for the translations.

Install

	npm install i18n-ui5

Usage

Check current i18n file if contains all messages from source codes. The i18n file is webapp/i18n/i18n.properties by default.

	npx i18n-ui5 --check

Update i18n file by changes in source code.

	npx i18n-ui5 --replace

Use different destination file

	npx i18n-ui5 --replace --destination i18n.properties

Ignore some i18n tokens

	npx i18n-ui5 --ignore SEMANTIC_CONTROL_SAVE_AS_TILE --ignore SEMANTIC_CONTROL_SAVE

To ignore more i18n tokens create .i18nignore file in root of your project and add tokens to the file.

SEMANTIC_CONTROL_SAVE_AS_TILE
SEMANTIC_CONTROL_SAVE

Keywords

FAQs

Package last updated on 19 Nov 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc