[NEW RELEASE] sonar-l10n-zh-tw-plugin-1.0

Hi, all,

I would like to add the sonar-l10n-zh-tw Plugin to your market place.

Short description: Traditional Chinese translation pack for SonarQube.

SonarQube compatibility: 7.0 and higher

Link to SonarCloud project dashboard: https://sonarcloud.io/dashboard?id=timlee_sonar-l10n-zh-tw

Link to PR: https://github.com/SonarSource/sonar-update-center-properties/pull/71

Download URL: https://github.com/timlee/sonar-l10n-zh-tw

Release notes: https://github.com/timlee/sonar-l10n-zh-tw/releases/tag/v1.0

  • It is the first release of the plugin, please add the plugin to the Plugin Library page.
    Thank you!

Tim Lee

Hi Tim,

Welcome to the community and congrats on your plugin!

I’m sorry but I have to ask a dumb question. There’s already a well-maintained Chinese localization plugin in the Marketplace. What’s the difference from a user perspective between it and yours?

Also, so you know, I’ll be out of pocket for the beginning of next week and probably catching up for the end, so it will be a while before I get back to you on this topic.


Hi, Ann,

Thank you for your reply.

Traditional Chinese is used by the people in Taiwan, Hong Kong, Macau and overseas Chinese communities. The already existing Chinese localization plugin contains Simplified Chinese used in China, Singapore and Malaysia.
In Taiwan, there are many companies and developers like and use SonarQube, so I created a Traditional Chinese Language Pack for SonarQube.

Please see the links below for clarification.

https://en.wikipedia.org/wiki/Language_localisation for “Examples of language tags”

Tim Lee


HI, Ann,
I had asked this question serveral years ago. SonarQube team answered that sonarQube didn’t support zh_CN (Language,Culture)_(Region), The only support l10n format is zh (Language, Culture).

My first commit is sonar-l10n-plugin-zh_CN.jar, then I change the file name to sonar-l10n-plugin-zh.jar.

Does SonarQube support the ‘zh_CN’ format l10n right now?



To be transparent on this, I’m holding off on moving forward with this plugin until I have an answer to @xuhuisheng’s excellent question. The evaluation step for a i18n plugin is super-simple, so depending on the answer this could move quite quickly after that.


Hi, Ann,

Thank you for your reply and also thanks to xuhuisheng’s effort on the Simplified Chinese Language plugin.
Hope SonarQube can support the Traditional Chinese Language later.


Hi guys,

I’ve requested changes to the PR. Other than that it looks good except that I would like to see a small change to the plugin description before I add the plugin to the marketplace.

After a little internal investigation, we’ve learned this:

The backend API is designed to support the official bcp47 standard : https://tools.ietf.org/html/bcp47. The internal representation is the Java class Locale, which is compliant with this standard. We then look for a translation file matching the locale.

But tests show that the API can only find the (Language,Culture) part. The region is ignored. Looks like a bug.

The plugin proposed is working because it provides both core_zh.properties and core_zh_tw.properties files. They are identical, and the zh_tw file is ignored.

So first the “Looks like a bug” part: I sense no enthusiasm on our side to pursue this. So let’s not hold our collective breath.

Next I asked myself if this was a breaking / blocker bug. What happens if I have both l10n-zh plugins installed? I found that the server loaded fine and web pages were rendered as expected. So then I turned on localization in my browser. I got this:

You guys will have to tell me which version I’m looking at. :joy:

So! Since there’s no apparent conflict (probably just first-loaded-wins) between this new plugin and the extant one, I don’t see a barrier to Marketplace entry. However, since this comes down to the user being careful about which l10n plugin she chooses, I request @Tim that you update your plugin description to reflect that it is not compatible with the “Chinese Pack” (that’s the description that shows up in the Marketplace), re-release, and update your PR accordingly. Feel free to expand on the incompatibility in your documentation. Or not. @xuhuisheng, whether or not you want to add a note about not being compatible with your plugin is up to you, since you got here first. :smile:

And thanks to both of you for your continued efforts to bring SonarQube to a wider audience!


Hi Tim,

I need a few more changes in your PR.

FYI I’m out of the office for Thanksgiving next week. See you in December!


Hi Ann,

Thank you for your help with this plugin.

This is a Simplified Chinese version. I think it might be first-loaded-wins. :smile:

I have updated the plugin description to reflect that it is not compatible with the “Chinese Pack”, re-release and update the PR accordingly.
Please see if there are any problems. Thank you.

Happy Thanksgiving and see you in December!


Hi Tim,

Your PR updates caught me before I left. I approved & merged, but it seems that your URLs were both wrong. Shame on me for not checking them. I’ve updated and now the publish job succeeds. So…

Congrats, you’re in!

And please double-check next time. I certainly will. :wink:


1 Like

Hi, i tracked the issue here. Hopefully it will be tacked in a hardening sprint. You can watch the ticket to get notified of progress.

1 Like

Hi, Pierre,

Thank you for your information.
I will watch the ticket to get notified of progress.


Hi, Ann,

Thank you for letting me in!
It’s my first time to release a plugin. I certainly will double-check next time.:wink:
Happy Thanksgiving!


1 Like