diff --git a/lib/app/middleware/mojito-combo-handler.js b/lib/app/middleware/mojito-combo-handler.js index 9fb05396b..d6fe71e8c 100644 --- a/lib/app/middleware/mojito-combo-handler.js +++ b/lib/app/middleware/mojito-combo-handler.js @@ -49,7 +49,7 @@ var libfs = require('fs'), REGEX_LANG_TOKEN = /\"\{langToken\}\"/g, REGEX_LANG_PATH = /\{langPath\}/g, - REGEX_LOCALE = /\_([a-z]{2}-[A-Z]{2})$/, + REGEX_LOCALE = /\_([a-z]{2}(-[A-Z]{2})?)$/, DEFAULT_HEADERS = { '.js': {