coderifous / jquery-localize

a jQuery plugin that makes it easy to internationalize your web site.
465 stars 142 forks source link

default fallback #100

Open davidhealey opened 6 years ago

davidhealey commented 6 years ago

Is there a simple way to set the default/fallback language file to use. For example if the user sets their browser to German but there isn't a German language file I would like it to use the English language file. A lot of my page content is loaded dynamically using the $.localize.data object.

Basically what I need is someway to say, if there is no German file use the English one.