Skip to content
Discussion options

You must be logged in to vote

So, the question is: is there any way to define a message with context, without assigning the message id to it manually?

Short answer - no.

Long version:

You got this correctly - there is no sense adding a context if you using a manual ids. And there is no difference if you pass or not pass context when you don't use macro.

The "autogeneration" of id, happened on the macro level. It do it using a formula hash(message + context). If you are not using macro - you don't have id generation. Your id is your message "Right"

The only one way to provide a different translations for the same source message in your case - is manually provide and id.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@MurzNN
Comment options

Answer selected by MurzNN
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants