Hello, how do I translate this label: admin.issuesettings.statuses.workflows.count in JIRA Core, when there is used numeric choice for plural in this case? Basically, I do not understand the format used:
{0,choice,0#No associated workflows|1#1 associated workflow|1<{0,number} associated workflows}.
Could you give me some hints, please, on how to formulate a version for Slovak, where we have these plural forms: 0, 5+ / 1 / 2-4 ?
Please, and also verify that there is not a bug in the translation string provided. Using it without modification as a translation corrupts the rendering, only "1 associated workflow" is printed then regardless of the count.
Note: the string can be found in Administration / Issues / Issue attributes / Statuses form in a particular column in the list of statuses.
Thank you very much in advance.
The actual solution was this
{0,choice,0#Nepoužitý v žiadnom|1#1 priradený postup|2#{0,number} priradené postupy|5#{0,number} priradených postupov}
It is based on the documentation to the ChoiceFormat.
Can you try
{0,choice,0#No associated workflows|1#1 associated workflow|1<{0,number} associated workflows 2-4|5 associated workflows|5<{0,number} workflows 5+}
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thank you, however, there are some problems with your answer:
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi, Ľudovít, you are right, the section for 5 is missing #5, and the whole section is unnecessary. Maybe you could try the following
{0,choice,0#No associated workflows|1#1 associated workflow|1<{0,number} associated workflows 2-4|4<{0,number} workflows 5+}
The syntax used is the one for MessageFormat and in particular the ChoiceFormat clauses.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Peter, thank you for the clarification. Unfortunately your suggested format did not work either. The ChoiceFormat link is also a bit misleading as it goes to some irrelevant anchor in the page. However, you have helped me to find the solution, so +1 for you
Kindest regards,
Ľudovít
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
The only working solution for me so far is the following boilerplate...
{0,choice,0#Nepoužité v žiadnom|1#1 priradený|2#2 priradené|3#3 priradené|4#4 priradené|5<{0,number} priradených}
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.