Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

AJS.I18n.getText - "Change password" with Javascript

Robin Peters
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.
June 4, 2020 edited

Hi,

we connected Confluence to some external SAML IDP and connected it with an addon.
Now I want to add a "Change Password" button next to the "Edit Profile" button, where the user is forwarded to the IDP change password page. For this, I will display the label of the button in the user selected language setting.

I tried to find the plugin of that string, so I can load it with the AJS.I18n.getText() Javascript snipplet.

I just found it in the language (for example: tac.confluence.languages.de_DE) plugins, but I cant load them through a 500 Server error.
And asking for the language pack will result in the question "how to get the current users language pack".


Maybe my intention is basically wrong:
How can I get the "change password" phrase in the current user language settings with javascript?

 

Best,

Robin

0 answers

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
SERVER
TAGS
atlassian, atlassian government cloud, fedramp, webinar, register for webinar, atlassian cloud webinar, fedramp moderate offering, work faster with cloud

Unlocking the future with Atlassian Government Cloud ☁️

Atlassian Government Cloud has achieved FedRAMP Authorization at the Moderate level! Join our webinar to learn how you can accelerate mission success and move work forward faster in cloud, all while ensuring your critical data is secure.

Register Now
AUG Leaders

Atlassian Community Events