Open MortenHofft opened 1 month ago
We could do this 2 ways.
One string, that takes a param about what entity we are talking about
<FormattedMessage
id="grscicoll.active"
defaultMessage="{noun, select,
institution {active (inst)} coll {active (collection)}
other {active other}
}"
values={{"noun": "institution"}}
/>
output: active (inst)
or having two translation strings grscicoll.activeInstitution
and grscicoll.activeCollections
On russian (and possible other languages) active collection/institution needs to be different. So we need to have two distinct translations