           ###
           env.addGlobal 'dpgettext', (domain = currentLocale, context, string) ->
             domain = if domain.charAt(0) == ':' then currentLocale + domain else domain
-            i18n.dpgettext(domain, context, string)
+            gettext.dpgettext(domain, context, string)
 
           ###*
           * Load plural string of specific context from current locale

          * @return {string} Translated string into current locale
          ###
          env.addGlobal 'gettext', (string) ->
            i18n.dgettext(currentLocale, string)

          ###*
           * Load string from specified domain

          ###
          env.addGlobal 'dgettext', (domain = currentLocale, string) ->
            domain = if domain.charAt(0) == ':' then currentLocale + domain else domain
            gettext.dgettext(domain, string)

          ###*
          * Load plural string from current locale
