How to display and debug i18n key within running application?

ChangJoon Lee
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
March 30, 2013

Hi,

As you can see the description of Plugin SDK page,

https://marketplace.atlassian.com/plugins/atlassian-plugin-sdk-deb/version/65

  • Boot standalone product versions for testing and/or development.
  • Generate project code quickly and easily.
  • Reload plugin changes without the need to restart an application.
  • Display and debug i18n keys within a running application.

As you can see above, there is an item for live i18n key finder feature.

How do I do this?

Should I add some module or options when I run {{atlas-run}} or {{atlas-run-standalone}}?

Any suggestion would be helpful.

Purpose of doing this

I am trying to get i18n keys for Confluence from the actual screen.

There is a good tool, called IPT for JIRA, but there is none for Confluence.

(For IPT, https://marketplace.atlassian.com/plugins/com.atlassian.translations.jira.inproduct)

If I can get keys, I will use translate in TAC(translate.atlaasian.com)

Thank you!

1 answer

1 accepted

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

Post a new question

2 votes
Answer accepted
resah
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
March 30, 2013

Hi,

starting a confluence instance via plugin sdk, take a look at the screen:

In the lower left corner you should find an arrow. Click it and a bar with some developer helpers will open. There's an icon with a flag, which will do nothing more than adding a URL parameter to display l18n keys. But you can do this manually, too:

&i18ntranslate=on

Regards

Theresa

ChangJoon Lee
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
March 30, 2013

Oh, I am sorry I was out of mind.

Yes you are right, it starts with ? but if you more than one parameter, it should be &.

:)

To Translators,

&i18ntranslate=on or ?18ntranslate=on confirmed as working on JIRA 5.2.8 and Confluence 5.1

ChangJoon Lee
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
March 30, 2013

Thank you!

A link from dev tool was buggy.

It didn't send me to proper link, it sent me to "confluence/(currentPage)?i18ntranslate=on", instead of "http://(local)/confluence/....", it was missing baseURL.

For everyone else, it was ? not & at the end of URL.

?i18ntranslate=on

To Translators,

You don't need Plugin SDK, it worked on production server without SDK.

http://yourserverer:8090/dashboard.action?i18ntranslate=on

Have a gread day!

TAGS
AUG Leaders

Atlassian Community Events