funktionswerk / hapi-i18n

Translation module for hapi based on mashpie's i18n module
MIT License
39 stars 22 forks source link

Cancel 404 if lang is not found #19

Open throrin19 opened 7 years ago

throrin19 commented 7 years ago

Hi, I think it's good to add an option to cancel the ntFound error if locale is not found and return the default locale.

Like with the Parameter returnDefaultOnError : true ?