Trigger fallback when value is emptry
See original GitHub issueI use BabelEdit for managing my locale json files. A new item gets added to all json files. Good! But that makes it very likely the editor forgets to add a translation.
In that case $t('some.nested.value')
will return an empty string.
Is it possible to force nuxtI18n to use a fallback instead?
Issue Analytics
- State:
- Created 3 years ago
- Reactions:1
- Comments:5
Top Results From Across the Web
How can I trigger a callback when an object attribute is ...
If I'm not mistaken calling myClass.sum will return the total of values in the array held under the a attribute. Share.
Read more >Advanced Callbacks | Dash for Python Documentation | Plotly
It is empty when the callback is called on initial load, unless an Input prop got its value from another initial callback.
Read more >Callback initialization with None vs default properties #468
Passing undefined properties as None into the callbacks is actually a little problematic: Empty Value. In many components, None isn't ...
Read more >Create Callbacks for Graphics Objects - MATLAB & Simulink
This structure is empty for many graphics object callbacks. Whenever a callback executes in response to a user action, MATLAB ® calls the...
Read more >Twilio Function Execution
To signal success and return a value, pass a falsy value such as null or undefined as the first parameter to callback ,...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
It seems like
BabelEdit
has an option to not save empty translations.😢