[Haskell-cafe] hgettext and cabal

abau abau at imn.htwk-leipzig.de
Sun Aug 15 17:00:03 EDT 2010


Hi,

[1] describes how to use hgettext with cabal. When running "runhaskell
Setup build" this works fine. But "cabal build" says:
Not in scope: `__MESSAGE_CATALOG_DOMAIN__'
Not in scope: `__MESSAGE_CATALOG_DIR__'

[1] says: "__MESSAGE_CATALOG_DOMAIN__ and __MESSAGE_CATALOG_DIR__ are macro
definitions, whose hold configured strings from the Cabal."

Why "cabal build" does not expand these macros?

Thank you.


[1]
http://www.haskell.org/haskellwiki/Internationalization_of_Haskell_programs


More information about the Haskell-Cafe mailing list