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

Modifier for variables (named interpolation) #2143

Open
3 tasks done
MickL opened this issue Mar 23, 2025 · 0 comments
Open
3 tasks done

Modifier for variables (named interpolation) #2143

MickL opened this issue Mar 23, 2025 · 0 comments
Labels
Status: Proposal Request for comments

Comments

@MickL
Copy link

MickL commented Mar 23, 2025

Clear and concise description of the problem

Can modifiers only be used for linked messages? Or can they also be used for named interpolation?

I tried:

title: `Hello, @.lower:{type} are really cool!`,

Which should result in:

t('title', { type: 'Shoes' });
// -> `Hello, shoes are really cool!`

Suggested solution

  • If it is possible, could you please update the docs or explain how so I can make a PR?
  • If it is not possible, please consider this as a feature request

Alternative

No response

Additional context

No response

Validations

@MickL MickL added the Status: Proposal Request for comments label Mar 23, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Status: Proposal Request for comments
Projects
None yet
Development

No branches or pull requests

1 participant