Slowdown when using ICU

When I create a big key with ICU syntax, Crowdin becomes really slow after some unknown quantity of icu-elements in the key. And it doesn’t slow down Crowdin in general, it freezes the platform only when you choose this key and try to do something with it.
The temporary solution was dividing the key into two. But it’s a bad decision.

Key example:
We’ve automatically applied the discount to your {contextTrial, select, day{{countTrial, plural, one{#-day} other{#-day} }} week{{countTrial, plural, one{#-week} other{#-week} }} month{{countTrial, plural, one{#-month} other{#-month} }} year{{countTrial, plural, one{#-year} other{#-year} }} other{{countTrial, plural, one{#-period} other{#-period} }}} trial price. Please note that your subscription will be automatically renewed at the full price of {currencySign}{fullPrice} per {context, select, day{{count, plural, one{# day} other{# days} }} week{{count, plural, one{# week} other{# weeks} }} month{{count, plural, one{# month} other{# months} }} year{{count, plural, one{# year} other{# years} }} other{{count, plural, one{# period} other{# periods} }}} at the end of your trial and will then be continuously renewed every {context, select, day{{count, plural, one{# day} other{# days} }} week{{count, plural, one{# week} other{# weeks} }} month{{count, plural, one{# month} other{# months} }} year{{count, plural, one{# year} other{# years} }} other{{count, plural, one{# period} other{# periods} }}} until you cancel via {domain}

Hi @illia.hohniak!

Thank you for bringing this to our attention! Our tech team is already investigating the issue you’ve described with the platform freezing when selecting and editing a big key with ICU syntax.

We will try to do everything in our force to provide the best solution for this case.

Once we have any news we will let you know as soon as possible!

Hi @Tania ! Do you have some news or recommendations?

Hi @illia.hohniak!

We have created a task for our developers in order to resolve this unexpected behavior. Currently, the possible solution is to divide the string.

Once the fix is provided we will inform you as soon as possible!

Hope for your kind understanding and wish you a nice day :slight_smile:

Hi @Tania. Could you give me some updates or deadlines of this task?

Hi @illia.hohniak,

As far as I can see our developers are working on improvement. The task doesn’t have the exact ETA but we will reach you here as soon as it is done,

Hi @illia.hohniak Could you please confirm that all works well on your side now?

@Ira Have your devs made some changes?

Hi @illia.hohniak !

We have improved the operation of the strings with ICU syntax and now there should be no slowness and delays in the Editor displaying.

You are welcome to test everything from your side!