   isoLocale = (locale) ->
     getLangcode(locale) + '_' + getRegioncode(locale).toUpperCase()
 
-  # ====================
-  # Construct Grunt Task
-  # ====================
-
-  Task = ->
-    # Define targets, with unique options and files, for each locale
-    locales.forEach (currentLocale) =>
-      localeDir     = getLocaleDir(currentLocale)
-      localeProps   = getLocaleProps(currentLocale)
-      localizedData = taskConfig.data(currentLocale)
-
-      @[currentLocale] = {}
-
-      @[currentLocale].options =
+  # =======================
+  # Config l10n of Nunjucks
+  # =======================
+
+  locales.forEach (currentLocale) =>
+    localeDir     = getLocaleDir(currentLocale)
+    localeProps   = getLocaleProps(currentLocale)
+    localizedData = taskConfig.data(currentLocale)
+
+    # Define targets, with unique options and files for each locale
+    @config "nunjucks.#{currentLocale}",
+
+      options:
         paths                : taskConfig.nunjucksEnv
         autoescape           : taskConfig.autoescape
         data                 : localizedData


          return data

      @[currentLocale].files =  [
        expand: true
        cwd: taskConfig.files.cwd + '/'
        src: taskConfig.files.src

        rename: (dest, src) =>
          src = if taskConfig.humanReadableUrls.enabled then humanReadableUrl(src) else src
          path.join(dest, src)
      ]