Skip to Content

Do you have big i18n property files?
Do you want to check if there is a missing translation with a click of a button?
…without leaving the convenient Web IDE?

Then, this plugin is for you!

 

Features

It detects the current project(the project of the currently open file or selected file).

It searches XML views for i18n usage. So, it doesn’t just compare properties with each other, giving you peace of mind.

You can use it from tools menu:

A-ha! “Bonjour!” is missing in the French translation:

We fix it:

Everything is OK now:

The plugin assumes there is only one property file for each language. If you have different project structures please give feedback.

Any feedback regarding features and UI is welcome!

Installation

Create a destination:

If URL changes in the future I will update it here. You can also save this configuration as a text file and you can use “Import Destination” feature.

Name=i18n-helper
URL=https\://i18nhelper-p732728trial.dispatcher.hanatrial.ondemand.com
ProxyType=Internet
Type=HTTP
WebIDEEnabled=true
Authentication=NoAuthentication
WebIDEUsage=feature

Settings > Plugins > Repository “Features” > Enable the plugin > Save

Then there will be a new menu item Tools > I18n Helper > Compare Properties

Source Code

2 years ago, I have developed a similar tool for command line here.

However, I have observed that most of the UI5 development happens only in Web IDE. It has proven itself to be the go-to tool for UI5 developers. Also, the plugin development seems fun. I think the community can benefit a lot from community-developed plugins.

Plugin specific code is in plugin directory in this GitHub repo:

https://github.com/fatihpense/webide-i18n-plugin

Thanks

Web IDE team for the SDK Web Site and help. (sapwebide@sap.com)

Daniel Wroblewski and Jim Jaquet for the tutorials.

Wouter Lemaire for informative blog posts.

And thanks for reading!
Fatih

To report this post you need to login first.

6 Comments

You must be Logged on to comment or reply to a post.

    1. Fatih Pense Post author

      Thank you for the detailed issue feedback and kind words, Gregor!

      It is really motivating to see the usage and benefit of the plugin!

      Best regards,
      Fatih

      (0) 
    1. Fatih Pense Post author

      Hi Sharath,

      Thank you for the kind words!

      Also, If you need help regarding plugin development, you can message me from community profile for further communication.

      Best regards,
      Fatih

      (1) 
  1. Andreas Mayer

    Great Work.

    If I check the connection, I get the following error:

    Connection to “i18n-helper” established. Response returned: “404: Not Found”

     

    Best regards

    (0) 

Leave a Reply