             if result then result else grunt.log.error('[getPage] can\'t find requested `' + subbedPath + '` inside specified object')
 
           ###*
-           * Log specified to Grunt's console for debug purposes
-           * @param {*} variable Anything we want to log to console
-           * @return {string} Logs to Grunt console
-          ###
-          env.addGlobal 'log', (variable) ->
-            console.log(variable)
+          * Load string from current locale
+          * @note So far `sprintf` support only named placeholders
+          * @param  {string} string  String, which should be loaded
+          * @param  {object} ph = {} Values, which will be inserted instead of placeholders
+          * @return {string} Translated string into current locale
+          ###
+          env.addGlobal '_t', (string, ph = {}) ->
+            sprintf(i18n.dgettext(currentLocale, string), ph)
+
+          ###*
+           * Load string from specified locale
+           * @note So far `sprintf` support only named placeholders
+           * @param  {string} locale = currentLocale Locale, from which string should be loaded
+           * @param  {string} string                 String, which should be loaded
+           * @param  {object} ph     = {}            Values, which will be inserted instead of placeholders
+           * @return {string} Translated string into specified locale
+          ###
+          env.addGlobal '_dt', (locale = currentLocale, string, ph = {}) ->
+            sprintf(i18n.dgettext(locale, string), ph)
+
+          # =======
+          # Filters
+          # =======
 
           ###*
            * Replaces last array element with new value

            array

          ###*
           * Get list of files or directories inside specified directory
           * @param {string}               path    = ''             Path where to look
           * @param {string|array[string]} pattern = '** /*'         What should be matched
           * @param {string}               filter  = 'isFile'       Type of entity which should be matched
           * @param {string}               cwd     = buildDir + '/' Root for lookup
           * @return {array} Array of found files or directories
          ###
          env.addGlobal 'fileExpand', (path = '', pattern = '**/*', filter = 'isFile', cwd = buildDir + '/') ->
            files   = []
            grunt.file.expand({ cwd: cwd + path, filter: filter }, pattern).forEach (file) ->
              files.push(file)
            files

          ###*
           * Replace placeholders with provided values

        autoescape: false
        data:  '<%= data %>'
        configureEnvironment: (env) ->
          # ==========
          # Extensions
          # ==========

          ###*
           * Nunjucks extension for Markdown support
