Link Search Menu Expand Document

Messages.setFallback() method

Set the fallback locale or locales for lc

Signature:

setFallback(lc: string, fallback: string[] | null): this;

Parameters

Parameter Type Description
lc string  
fallback string[] | null  

Returns:

this

Remarks

To disable fallback for the locale, use setFallback(lc, []). To use the default fallback, use setFallback(lc, null).