Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add 2 versions for active/inactive collection/institution #556

Open
MortenHofft opened this issue Apr 2, 2024 · 1 comment
Open

add 2 versions for active/inactive collection/institution #556

MortenHofft opened this issue Apr 2, 2024 · 1 comment
Assignees
Labels
Translation Missing or insufficient translation

Comments

@MortenHofft
Copy link
Member

On russian (and possible other languages) active collection/institution needs to be different. So we need to have two distinct translations

@MortenHofft MortenHofft self-assigned this Apr 2, 2024
@MortenHofft MortenHofft added the Translation Missing or insufficient translation label Apr 2, 2024
@MortenHofft
Copy link
Member Author

MortenHofft commented Apr 3, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Translation Missing or insufficient translation
Projects
None yet
Development

No branches or pull requests

1 participant