You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
But since there is no way to define the defaults in the i18next-extract-mark-context-next-line directive, what I get is:
labe_type1: "",
label_type2: "",
label_type3: ""
This means that each time I run extraction, my English dictionary gets overwritten for these keys with empty values.
I need a way to define the expected defaults also in the i18next-extract-mark-context-next-line directive
Possible solution is to allow the directive to be written like this:
I have the following tranlation in code:
There are 3 possible labels here, dependent on "type" prop.
When I run i18n-extract I need to translations json to have this entry:
But since there is no way to define the defaults in the
i18next-extract-mark-context-next-line
directive, what I get is:This means that each time I run extraction, my English dictionary gets overwritten for these keys with empty values.
I need a way to define the expected defaults also in the
i18next-extract-mark-context-next-line
directivePossible solution is to allow the directive to be written like this:
or something to that effect (whatever fits best the current comment scheme.
The text was updated successfully, but these errors were encountered: