Open mariakatsourani opened 5 years ago
IMHO there should be separate option for Trans. E.g. I am not using natural keys and that means that defaultValue for t is preferred but defaultValue for Trans is not. If I were using natural keys I would like your desired behavior.
Any news on this? I also think the defaultValue should be respected. If not any language will have a default value which is wrong (the english one) instead of the desired. Also, the fallbackKey
option should only affect key, not values.
I would be available to propose a PR but I need some guidance through the code, or at least to know where to look at.
Are there any updates for this?
I also have not succeeded in getting an empty defaultValue
for languages other than English (or whatever the source language is set to). I've tried multiple ways, even using a customTransform
, to no avail...
Version
Configuration
Expected: to get an empty string in all languages other than English Result: the same english string is used in all languages
Here is a PR #103 where I 've added a failing test for this case.