toonvanstrijp / nestjs-i18n

The i18n module for nestjs.
https://nestjs-i18n.com
Other
656 stars 113 forks source link

Is there a way to set returnEmptyString config? #667

Open HaiAlison opened 1 month ago

HaiAlison commented 1 month ago

I want missing values to fallback to the key in cases where the keys (e.g. got extracted by a code parser) exist in your JSON translation file with empty string as value like

    "message": "farm already taken  before",  <-- missing open in json file

it should be

    "message": "farm already taken open before",