Any way to translate the whole MPS?

Hi All,

I'm developing a DSL for my Chinese customers using MPS, and my customers want an IDE in Chinese rather than English. So I have to translate MPS.

I have successfully translated many strings in resource_en.jar into Chinese. But I also found that many strings are hardcoded in the source, for example, the errors offered by typesystem. I wonder if there is a way to translate these strings?  Can someone help me, please?

Any help would be appreciated. 

0
3 comments

You can manually add/install this plugin to MPS so at least general part of IDE will be in Chinese.

With hardcoded parts - this should be implemented by MPS Team.

The only quicker way to replace hardcoded strings is to patch MPS sources and build it with this patch + use mentioned plugin for other parts (that are downloaded to lib folder on sources).

0

Hi Victor Matchenko,

Thanks for your answer. But it's a pity that the plugin you mentioned cannot be installed to MPS. It says "Compatible with IntelliJ IDEA, AppCode, CLion, DataGrip, GoLand, PhpStorm, PyCharm, RubyMine, WebStorm" and MPS is not included. So I manually add a resource jar into the lib folder. Is there any way to make the plugin compatible with MPS ?

0

You can still download and install plugin.zip manually. It will work)

0

Please sign in to leave a comment.