
In the near future, the scaffolded site will come with message support
built-in. Most likely, this will be a separate module (likely
Messages) that gets imported qualified as Msg. Then you would refer to
Msg.Book instead of Book.
Michael
On Tue, May 10, 2011 at 5:17 PM, Sven Koschnicke (GFXpro)
Hello,
I just tested the I18n support in Yesod, looks very promising! Altough I noticed a small annoyance: There's often the case that you want to provide translations for the names of your models, i.e. Books. You will have a model named Book. When you then try to create a translation "Book" you get an ambiguous occurrence error. I'm sure it is possible to solve it by using namespaces but I'm just starting haskell so I'm not sure how to implement it, also I think the framework should handle this case.
Sven
_______________________________________________ web-devel mailing list web-devel@haskell.org http://www.haskell.org/mailman/listinfo/web-devel