On a site I am working on, we have Lingua and we have some processes that use the renderResources extra. They don’t work perfectly together, specifically related to standard placeholders like [[*pagetitle]].
Rendering a page with its standard template, the [[*pagetitle]] is correctly substituted with the language-appropriate page title. However, using renderResources, the [[*pagetitle]] placeholder renders in English instead of in the desired language. The [[*content]] placeholder is rendering correctly.
It’s possible (but not guaranteed) that I am somehow doing something in my code before calling renderResources to cause the problem, but I haven’t been able to locate the issue.
After going through both the MODX and the Lingua code, I can’t figure out how Lingua is causing [[*pagetitle]] to render correctly in the normal case, so I can’t troubleshoot effectively.
Any thoughts, tips, advice?