Skip to Content
Technical Articles
Author's profile photo Fatih Pense

UI5 i18n Extension for VS Code (Open Source)

Previously, I have shared this plugin for WebIDE and for SAP Business Application Studio.

If you use Visual Studio Code as your main editor, now this plugin is also available for you!

Features

This plugin reads every UI5 XML view file and UI5 i18 properties file, cross-checks their usage and shows a nice report in the form of an unsaved file.

In the editor:
View -> Find Command
Alternative: just press F1 or Ctrl+Shift+P

Search for “i18n” and hit enter.

A-ha again! This time “God morgen!” is missing in the Norwegian translation?:

Let’s fix it by adding the key:

Run the command again. And everything is clear now!

Installation

You can use this link or search for the extension:

Conclusion & Further Research

Ronnie gave me the idea for the VS Code plugin. Since the Theia plugin and VS Code extension mechanisms are very similar it was very easy to port.

In general, you can also use VS Code extensions in SAP Business Application Studio. I will document the installation process in my next post. However, for this extension, you have to deploy the Theia edition to SAP BAS. I plan to write about the reason and my development experience.

The GitHub repo of the plugin is the same: https://github.com/mdpgroup/ui5-i18n-plugin

See you in the next post!

Assigned Tags

      4 Comments
      You must be Logged on to comment or reply to a post.
      Author's profile photo Enric Castella Gonzalez
      Enric Castella Gonzalez

      Great plugin.

       

      Thanks!!

      Author's profile photo Fatih Pense
      Fatih Pense
      Blog Post Author

      Hello Enric, thanks for the feedback!

      Regards,
      Fatih

      Author's profile photo Ronnie André Bjørvik Sletta
      Ronnie André Bjørvik Sletta

      Great work Fatih Pense! Thank you for sharing with the community. ??

      Author's profile photo Fatih Pense
      Fatih Pense
      Blog Post Author

      Thanks for your kind words and motivation Ronnie!