Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

How make at:i18n use the user locale?

Redlink Management August 22, 2016

I thought at:i18n was taking care of that, but it always uses the default i18n literals.

It's weird, but I only got working the i18n in the plugin xml file (e.g. i18n-name-key), but I may have something wrong in my plugin...

1 answer

0 votes
Alexandra Topoloaga
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.
August 22, 2016

Hi,

Beside the resource tag with the file, you also need a transformation in the web-resource and the component-import.

<transformation extension="js">
    <transformer key="jsI18n"/>
</transformation>
<component-import key="i18nResolver" interface="com.atlassian.sal.api.message.I18nResolver"/>

Hope this helps,

Alexandra

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events