   #       including subdirectories, due to limitation of `node-gettext` for now only last loaded
   #       file will be actually used
   locales.forEach (locale) ->
-
     grunt.file.expand({ cwd: localesDir + '/' + locale, filter: 'isFile' }, '**/*.po').forEach (file) ->
-
       messages = grunt.file.read(localesDir + '/' + locale + '/' + file, { encoding: null })
       i18n.addTextdomain(locale, messages)
 

           * @todo Use global function instead of filter. It's more flexible. For now it's filter
           *       just because it's faster to use and easier replacement for old filter
           * @param {number} value                  Date which should be formatted
           * @param {string} format = '0,0[.]00'    Pattern as per http://momentjs.com/docs/#/displaying/
           * @param {string} locale = currentLocale Locale name
           * @return {string} Formatted date
          ###

  localesDir = grunt.config('path.source.locales')


  # Output or not locale name based on whether it's base locale or not.
  resolveLocaleDir = (loc) ->
    urlify(if loc == baseLocale then '' else loc)
