This is a place to discuss how to adapt mojoPortal to the needs of different cultures. Before asking questions here please first review the localization documentation.
SharedWindowsHosting MySQL mojoPortal 2.3.1.3 - fulltrust
Hi,
I am translating to Polish (pl-PL) and I'm ready with all the *.resx files now :) Testing the translation now, correcting minor things.
I recently deployed test website at http://www.testmojo.top100.net.pl/ and instalation went fine (no errors). I changed admin creds, and went to create new page. Then I added a Blog module to that new page successfully.
But when trying to navigate to that (blog) page I got something like this:
We're sorry but a server error has occurred while trying to process your request. The error has been logged and will be reviewed by our staff as soon as possible. It is possible that the error was just a momentary hiccup and you may wish to use the back button and try again or go back to the home page.
We're sorry but a server error has occurred while trying to process your request.
The error has been logged and will be reviewed by our staff as soon as possible. It is possible that the error was just a momentary hiccup and you may wish to use the back button and try again or go back to the home page.
Log entries for the above:
2009-08-10 12:59:02,963 ERROR mojoPortal.Web.Global - 79.191.244.248-pl-PL - /blog.aspx System.Web.HttpCompileException: e:\helm\www5\testmojo.top100.net.pl\wwwroot\Blog\BlogModule.ascx(55): error CS0122: 'Resources.BlogResources' is inaccessible due to its protection level w System.Web.Compilation.BuildManager.CompileWebFile(VirtualPath virtualPath) w System.Web.Compilation.BuildManager.GetVPathBuildResultInternal(VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile) w System.Web.Compilation.BuildManager.GetVPathBuildResultWithNoAssert(HttpContext context, VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile) w System.Web.Compilation.BuildManager.GetVPathBuildResult(HttpContext context, VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile) w System.Web.UI.TemplateControl.LoadControl(VirtualPath virtualPath) w System.Web.UI.TemplateControl.LoadControl(String virtualPath) w mojoPortal.Web.UI.CmsPage.LoadPage() w mojoPortal.Web.UI.CmsPage.Page_Load(Object sender, EventArgs e) w System.Web.UI.Control.OnLoad(EventArgs e) w mojoPortal.Web.mojoBasePage.OnLoad(EventArgs e) w System.Web.UI.Control.LoadRecursive() w System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) w System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) w System.Web.UI.Page.ProcessRequest() w System.Web.UI.Page.ProcessRequestWithNoAssert(HttpContext context) w System.Web.UI.Page.ProcessRequest(HttpContext context) w ASP.default_aspx.ProcessRequest(HttpContext context) w System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() w System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
where 'w' stands for 'in'. Do I need to ask my ISP for full access rights to App_GlobalResources? or I did something bad to BlogResources.pl-PL.resx file?
This happens even when I have en-US culture in my webbrowser/
Please help, Przemek.
That is a strange error. If you would like to contribute the translation to the project then zip up the .resx files and send to me at joe dot audette at g mail dotcom and I will integrate the files and see if I can reproduce the error.
Best,
Joe
okay, I'm sending the whole .resx pack in a minute.
In the meanwhile, I will try to do a 'clean' instal once again, unzipping MySQL (MSSQL, together with GPL pack to /bin) again and see what happens.
Thanks, Przemek.
Ehem...
I think I must have accidently dropped one of the keys in BlogResources file. My mistake, sorry for that....
Anyway I've sent you corrected file so it should work fine now.
The rest (help and messageTemplates) will be comming shortly (this week). So I will send you complete pack, just as I planned to do :)
Many thanks, Przemek.