Closed ajbeaven closed 6 years ago
Oh, and running i18n in debug showed output for the HttpContext.ParseAndTranslate
translation but nothing for the others.
Static file compression is turned off, though it shouldn't affect the specific translations I'm trying to see as they're coming through from SignalR.
Hmm, I think the issues I'm experiencing are due to the change in #334.
I've been using i18n for a while and it has been great. I'm now wanting to add i18n integration to a second website project inside the same solution.
i18n.PostBuild is set up on the
Web
project, withDirectoriesToScan
set to the root solution folder; nuggets from all projects end up in the generated.pot
file. I was hoping to have the second project,Chat
, simply reference the first project's locale files.Unfortunately the responses handled by
Chat
come through with the nugget markup visible, so something somewhere is broken. When I useHttpContext.ParseAndTranslate
nuggets are successfully translated. There was no change when I copied theWeb
locale folder toChat
and referenced that as theLocalDirectory
.The
Web
project does not use OWIN butChat
does.Chat
uses SignalR.Here are my config files for the
Chat
project.Startup.cs
Global.asax
Web.config
Any suggestions? Is the OWIN integration confirmed to be working as it should? Presumably this scenario with multiple projects is supported?