Help with hiding language pack when license expires

How can I disable the language pack for service desk? What is the context there?

Here is my code in atlassian-plugin.xml:

  <web-resource name="license resources"  key="license--resources">
    <resource name="i18n-0" type="i18n" location="i18n/sd-i18n"/>
    <resource type="download" name="azPack.css" location="/css/azPack.css"/>
    <resource type="download" name="azPack.js" location="/js/azPack.js"/>
    <condition class="com.softgile.azlangpack.license.ResourceCondition"></condition>
    <context>jira.view.issue</context>
    <context>atl.general</context>
  </web-resource>

Condition works everywhere on Jira, but not on service desk. Is there any specific context or what?

1 Like